[IMP] mrp : BoM of type kit improvement.

- Hide operation as well as menufacturing readiness when bom type is kit also make help message user friendly.

Task : https://www.odoo.com/web#id=1929631&action=327&model=project.task&view_type=form&menu_id=4720

This commit is related to task ID : 1929631

closes odoo/odoo#30405
This commit is contained in:
Nimesh Jethva
2019-02-13 06:16:47 +00:00
committed by Yannick Tivisse
parent 9a8863d01f
commit 2d633fc7ac
+5 -9
View File
@@ -39,16 +39,12 @@
<field name="type" widget="radio"/>
<p colspan="2" class="oe_grey oe_edit_only" attrs="{'invisible': [('type','=','normal')]}">
<ul>
A BoM of type kit is used to split the product into its components.
<li>
If the product is a finished product: When processing a sales
order for this product, the delivery order will contain the raw
materials, instead of the finished product.
At the creation of a Manufacturing Order.
</li>
<li>
If the product is a semi-finished product: When processing a
manufacturing order that contains that product as component,
the raw materials of that product will be added to the
manufacturing order of the final product.
At the creation of a Stock Transfer.
</li>
</ul>
</p>
@@ -79,8 +75,8 @@
<field name="sequence"/>
</group>
<group>
<field name="ready_to_produce" string="Manufacturing Readiness"/>
<field name="picking_type_id" string="Operation"/>
<field name="ready_to_produce" attrs="{'invisible': [('type','=','phantom')]}" string="Manufacturing Readiness"/>
<field name="picking_type_id" attrs="{'invisible': [('type','=','phantom')]}" string="Operation"/>
</group>
</group>
</page>