summaryrefslogtreecommitdiff
path: root/odoo/sql_db.py
diff options
context:
space:
mode:
authoramoyaux <arm@odoo.com>2017-10-24 10:57:09 +0200
committeramoyaux <arm@odoo.com>2017-10-24 14:34:36 +0200
commita5c82b0c572aba3daf789db54ff2aa26c3cb7682 (patch)
tree359a8864e30fc789b079ad0016ee5c755f7511c9 /odoo/sql_db.py
parent38f1875e0bee72a58cb039e68d79336be1c2d963 (diff)
[FIX] sale_stock: delivered quantity blocked by expense policy
Use case to reproduce - Set a product to be expensed - set the expense_policy to something else than no - Do a delivery order with a picking - Validate the picking -> Delivered quantity to 0 and impossible to create an invoice if the invoice_policy is delivered_quantity It happens due to this commit 48ea59d46e26b7b5a8eebfe06740482f1a263d72 What does it do: - The move could be generated by an expense. - If the move has 'no' as expense policy thus we won't add it in the invoice Problem we can't guess if the move come from an expense or not (limitation). This commit increments the delivered quanity if the product can not be expense anymore opw-777139
Diffstat (limited to 'odoo/sql_db.py')
0 files changed, 0 insertions, 0 deletions