Odoo Help

0

0
3 Answers
1
Avatar

Zbik

--Zbik--
7359
| 7 5 9
Łódź, Poland
--Zbik--


Zbik
4/19/19, 4:59 AM

You use the related type field, like this:

my_value = fields.Char(string="My related value", related='analysis_document_types_id.value')

and

attrs="{'invisible': [('my_value', 'not in', ['xxx', 'yyy'])]}"

 
1 Comment
Tabla d.o.o., Samo Arko
4/23/19, 2:46 AM

Thanks your workaround works!

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