<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>
To pytanie dostało ostrzeżenie
2
Odpowiedzi
5503
Widoki
Try this
<field name="cgst" readonly="1" attrs="{'column_invisible': [('flag' ,'=',True)]}"/>
<field name="sgst" readonly="1" attrs="{'column_invisible': [('flag' ,'=',True)]}" />
Podoba Ci się ta dyskusja? Dołącz do niej!
Stwórz konto dzisiaj, aby cieszyć się ekskluzywnymi funkcjami i wchodzić w interakcje z naszą wspaniałą społecznością!
Zarejestruj się| Powiązane posty | Odpowiedzi | Widoki | Czynność | |
|---|---|---|---|---|
|
|
4
mar 15
|
7351 | ||
|
view xml, attrs use variable with attribute
Rozwiązane
|
|
1
mar 24
|
12915 | |
|
|
2
lis 19
|
5693 | ||
|
|
2
lip 18
|
9779 | ||
|
Reports visibility to all user in Open-ERP 7
Rozwiązane
|
|
1
sty 18
|
4499 |
What is your output ?