机床注册按钮根据权限组区分
This commit is contained in:
@@ -50,7 +50,9 @@
|
||||
<label for="enroll_machine_tool"/>
|
||||
<div class="col-12 col-lg-6 o_setting_box" style="white-space: nowrap">
|
||||
<button type="object" class="oe_highlight" name='enroll_machine_tool' string="机床注册"
|
||||
attrs="{'invisible': [('equipment_type', '!=', '机床'), ('brand_id','!=',False),('type_id','!=',False),('control_system_id','!=',False)]}"/>
|
||||
attrs="{'invisible': [('equipment_type', '!=', '机床'), ('brand_id','!=',False),
|
||||
('type_id','!=',False),('control_system_id','!=',False),('code','!=', False)]}"
|
||||
groups="sf_maintenance.sf_group_equipment_manager"/>
|
||||
</div>
|
||||
</xpath>
|
||||
<xpath expr="//field[@name='category_id']" position="before">
|
||||
|
||||
Reference in New Issue
Block a user