关于隐藏页面和字段的问题
- 
重定义视图的时候,经常遇到要隐藏一个无用的字段,或者干脆隐藏一个tab页面,自己完全重新定义,之前一直使用replace,不过这样的问提就是,如果其他模块用到了你replace的字段,就会提示错误。
因此最好使用其他的方法,如下示例:<br /> <xpath expr="/form/notebook/page[@string='Sales Order']" position="attributes">              <br />                <attribute name='attrs'>{'invisible':True}</attribute>                <br /> </xpath><br />
简单测试已经可以解决我的问题,但是需要大规模验证。 - 
没任何问题呀,大规模
 怎么个大规模法 - 
<br /> <xpath expr="/form/notebook/page[@string='Sales Order']" position="attributes">              <br />                <attribute name='invisible'>True</attribute>                <br /> </xpath><br />
这样应该也可以 
