[IMP] account: remove translate=True from res.country.state.name

People asked to translate the States, because they had a use case, but
it's a minority.  But other people also had issues on addresses because
states were translated.  Translated fields can introduce mistakes.

Example: if I send a letter to: "Virginie-Occidentale", will United
States postal services understand that they actually have to send to
"West-Virginia"?  That's an easy one, but there are more tricky ones.

Translations induce a lot of mismatch when people duplicate or edit.
Suppose a user edit "New-York" state and rename into "Californie"
because they do a mistake while changing the address of a partner the
same customer might receive it's letter in New-York or California,
depending on the language.  Having states being translated might lead to
more issues, than not translated.
This commit is contained in:
Chong Wang (cwg)
2022-09-15 22:37:50 +02:00
parent f8c2b02abe
commit 88f47804ab
-6
View File
@@ -82,9 +82,3 @@ class AccountAnalyticAccount(models.Model):
_inherit = 'account.analytic.account'
name = fields.Char(translate=True)
class ResCountryState(models.Model):
_inherit = 'res.country.state'
name = fields.Char(translate=True)