← Back to team overview

c2c-oerpscenario team mailing list archive

[Bug 519886] Re: Regression with on_change and usability groups' views (5.0)

 

** Changed in: openobject-client
     Assignee: (unassigned) => OpenERP sa GTK client R&D (openerp-dev-gtk)

-- 
Regression with on_change and usability groups' views (5.0)
https://bugs.launchpad.net/bugs/519886
You received this bug notification because you are a member of C2C
OERPScenario, which is subscribed to the OpenERP Project Group.

Status in OpenObject GTK Client: New

Bug description:
Hi!
5.0 latest bzr.
When on_change runs, it may update fields that are not viewable for the user because he's not in the extended view group. Those value changes won't be written (will be lost) using the gtk client.

Example case: sales order with a user who's not in the extended view, neither the uos view groups. He creates a sales order line and modifies the product uom qty. He doesn't see the uos qty because he's not in the group but the on_change set the uos qty = uom qty. Save the order. Log in with a user that has extended and uos views. Open the order, it will have uos qty == 1 and weight not calculated.

This is serious because the generated moves will always have uos qty == 1 and the invoices generated from the pickings will also have all quantites as 1.