Mayur Maheshwari(OpenERP) has proposed merging 
lp:~openerp-dev/openobject-addons/trunk-product-domain-mma into 
lp:openobject-addons.

Requested reviews:
  OpenERP Core Team (openerp)

For more details, see:
https://code.launchpad.net/~openerp-dev/openobject-addons/trunk-product-domain-mma/+merge/88303

Hello,

issue :
-------------
In Manufacturing Order form view a product field dispaly all product [like:- 
buy, produce]

Fix
-----
I Have added a domain on product field

Thanks.
Mayur Mahehswari [ mma ]
-- 
https://code.launchpad.net/~openerp-dev/openobject-addons/trunk-product-domain-mma/+merge/88303
Your team OpenERP R&D Team is subscribed to branch 
lp:~openerp-dev/openobject-addons/trunk-product-domain-mma.
=== modified file 'mrp/mrp_view.xml'
--- mrp/mrp_view.xml	2011-12-30 12:28:11 +0000
+++ mrp/mrp_view.xml	2012-01-12 05:56:25 +0000
@@ -638,7 +638,7 @@
                         <field name="date_planned"/>
                         <field name="origin"/>
                         <newline/>
-                        <field name="product_id" on_change="product_id_change(product_id)"/>
+                        <field name="product_id" on_change="product_id_change(product_id)" domain="[('supply_method','=','produce')]"/>
                         <field name="product_qty"/>
                         <field name="product_uom"/>
                         <button type="action"

_______________________________________________
Mailing list: https://launchpad.net/~openerp-dev-gtk
Post to     : [email protected]
Unsubscribe : https://launchpad.net/~openerp-dev-gtk
More help   : https://help.launchpad.net/ListHelp

Reply via email to