diff options
| author | Anh Thao Pham (pta) <pta@odoo.com> | 2020-11-20 07:29:43 +0000 |
|---|---|---|
| committer | Anh Thao Pham (pta) <pta@odoo.com> | 2020-11-20 07:29:43 +0000 |
| commit | 0936e2da3e5c66e4050f27e994437eb219e3c85f (patch) | |
| tree | 5dbe966b855b8708357ceb3af82dc41b34eecf05 /addons/mail/static/src/models/thread_cache/thread_cache.js | |
| parent | 84bc58fc06fb460b63907102ac29d0c295636584 (diff) | |
[FIX] sale_expense: Fix quantity on SOL when re-invoicing an expense
This is a backport of commit https://github.com/odoo/odoo/commit/b48111635b8f273f5a8b26960b110468908ed3c4
from master to 14.0
Currently, when reinvoicing an expense, a SOL with the expense product is
added to the selected SO, but the 'quantity' field remains at 0.
But when adding expense product to SO, we need to change the sales order
price, because it will be charged to the customer in the end.
So in this commit, we set the quantity on the SOL equal to the quantity set
on the expense.
opw-2377511
closes odoo/odoo#62057
Signed-off-by: Anh Thao PHAM <kitan191@users.noreply.github.com>
Diffstat (limited to 'addons/mail/static/src/models/thread_cache/thread_cache.js')
0 files changed, 0 insertions, 0 deletions
