diff options
| author | Raphael Collet <rco@openerp.com> | 2014-09-10 12:10:22 +0200 |
|---|---|---|
| committer | Raphael Collet <rco@openerp.com> | 2014-09-10 14:26:12 +0200 |
| commit | ad14acab3237c26861469fcde25dd73291e633e2 (patch) | |
| tree | 04822cd03b84d787f22f8270b6df3ea5446a536b /addons/analytic_user_function | |
| parent | 13bd2eaa3e11ca6b26deb5590c0e13e7ff08de15 (diff) | |
[FIX] models: in method onchange(), check for record dirtiness only on *2many fiels
Cascading onchanges can be caused by a related field computed in cache. This
causes a bug in sale order lines, were setting the uom field forces reading
product fields, which are inherited from product templates. The inherited
fields are computed as related fields, which marks the product record as dirty.
This subsequently triggers an onchange on the product field, which resets the
uom field!
Diffstat (limited to 'addons/analytic_user_function')
0 files changed, 0 insertions, 0 deletions
