待排程状态隐藏tab页
This commit is contained in:
@@ -68,6 +68,7 @@
|
|||||||
<xpath expr="//field[@name='user_id']" position="after">
|
<xpath expr="//field[@name='user_id']" position="after">
|
||||||
<field name="programming_no" readonly="1"/>
|
<field name="programming_no" readonly="1"/>
|
||||||
<field name="work_state" invisible="1"/>
|
<field name="work_state" invisible="1"/>
|
||||||
|
<field name="schedule_state" invisible='1'/>
|
||||||
<field name="programming_state" readonly="1"/>
|
<field name="programming_state" readonly="1"/>
|
||||||
<field name="production_line_id" readonly="1"/>
|
<field name="production_line_id" readonly="1"/>
|
||||||
<field name="plan_start_processing_time" readonly="1"/>
|
<field name="plan_start_processing_time" readonly="1"/>
|
||||||
@@ -235,6 +236,10 @@
|
|||||||
attrs="{'invisible': [('state', '!=', 'done')]}" data-hotkey="shift+v"
|
attrs="{'invisible': [('state', '!=', 'done')]}" data-hotkey="shift+v"
|
||||||
groups="sf_base.group_sf_mrp_user"/>
|
groups="sf_base.group_sf_mrp_user"/>
|
||||||
</xpath>
|
</xpath>
|
||||||
|
|
||||||
|
<xpath expr="//sheet//notebook//page[@name='operations']" position="attributes">
|
||||||
|
<attribute name="attrs">{'invisible': [('schedule_state', '=', '未排')]}</attribute>
|
||||||
|
</xpath>
|
||||||
</field>
|
</field>
|
||||||
</record>
|
</record>
|
||||||
|
|
||||||
|
|||||||
Reference in New Issue
Block a user