Odoo Help

0

1
1 Answer
1
CML Peru
16:40, 16/07/2019

Hi David,

If you want to get the translation of the value, you could try something like this:

dict(self._fields['state']._description_selection(self.env)).get(self.state)


1 Comment
Buildfish, David Peralta Peru
16:44, 16/07/2019

Exactly what I was looking for

Thank you

Ask a Question
Writer
Keep Informed
1 follower(s)
About This Community

This platform is for beginners and experts willing to share their Odoo knowledge. It's not a forum to discuss ideas, but a knowledge base of questions and their answers.

Register
Odoo Training Center

Access to our E-learning platform and experience all Odoo Apps through learning videos, exercises and Quizz.

Test it now