[IMP] mrp: products in boms, ... should be stockable by default

This commit is contained in:
Josse Colpaert
2016-08-30 13:59:53 +02:00
parent 17be15fd61
commit 11c7a87044
3 changed files with 5 additions and 5 deletions
+3 -3
View File
@@ -17,8 +17,8 @@
</div>
<group>
<group>
<field name="product_tmpl_id"/>
<field name="product_id" groups="product.group_product_variant"/>
<field name="product_tmpl_id" context="{'default_type': 'product'}"/>
<field name="product_id" groups="product.group_product_variant" context="{'default_type': 'product'}"/>
<label for="product_qty" string="Quantity"/>
<div class="o_row">
<field name="product_qty"/>
@@ -41,7 +41,7 @@
<field name="bom_line_ids" widget="one2many_list">
<tree string="Components" editable="bottom">
<field name="sequence" widget="handle"/>
<field name="product_id"/>
<field name="product_id" context="{'default_type': 'product'}"/>
<field name="has_attachments" invisible="1"/>
<button name="action_see_attachments" type="object" icon="fa-files-o" attrs="{'invisible': [('has_attachments', '=', False)]}"/>
<button name="action_see_attachments" type="object" icon="fa-file" attrs="{'invisible': [('has_attachments', '=', True)]}"/>
+1 -1
View File
@@ -109,7 +109,7 @@
products, process, or actions to take care of. (e.g; Warning, the bill of material changed,
check the details in new worksheet)
</p><p>
Messages can be configurred to appear during any operation: receptions, delivery orders,
Messages can be configured to appear during any operation: receptions, delivery orders,
manufacturing orders, work orders, etc.
</p>
</field>
+1 -1
View File
@@ -31,7 +31,7 @@
<field name="res_model">product.template</field>
<field name="view_type">form</field>
<field name="view_mode">kanban,tree,form</field>
<field name="context">{}</field>
<field name="context">{"search_default_products": 1, 'default_type': 'product'}</field>
</record>
<menuitem id="menu_mrp_product_form"
name="Products"