Mayur Maheshwari(OpenERP) has proposed merging
lp:~openerp-dev/openobject-addons/trunk-addons_issue2_product-mma into
lp:openobject-addons.
Requested reviews:
OpenERP Core Team (openerp)
For more details, see:
https://code.launchpad.net/~openerp-dev/openobject-addons/trunk-addons_issue2_product-mma/+merge/118523
Hello,
I Have apply on_change on product_id field Now on_change should work when
choosing a product. Example, in stock moves, create a new one, choose a
product, the uom should be completed by default
Thanks,
Mayur
--
https://code.launchpad.net/~openerp-dev/openobject-addons/trunk-addons_issue2_product-mma/+merge/118523
Your team OpenERP R&D Team is subscribed to branch
lp:~openerp-dev/openobject-addons/trunk-addons_issue2_product-mma.
=== modified file 'stock/stock_view.xml'
--- stock/stock_view.xml 2012-08-06 19:05:27 +0000
+++ stock/stock_view.xml 2012-08-07 10:11:14 +0000
@@ -1250,7 +1250,7 @@
<field name="picking_id" string="Reference"/>
<field name="origin"/>
<field name="create_date" invisible="1" groups="base.group_no_one"/>
- <field name="product_id"/>
+ <field name="product_id" on_change="onchange_product_id(product_id,location_id,location_dest_id, False)"/>
<field name="product_qty" on_change="onchange_quantity(product_id, product_qty, product_uom, product_uos)"/>
<field name="product_uom" string="Unit of Measure" groups="product.group_uom"/>
<field name="product_uos" groups="product.group_uos"/>
_______________________________________________
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