openerp-india team mailing list archive
-
openerp-india team
-
Mailing list archive
-
Message #25570
[Bug 1220323] Re: [trunk/7.0] [warning] On change for PO lines in warning module overwrites existing values
** Branch linked: lp:~openerp-dev/openobject-addons/trunk-
bug-1220323-ypa
--
You received this bug notification because you are a member of OpenERP
Indian Team, which is subscribed to OpenERP Addons.
https://bugs.launchpad.net/bugs/1220323
Title:
[trunk/7.0] [warning] On change for PO lines in warning module
overwrites existing values
Status in OpenERP Addons (modules):
Confirmed
Bug description:
With the warning module installed, when creating a new PO line without
a product, the on change_product_id() function will reset all values:
if not product:
return {'value': {'price_unit': 0.0, 'name':'','notes':'', 'product_uom' : False}, 'domain':{'product_uom':[]}}
This should send back the existing values, not reset them.
To manage notifications about this bug go to:
https://bugs.launchpad.net/openobject-addons/+bug/1220323/+subscriptions
References