<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
- MRP
This question has been flagged
2
Odgovori
3857
Prikazi
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!
PrijaviRelated Posts | Odgovori | Prikazi | Aktivnost | |
---|---|---|---|---|
|
4
mar. 15
|
5852 | ||
|
1
mar. 24
|
5688 | ||
|
2
nov. 19
|
4177 | ||
|
2
jul. 18
|
8101 | ||
|
1
jan. 18
|
2964 |
What is your output ?