[FIX] mrp: in mrp orders, you may want to build occasionally products that are set with a different supply method than 'produce'. In particular, in a multi-company invironement where a company is manufacturing products for another... As suggested in the bug report, i replaced the domain to filer only products that have at least one BoM defined
lp bug: https://launchpad.net/bugs/936865 fixed bzr revid: qdp-launchpad@openerp.com-20120727085245-jp8zw8ub01rp9oj3
This commit is contained in:
parent
6ea91b3635
commit
6e625b12b7
|
@ -653,7 +653,7 @@
|
|||
<sheet>
|
||||
<label for="product_id" class="oe_edit_only"/>
|
||||
<h1>
|
||||
<field name="product_id" on_change="product_id_change(product_id)" domain="[('supply_method','=','produce')]" class="oe_inline"/>
|
||||
<field name="product_id" on_change="product_id_change(product_id)" domain="[('bom_ids','<>',False)]" class="oe_inline"/>
|
||||
</h1>
|
||||
<label for="product_qty" class="oe_edit_only"/>
|
||||
<h2>
|
||||
|
|
Loading…
Reference in New Issue