首页 > 其他 > 详细

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

时间:2014-06-23 08:38:23      阅读:498      评论:0      收藏:0      [点我收藏+]
<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 ?

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

(0)
(0)
   
举报
评论 一句话评论(0
关于我们 - 联系我们 - 留言反馈 - 联系我们:wmxa8@hotmail.com
© 2014 bubuko.com 版权所有
打开技术之扣,分享程序人生!