← Back to team overview

c2c-oerpscenario team mailing list archive

[Bug 806832] Re: sale_layout: name of product is reset in sale.order.line

 

Please just have a quick look at the diff, the very same problem ist
still valid for sale_layout as in ~openerp/openobject-addons/6.0/

install sale_layout, create a sale order, change the name of the
sale.order line and save. Now change the quntity and watch the name when
saving.

base module sale has the same view, which doesn't trigger the problem as
it adds a True to the _onchange function call which then leads to
keeping the name inside sale.product_id_change.

-- 
You received this bug notification because you are a member of C2C
OERPScenario, which is subscribed to the OpenERP Project Group.
https://bugs.launchpad.net/bugs/806832

Title:
  sale_layout: name of product is reset in sale.order.line

Status in OpenERP Modules (addons):
  Won't Fix

Bug description:
  When installting sale_layout from extra addons the chosen name of a
  sale.order.line is reset to the default product name when the UoS
  Quantity is changed in the form.

  This happen because in the overriden view sale.product_id_change() is
  triggered without passing the argument Flag as True as it is done in
  the view provided by the base sale module.

To manage notifications about this bug go to:
https://bugs.launchpad.net/openobject-addons/+bug/806832/+subscriptions


References