[FIX] mrp: Explicitely label by-products

In this commit,  replaced label string 'Finished Products' to 'By-Products'
inside the work order form view. It's more readable and useful to the user

task-2058431

closes odoo/odoo#36343

Signed-off-by: Arnold Moyaux <amoyaux@users.noreply.github.com>
This commit is contained in:
Bhavita Bhatt
2019-09-24 08:24:23 +00:00
committed by Arnold Moyaux
parent 60f03666ab
commit 42834e4eb3
+1 -1
View File
@@ -170,7 +170,7 @@
<field name="move_id" invisible="1"/>
</tree>
</field>
<h4 attrs="{'invisible': [('finished_workorder_line_ids', '=', [])]}">Finished Products</h4>
<h4 attrs="{'invisible': [('finished_workorder_line_ids', '=', [])]}">By-Products</h4>
<field name="finished_workorder_line_ids" attrs="{'invisible': [('finished_workorder_line_ids', '=', [])], 'readonly': [('state', 'in', 'cancel', 'done')]}">
<tree editable="bottom" create="0" delete="0">
<field name="product_id"/>