[FIX] mrp: ui improvement

- set monetary widget to align foat field with other monetary fields
  - use default production order in the list view to have the same order
    everywhere.

Task: 2991906
X-original-commit: 38b82230b75f972a7da5d4c53ea1a4c7359cd913
Part-of: odoo/odoo#103055
This commit is contained in:
William Henrotin
2022-10-26 15:06:51 +02:00
parent 693511076d
commit b71d3fa1c1
2 changed files with 2 additions and 2 deletions
+1 -1
View File
@@ -6,7 +6,7 @@
<field name="name">mrp.production.tree</field>
<field name="model">mrp.production</field>
<field name="arch" type="xml">
<tree string="Manufacturing Orders" default_order="priority desc, date_planned_start desc" multi_edit="1" sample="1" decoration-info="state == 'draft'">
<tree string="Manufacturing Orders" multi_edit="1" sample="1" decoration-info="state == 'draft'">
<header>
<button name="button_plan" type="object" string="Plan"/>
<button name="do_unreserve" type="object" string="Unreserve"/>
+1 -1
View File
@@ -374,7 +374,7 @@
<group string="Costing Information" name="costing">
<label for="costs_hour"/>
<div id="costs_hour">
<field name="costs_hour" class="oe_inline"/> per workcenter
<field name="costs_hour" widget="monetary" class="oe_inline"/> per workcenter
</div>
</group>
<group>