<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
- Financeiro
- Inventário
- PoS
- Project
- MRP
Esta pergunta foi sinalizada
2
Respostas
3854
Visualizações
Try this
<field name="cgst" readonly="1" attrs="{'column_invisible': [('flag' ,'=',True)]}"/>
<field name="sgst" readonly="1" attrs="{'column_invisible': [('flag' ,'=',True)]}" />
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-sePublicações relacionadas | Respostas | Visualizações | Atividade | |
---|---|---|---|---|
|
4
mar. 15
|
5849 | ||
|
1
mar. 24
|
5671 | ||
|
2
nov. 19
|
4175 | ||
|
2
jul. 18
|
8100 | ||
|
1
jan. 18
|
2963 |
What is your output ?