[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#58685 X-original-commit: a08f0721e853854c7e97f5060fc39fccb4b6b4e5 Signed-off-by: Martin Trigaux (mat) <mat@odoo.com>
This commit is contained in:
committed by
Martin Trigaux
parent
bf7920746b
commit
3007e72333
@@ -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')
|
||||
|
||||
@@ -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')
|
||||
|
||||
Reference in New Issue
Block a user