diff --git a/configuration.py b/configuration.py index 97e148dea7..120c090844 100644 --- a/configuration.py +++ b/configuration.py @@ -14,5 +14,8 @@ class Configuration(ModelSingleton, ModelSQL, ModelView): ('company', 'in', [Eval('company'), False]), ('code', '=', 'party.party'), ], required=True)) + party_lang = fields.Property(fields.Many2One("ir.lang", 'Party Language', + help=('The value set on this field will preset the language on new ' + 'parties'))) Configuration() diff --git a/configuration.xml b/configuration.xml index 7fcb04d385..416e826d74 100644 --- a/configuration.xml +++ b/configuration.xml @@ -11,6 +11,8 @@ this repository contains the full copyright notices and license terms. -->