Set party lang as a configuration option
This commit is contained in:
1 parent
c0eb2ed70d
commit
5f488eaffc
3 files changed
+10
No files matched your search
@@ -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()
|
||||
Reference in new issue
Block a user