优化工件配送
This commit is contained in:
@@ -5,13 +5,32 @@
|
||||
<field name="model">sf.workpiece.delivery.wizard</field>
|
||||
<field name="arch" type="xml">
|
||||
<form>
|
||||
<sheet>
|
||||
<field name="delivery_ids" invisible="True"/>
|
||||
<field name="workorder_id" invisible="True"/>
|
||||
<div>是否确定配送?</div>
|
||||
<footer>
|
||||
<button string="确认" name="confirm" type="object" class="oe_highlight"/>
|
||||
<button string="取消" class="btn btn-secondary" special="cancel"/>
|
||||
</footer>
|
||||
<field name="type" invisible="True"/>
|
||||
<group>
|
||||
<field name="production_ids" readonly="1" widget="many2many_tags" string="制造订单号"/>
|
||||
<div class="o_address_format">
|
||||
<lable for="rfid_code"></lable>
|
||||
<field name="rfid_code" class="o_address_zip"/>
|
||||
<button name="recognize_production" string="识别" type="object" class="oe_highlight"/>
|
||||
</div>
|
||||
<field name="destination_production_line_id" readonly="1"/>
|
||||
<field name="route_id" required="1"/>
|
||||
</group>
|
||||
<group>
|
||||
<field name="feeder_station_start_id" focesave="1" readonly="1"/>
|
||||
<field name="feeder_station_destination_id" focesave="1" readonly="1"/>
|
||||
</group>
|
||||
<div attrs="{'invisible': [('type', 'in', ['上产线','下产线'])]}">
|
||||
是否确定配送
|
||||
</div>
|
||||
<footer>
|
||||
<button string="配送" name="confirm" type="object" class="oe_highlight"/>
|
||||
<button string="取消" class="btn btn-secondary" special="cancel"/>
|
||||
</footer>
|
||||
</sheet>
|
||||
</form>
|
||||
</field>
|
||||
</record>
|
||||
|
||||
Reference in New Issue
Block a user