[FIX] mrp,stock: UI fixes
Purpose of this commit to fix the UI in Manufacture app.
So, in this commit done following changes As suggested in Task:
- Able to expand next activity column of MO list view
- Added tooltip of default capacity field on work center
- Added quantity tooltip of BOM
TaskID - 2689994
closes odoo/odoo#95315
X-original-commit: 463a81eb325f624e8947f1b3444947f8ba1dc24b
Related: odoo/enterprise#29113
Signed-off-by: Tiffany Chang <tic@odoo.com>
This commit is contained in:
+10
-3
@@ -1494,9 +1494,9 @@ msgstr ""
|
||||
#. module: mrp
|
||||
#: model:ir.model.fields,help:mrp.field_mrp_workcenter__default_capacity
|
||||
msgid ""
|
||||
"Default number of pieces that can be produced in parallel. In case the work "
|
||||
"center has a capacity of 5 and you have to produce 10 units on your work "
|
||||
"order, the usual operation time will be multiplied by 2."
|
||||
"Default number of pieces (in product UoM) that can be produced in parallel (at the same time) at this work center. "
|
||||
"For example: the capacity is 5 and you need to produce 10 units, then the operation time listed on the BOM will "
|
||||
"be multiplied by two. However, note that both time before and after production will only be counted once."
|
||||
msgstr ""
|
||||
|
||||
#. module: mrp
|
||||
@@ -3055,6 +3055,13 @@ msgstr ""
|
||||
msgid "Number of pieces that can be produced in parallel for this product."
|
||||
msgstr ""
|
||||
|
||||
#. module: mrp
|
||||
#: model:ir.model.fields,help:mrp.field_mrp_bom__product_qty
|
||||
msgid ""
|
||||
"This should be the smallest quantity that this product can be produced in. "
|
||||
"If the BOM contains operations, make sure the work center capacity is accurate. "
|
||||
msgstr ""
|
||||
|
||||
#. module: mrp
|
||||
#: model:ir.model.fields,field_description:mrp.field_mrp_production__mrp_production_source_count
|
||||
msgid "Number of source MO"
|
||||
|
||||
@@ -43,7 +43,8 @@ class MrpBom(models.Model):
|
||||
byproduct_ids = fields.One2many('mrp.bom.byproduct', 'bom_id', 'By-products', copy=True)
|
||||
product_qty = fields.Float(
|
||||
'Quantity', default=1.0,
|
||||
digits='Unit of Measure', required=True)
|
||||
digits='Unit of Measure', required=True,
|
||||
help="This should be the smallest quantity that this product can be produced in. If the BOM contains operations, make sure the work center capacity is accurate.")
|
||||
product_uom_id = fields.Many2one(
|
||||
'uom.uom', 'Unit of Measure',
|
||||
default=_get_default_product_uom_id, required=True,
|
||||
|
||||
@@ -32,7 +32,7 @@ class MrpWorkcenter(models.Model):
|
||||
help="Description of the Work Center.")
|
||||
default_capacity = fields.Float(
|
||||
'Capacity', default=1.0,
|
||||
help="Default number of pieces that can be produced in parallel. In case the work center has a capacity of 5 and you have to produce 10 units on your work order, the usual operation time will be multiplied by 2.")
|
||||
help="Default number of pieces (in product UoM) that can be produced in parallel (at the same time) at this work center. For example: the capacity is 5 and you need to produce 10 units, then the operation time listed on the BOM will be multiplied by two. However, note that both time before and after production will only be counted once.")
|
||||
sequence = fields.Integer(
|
||||
'Sequence', default=1, required=True,
|
||||
help="Gives the sequence order when displaying a list of work centers.")
|
||||
|
||||
@@ -20,7 +20,7 @@
|
||||
<field name="product_id" readonly="1" optional="show"/>
|
||||
<field name="lot_producing_id" optional="hide"/>
|
||||
<field name="bom_id" readonly="1" optional="hide"/>
|
||||
<field name="activity_ids" string="Next Activity" widget="list_activity" optional="show" nolabel="1"/>
|
||||
<field name="activity_ids" string="Next Activity" widget="list_activity" optional="show"/>
|
||||
<field name="origin" optional="show"/>
|
||||
<field name="user_id" optional="hide" widget="many2one_avatar_user"/>
|
||||
<field name="components_availability_state" invisible="1" options='{"lazy": true}'/>
|
||||
|
||||
Reference in New Issue
Block a user