Hi all,
I have an error on the payment/process stage. When customers are being redirected to the confirmation page after payment on Paypal or stripe they reach an internal server error (not all but sometimes). ValueError: Wrong value for ir.translation.lang: 'fr_BE'
This lang fr_BE is not even active in my Odoo DB but was initially.
Thanks for your help!
Here is the full error log:
return self.fields[key].set_(self, value)
File "/opt/odoo/odoo-server/odoo/fields.py", line 1070, in _set_
self.write(protected_records, value)
File "/opt/odoo/odoo-server/odoo/fields.py", line 1486, in write
records.env['ir.translation']._set_ids(
File "/opt/odoo/odoo-server/odoo/addons/base/models/ir_translation.py", line 270, in _set_ids
self.sudo().create([{
File "<decorator-gen-47>", line 2, in create
File "/opt/odoo/odoo-server/odoo/api.py", line 336, in _model_create_multi
return create(self, arg)
File "/opt/odoo/odoo-server/odoo/addons/base/models/ir_translation.py", line 554, in create
records = super(IrTranslation, self.sudo()).create(vals_list).with_env(self.env)
File "<decorator-gen-3>", line 2, in create
File "/opt/odoo/odoo-server/odoo/api.py", line 336, in _model_create_multi
return create(self, arg)
File "/opt/odoo/odoo-server/odoo/models.py", line 3773, in create
records = self._create(data_list)
File "/opt/odoo/odoo-server/odoo/models.py", line 3910, in _create
cache_value = field.convert_to_cache(value, record)
File "/opt/odoo/odoo-server/odoo/fields.py", line 2258, in convert_to_cache
raise ValueError("Wrong value for %s: %r" % (self, value))
ValueError: Wrong value for ir.translation.lang: 'fr_BE'
FI: I use OVH server and cloudflare and it seems the redirection are to set languages that are not active on my odoo as one of my customers had the error with da_DK while this lang has never been set on my DB. Thank you
Did you found any solution?