Odoo Aide

0

0
3 Answers
1
Avatar

Zbik

--Zbik--
10353
| 7 6 9
Łódź, Pologne
--Zbik--


Zbik
19/04/2019 04:59

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 Commentaires
Tabla d.o.o., Samo Arko
23/04/2019 02:46

Thanks your workaround works!

Poser une question
Writer
Étiquettes
Keep Informed
1 Abonné(e)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