<record model="ir.ui.view" id="rent_posting__tree">
<field name="name">rent posting Tree</field>
<field name="model">rent.posting</field>
<field name="type">tree</field>
<field name="arch" type="xml">
<tree string="rent posting Data" editable="bottom" version="7.0" create="false" delete="false" > <field name="assetid" readonly="1" invisible="1"/>
<field name="asset_id" readonly="1"/>
<field name="allottename" readonly="1"/>
<field name="rent" readonly="1"/>
<field name="tds" readonly="1" />
<field name="flag" invisible="1" />
<field name="servicetax" readonly="1" attrs="{'invisible': [('flag' ,'=',False)]}" /> <field name="interest_amount" on_change="onchange_interest(rent,interest_amount,totalrent,servicetax)" readonly="1"/>
<field name="cgst" readonly="1" attrs="{'invisible': [('flag' ,'=',True)]}"/>
<field name="sgst" readonly="1" attrs="{'invisible': [('flag' ,'=',True)]}" />
<field name="totalrent" readonly="1"/>
</tree>
</field>
</record>
Odoo is the world's easiest all-in-one management software.
It includes hundreds of business apps:
- CRM
- e-Commerce
- Accounting
- Inventory
- PoS
- Project management
- MRP
This question has been flagged
2
Replies
2750
Views
Try this
<field name="cgst" readonly="1" attrs="{'column_invisible': [('flag' ,'=',True)]}"/>
<field name="sgst" readonly="1" attrs="{'column_invisible': [('flag' ,'=',True)]}" />
Enjoying the discussion? Don't just read, join in!
Create an account today to enjoy exclusive features and engage with our awesome community!
Sign upRelated Posts | Replies | Views | Activity | |
---|---|---|---|---|
|
4
Mar 15
|
4867 | ||
|
1
Mar 24
|
3817 | ||
|
2
Nov 19
|
2993 | ||
|
2
Jul 18
|
6885 | ||
|
1
Jan 18
|
2121 |
What is your output ?