[IMP] sale: change default invoicing policy to 'ordered'

Currently, the default invoicing policy is based in `delivered`
quantity since commit: https://github.com/odoo/odoo/commit/3ad4abe171e8e7e86ed0e7b7f000e734d8a2ad92
but due to that onboarding flow is often broken/very complex.
hopefully the statement 'in countries with anglosaxon accounting, that's mandatory' is exagerated.

So in this commit, Default invoice policy is set (back) to
'Ordered quantity'

closes odoo/odoo#69825

Taskid: 2443371
Signed-off-by: Victor Feyens (vfe) <vfe@odoo.com>
This commit is contained in:
bbh-odoo
2021-04-27 10:53:42 +00:00
committed by Barad Mahendra
parent 60b89987ec
commit f0c44897c9
2 changed files with 1 additions and 3 deletions
-2
View File
@@ -16,7 +16,5 @@
<field name="key">sale.default_confirmation_template</field>
<field name="value" ref="sale.mail_template_sale_confirmation"/>
</record>
<function model="ir.default" name="set" eval="('product.template', 'invoice_policy', 'delivery')"/>
</data>
</odoo>
+1 -1
View File
@@ -21,7 +21,7 @@ class ResConfigSettings(models.TransientModel):
('order', 'Invoice what is ordered'),
('delivery', 'Invoice what is delivered')
], 'Invoicing Policy',
default='delivery',
default='order',
default_model='product.template')
deposit_default_product_id = fields.Many2one(
'product.product',