Skip to Content
Menu
This question has been flagged
2 Replies
67 Views

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


Avatar
Discard
Best Answer

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.

Avatar
Discard
Author

Thank you.  I ended up finding the field in Odoo backend and unchecking 'Translatable'.

That did the trick.

Related Posts Replies Views Activity
2
Dec 19
7896
0
Nov 19
3238
1
Jul 19
5775
0
Jul 19
1611
1
May 17
7487