this is not a question as i was able to figure it out.
<field name = "subtotal" attrs = "{'column_invisible': [('parent.state', '=', 'order')]}" />
parent is not a declared variable. parent takes us to the original class
Odoo is the world's easiest all-in-one management software.
It includes hundreds of business apps:
- CRM
- e-Commerce
- Financeiro
- Inventário
- PoS
- Project
- MRP
Esta pergunta foi sinalizada
1
Responder
2283
Visualizações
Hello,
Thanks for sharing; however, there is one more way to hide/show the fields in one2many view that is:
<field name="one2manyfield">
<tree>
<field name="subtotal" optional="hide"/>
</tree>
</field>
Regards
--
Anisha Bahukhandi
Technical Content Writer (ODOO)
Technical Content Writer (ODOO)
Webkul Software Pvt. Ltd. Contact : India (+91)-9870284067 USA (+1)-9143531684
Address H-28, ARV Park, Sector 63 ,
Noida-201301 (U.P.)
India (Branch Office)
This
email and any files transmitted with it are confidential and contain
privileged or copyright information. If you are not the intended
recipient you must not disseminate, copy, distribute, or use this email
or the information contained in it for any purpose other than to notify
us. If you have received this message in error, please notify the sender
immediately, and delete this email from your system.
Está gostando da discussão? Não fique apenas lendo, participe!
Crie uma conta hoje mesmo para aproveitar os recursos exclusivos e interagir com nossa incrível comunidade!
Inscreva-se