[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:
@@ -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>
|
||||
|
||||
@@ -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',
|
||||
|
||||
Reference in New Issue
Block a user