diff options
| author | Lucas Lefèvre <lul@odoo.com> | 2020-03-12 15:56:19 +0000 |
|---|---|---|
| committer | Lucas Lefèvre <lucas.lefevre@hotmail.com> | 2020-03-19 07:44:40 +0000 |
| commit | 3ad4abe171e8e7e86ed0e7b7f000e734d8a2ad92 (patch) | |
| tree | 931e8013831b281725b9be116c894bc51c87f3f4 /addons/sale_stock/tests | |
| parent | 32b9c4a585ffd492c9eeb11c1ea226b72a968e19 (diff) | |
[IMP] sale: Change default invoicing policy
Purpose
=======
The default invoicing policy should be based on the delivered quantities
by default because:
- In countries with anglosaxon accounting, that's mandatory
- Even for other countries, it's probably as frequent as the "based on ordered"
quantities
Task 2159161
closes odoo/odoo#47526
Related: odoo/enterprise#9355
Signed-off-by: Yannick Tivisse (yti) <yti@odoo.com>
Diffstat (limited to 'addons/sale_stock/tests')
| -rw-r--r-- | addons/sale_stock/tests/test_sale_stock.py | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/addons/sale_stock/tests/test_sale_stock.py b/addons/sale_stock/tests/test_sale_stock.py index f2f4331033f..683f0b455db 100644 --- a/addons/sale_stock/tests/test_sale_stock.py +++ b/addons/sale_stock/tests/test_sale_stock.py @@ -126,6 +126,7 @@ class TestSaleStock(TestSaleCommon): advance_product = self.env['product.product'].create({ 'name': 'Deposit', 'type': 'service', + 'invoice_policy': 'order', }) adv_wiz = self.env['sale.advance.payment.inv'].with_context(active_ids=[self.so.id]).create({ 'advance_payment_method': 'percentage', |
