Public bug reported:

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.

** Affects: openobject-addons
     Importance: Undecided
         Status: New

-- 
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):
  New

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

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

Reply via email to