From 08b75c181adf4bf0261707c740fe72ab288a6d01 Mon Sep 17 00:00:00 2001 From: Yannick Tivisse Date: Mon, 6 Mar 2017 13:21:20 +0100 Subject: [PATCH] [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. --- addons/sale/models/sale_config_settings.py | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/addons/sale/models/sale_config_settings.py b/addons/sale/models/sale_config_settings.py index d934772c921..8fa47931091 100644 --- a/addons/sale/models/sale_config_settings.py +++ b/addons/sale/models/sale_config_settings.py @@ -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'),