diff options
| author | Ivan Yelizariev <yelizariev@it-projects.info> | 2020-09-18 07:23:55 +0000 |
|---|---|---|
| committer | Martin Trigaux <mat@odoo.com> | 2020-09-28 12:40:03 +0000 |
| commit | a08f0721e853854c7e97f5060fc39fccb4b6b4e5 (patch) | |
| tree | 6ca267bd605fd9be0b04ae15eceead25f9711dca /addons | |
| parent | ecf501eb4e8b7e1d7c6f0d47dbd411b572f8aaae (diff) | |
[FIX] account: correct hint about fiscal position countries
Only delivery address actually matters:
https://github.com/odoo/odoo/blob/f9da0a6c80ae68283f4ef9af736253352ff4e1d4/addons/account/models/partner.py#L158-L162
closes odoo/odoo#57991
Signed-off-by: Martin Trigaux (mat) <mat@odoo.com>
Diffstat (limited to 'addons')
| -rw-r--r-- | addons/account/models/chart_template.py | 4 | ||||
| -rw-r--r-- | addons/account/models/partner.py | 4 |
2 files changed, 4 insertions, 4 deletions
diff --git a/addons/account/models/chart_template.py b/addons/account/models/chart_template.py index 88fe6a26230..a8ec2061cd4 100644 --- a/addons/account/models/chart_template.py +++ b/addons/account/models/chart_template.py @@ -1095,9 +1095,9 @@ class AccountFiscalPositionTemplate(models.Model): auto_apply = fields.Boolean(string='Detect Automatically', help="Apply automatically this fiscal position.") vat_required = fields.Boolean(string='VAT required', help="Apply only if partner has a VAT number.") country_id = fields.Many2one('res.country', string='Country', - help="Apply only if delivery or invoicing country match.") + help="Apply only if delivery country matches.") country_group_id = fields.Many2one('res.country.group', string='Country Group', - help="Apply only if delivery or invoicing country match the group.") + help="Apply only if delivery country matches the group.") state_ids = fields.Many2many('res.country.state', string='Federal States') zip_from = fields.Char(string='Zip Range From') zip_to = fields.Char(string='Zip Range To') diff --git a/addons/account/models/partner.py b/addons/account/models/partner.py index 98adb41cb91..cc92da1338e 100644 --- a/addons/account/models/partner.py +++ b/addons/account/models/partner.py @@ -32,9 +32,9 @@ class AccountFiscalPosition(models.Model): auto_apply = fields.Boolean(string='Detect Automatically', help="Apply automatically this fiscal position.") vat_required = fields.Boolean(string='VAT required', help="Apply only if partner has a VAT number.") country_id = fields.Many2one('res.country', string='Country', - help="Apply only if delivery or invoicing country match.") + help="Apply only if delivery country matches.") country_group_id = fields.Many2one('res.country.group', string='Country Group', - help="Apply only if delivery or invoicing country match the group.") + help="Apply only if delivery country matches the group.") state_ids = fields.Many2many('res.country.state', string='Federal States') zip_from = fields.Char(string='Zip Range From') zip_to = fields.Char(string='Zip Range To') |
