Skip to content
Snippets Groups Projects
Commit 037012bc authored by Victor Feyens's avatar Victor Feyens
Browse files

[FIX] *: avoid direct references to countries


Ensure the code works fine even if countries are deleted.

Also consider "re"-created countries after deletion, by only considering
the country code, not the data reference.

This should reduce support requests related to deleted countries, and
ease the resolution of such problems by the users themselves.

TASK ID - 2368842

closes odoo/odoo#57837

Related: odoo/enterprise#13275
Signed-off-by: default avatarVictor Feyens (vfe) <vfe@odoo.com>
parent 4ff9ff09
No related branches found
No related tags found
Loading
Showing
with 45 additions and 47 deletions
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment