[FIX] sale: Correct the tax inclusion definition in the sales config

The commit 1b31635 introduces a switch between the definions of tax included and excluded.

As the default value wasn't coherent with the intended behavior, the commit 2e467a7 tries to fix this.

This commit is correct. Switch back the selection labels and set back the default value.
This commit is contained in:
Yannick Tivisse
2017-03-06 13:21:20 +01:00
parent 925c5e8986
commit 08b75c181a
+3 -3
View File
@@ -49,9 +49,9 @@ class SaleConfiguration(models.TransientModel):
implied_group='sale.group_show_price_total',
group='base.group_portal,base.group_user,base.group_public')
sale_show_tax = fields.Selection([
('subtotal', 'Tax-Included Prices'),
('total', 'Tax-Excluded Prices')], "Tax Display",
default='total',
('subtotal', 'Tax-Excluded Prices'),
('total', 'Tax-Included Prices')], "Tax Display",
default='subtotal',
required=True)
default_invoice_policy = fields.Selection([
('order', 'Ordered quantities'),