Does anyone know the way to correct this warning?
2025-01-29 02:59:14,656 87119 WARNING our-server odoo.fields: Translated stored related field (product.template.attribute.value.x_studio_variable) will not be computed correctly in all languages
Odoo is the world's easiest all-in-one management software.
It includes hundreds of business apps:
Does anyone know the way to correct this warning?
2025-01-29 02:59:14,656 87119 WARNING our-server odoo.fields: Translated stored related field (product.template.attribute.value.x_studio_variable) will not be computed correctly in all languages
try :
x_studio_variable = fields.Char(related="the_related_field", store=True, translate=False)
or
Use a custom calculated field with an @api.depends decorator instead of a related field. This gives you greater control over how values are stored and translated.
Thank you. I ended up finding the field in Odoo backend and unchecking 'Translatable'.
That did the trick.
Create an account today to enjoy exclusive features and engage with our awesome community!
Sign upRelated Posts | Replies | Views | Activity | |
---|---|---|---|---|
|
2
Dec 19
|
7896 | ||
|
0
Nov 19
|
3238 | ||
Error on Warning in Odoo 12
Solved
|
|
1
Jul 19
|
5775 | |
|
0
Jul 19
|
1611 | ||
|
1
May 17
|
7487 |