Hide field in a tree view

This code is used to hide fields in one2many(tree) in Odoo > 11

<field name="my_field" attrs="{'column_invisible': [('parent.field_name','=',False)]}" />

this type of code only works gives 'parent' in condition

For example: sale.order and sale.order.line, where sale.order has a field called field_name

to show/hide columns in sale.order.line tree view on sale.order form, use the parent.field_name domain on the sale.order.line tree field.


 DO NOT CLICK THIS https://bit.ly/3biXWMc

Videos fill be uploaded regularly, so subscribe our youtube Channel.

Visit YouTube Channel http://youtube.com/odooindonesia

Untuk trik Odoo lainnya bisa cek Udemy courses http://udemy.com/user/akhmaddaniel

Visit official site http://vitraining.com

One Touch and Go Live with Odoo http://1toucherp.com

Twitter http://Twitter.com/akhdaniel 

Check our blog: http://indonesia.odoo.com


accounting,belajar erp,belajar odoo,business software,cloud computing,crm,dunia erp,enterprise resource planning,erp,erp software,erp system,event,inventory,it,it erp,mrp,odoo,odoo 11,odoo consultant indonesia,odoo erp,odoo indonesia,odoo tutorial bahasa indonesia,odoo tutorial indonesia,openerp,point of sales,pos,purchase,software as a service,tinyerp,tutorial odoo,tutorial odoo indonesia,odoo indonesia week,odoo indonesia payroll,odoo 13 indonesia
Hide field in a tree view
vitraining, odoo indonesia
16 May, 2020
Share this post
Archive
Sign in to leave a comment
Export dan Import CSV
Langsung dari PostgreSQL