How to hide the create button dynamical tree view in openerp ?
时间:2014-06-23 08:40:05
收藏:0
阅读:384
<tree create="false" edit="false" >
<tree attrs="{‘create‘:[("uid",‘=‘,1)]}" edit="false" >
<record> ... <field name="arch" type="xml"> <xpath expr=‘//form[@string="Product"]‘ position=‘attributes‘> <attribute name="create">false</attribute> </xpath> </field> , </record>
<record ...> ... <form string="NAMEOFFORM" create="false" edit="false" version="7.0"> ... </form> </record>
<form create="false" edit="false">
<tree attrs="{‘create‘:[("uid",‘=‘,1)]}" edit="false" >
How to hide the create button dynamical tree view in openerp ?,布布扣,bubuko.com
评论(0)