diff options
| author | Martin Trigaux <mat@odoo.com> | 2020-11-02 11:09:15 +0000 |
|---|---|---|
| committer | Martin Trigaux <mat@odoo.com> | 2020-11-02 13:34:13 +0000 |
| commit | 3e7b8980ae8bdd7f6a235436a523c49932048f41 (patch) | |
| tree | 5c54963fddbfd50ed3d5b769bc46e727f9f7fde2 /addons/mail/static/src/models/thread_cache/thread_cache.js | |
| parent | 78286851034b8f3ef4dcab78e50b7220c0bdd213 (diff) | |
[FIX] sale: revert cfc9abe14689d
Revert "[FIX] sale: correct _get_to_invoice_qty depends"
This reverts commit cfc9abe14689db82acf1872fa8d358662fc7e123.
While the field is indeed in the list of records, it's a big change of
behaviour.
Retroactively changing the invoicable lines of sale.order that are
closed is dangerous and can lead on unexpected behaviours.
Performances can also be bad when changing the product configuration
on a database with a lot of sale orders.
Changing the product configuration should only apply to future orders,
not past.
closes odoo/odoo#61161
X-original-commit: be13bc94c2ff51b99a4399be44a765d0b28202eb
Signed-off-by: Martin Trigaux (mat) <mat@odoo.com>
Diffstat (limited to 'addons/mail/static/src/models/thread_cache/thread_cache.js')
0 files changed, 0 insertions, 0 deletions
