Hi,
I'm calling the res.partner create function to create new contacts in Odoo. It works fine for all data except for 'lang'.
I'm passing 'lang' as a text field with values like: 'es_ES', 'fr_FR' or 'en_GB'.
Contact is saved and created in Odoo database, but lang field does not seem to be saved (it's always set to the default value: es_ES). Is there a particular way to pass this 'lang' data?
I've also tried passing the lang id from res_lang table, but that just throws an exception with the call.