diff options
| author | Goffin Simon <sig@odoo.com> | 2015-12-17 14:26:06 +0100 |
|---|---|---|
| committer | Goffin Simon <sig@odoo.com> | 2015-12-17 15:54:53 +0100 |
| commit | ca40236ddc75424be0e361f33adc55e8663ca399 (patch) | |
| tree | 576587795d661a004d13dcd698ed1f9b5b004fb6 /addons/website/static/lib/jquery.mjs.nestedSortable/jquery.mjs.nestedSortable.js | |
| parent | d251041c05706d7749bae38942a18dbab9edde79 (diff) | |
[FIX] sale: onchange_product_uom
The function "product_uom_change" was built to reset the price unit
of a SO line when the uom was changed. Before this fix 503820a, the
price unit of the SO line only depended on the price list then it was
not needed to pass the fiscal position to this function.
After this fix 503820a, the price unit of a SO line also depends on
the taxes set on the SO line(e.g.:if an included tax is deleted, the
price unit must be recomputed without this tax). Then to recompute the
unit price, the function "product_id_change" must take into account
the fiscal position set on the SO to consider the right taxes to
recompute the unit price.
The fiscal position set on a SO must be passed to onchange_product_uom
each time it will be called because the price unit will be recomputed.
Diffstat (limited to 'addons/website/static/lib/jquery.mjs.nestedSortable/jquery.mjs.nestedSortable.js')
0 files changed, 0 insertions, 0 deletions
