In the base Parter model we have the following field:
lang = fields.Selection(_lang_get, string='Language', default=lambda self: self.env.lang, help="All the emails and documents sent to this contact will be translated in this language.")
I want to change the default value of this field to 'da_DK' in my inherited model and the code is
lang = fields.Selection(string='Lang', default='da_DK')But it's not working. Can anyone please suggest me the workaround? The default value should get selected when the form view is loaded for the customer.
Thank you for your help in advance! :)