diff --git a/addons/account/models/account_tax.py b/addons/account/models/account_tax.py index b89db2fb099..5ae9925b48f 100644 --- a/addons/account/models/account_tax.py +++ b/addons/account/models/account_tax.py @@ -38,6 +38,7 @@ class AccountTaxGroup(models.Model): string='Advance Tax payment account', help="Downpayments posted on this account will be considered by the Tax Closing Entry.") country_id = fields.Many2one(string="Country", comodel_name='res.country', help="The country for which this tax group is applicable.") + country_code = fields.Char(related="country_id.code") preceding_subtotal = fields.Char( string="Preceding Subtotal", help="If set, this value will be used on documents as the label of a subtotal excluding this tax group before displaying it. " \ diff --git a/addons/account/views/account_tax_views.xml b/addons/account/views/account_tax_views.xml index eec24274e5f..934e1aec33f 100644 --- a/addons/account/views/account_tax_views.xml +++ b/addons/account/views/account_tax_views.xml @@ -215,6 +215,7 @@ +