托盘根据工单绑定制造订单,修改托盘状态

添加解除装夹功能
三元定位增加xy 8个点的字段
This commit is contained in:
gqh
2022-10-31 17:32:44 +08:00
parent ccb26bc4ec
commit d375787160
4 changed files with 159 additions and 32 deletions

View File

@@ -9,8 +9,18 @@
<notebook>
<page string="生成条形码">
<field name='qr_image' widget="image"/>
<field name='production_id' default="production_id.name"/>
<group>
<field name='production_id' readonly="1"
attrs='{"invisible": [("production_id","=",False)]}'/>
<field name="workorder_id"/>
</group>
<div class="col-12 col-lg-6 o_setting_box">
<button type="object" class="oe_highlight" name="unclamp" string="解除装夹"
attrs='{"invisible": [("state","=","空闲")]}'/>
</div>
</page>
</notebook>
</xpath>
</field>