码迷,mamicode.com
首页 > 其他好文 > 详细

How to hide the create button dynamical tree view in openerp ?

时间:2014-06-23 08:40:05      阅读:384      评论:0      收藏:0      [点我收藏+]

标签:style   class   blog   code   color   string   

<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

How to hide the create button dynamical tree view in openerp ?

标签:style   class   blog   code   color   string   

原文地址:http://www.cnblogs.com/chjbbs/p/3799302.html

(0)
(0)
   
举报
评论 一句话评论(0
登录后才能评论!
© 2014 mamicode.com 版权所有  联系我们:gaon5@hotmail.com
迷上了代码!