← Back to team overview

openerp-india team mailing list archive

[Bug 1220323] Re: [trunk/7.0] [warning] On change for PO lines in warning module overwrites existing values

 

Hello John B,
 
     Issue has been fixed in following revision 
     Revision number :  8992.
     Revision ID: rgo@xxxxxxxxxxx-20130612112146-fvu2jeyvkfqp56gj

Thanks & Regards

** Changed in: openobject-addons
       Status: Confirmed => Fix Released

-- 
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):
  Fix Released

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