制造订单报错问题
This commit is contained in:
@@ -383,7 +383,7 @@
|
||||
<field name="process_parameters_id"
|
||||
attrs="{'readonly': [('id', '!=', False),('routing_tag', '=', 'standard')]}"
|
||||
string="参数" context="{'route_id':route_id,'production_id': production_id}"
|
||||
options="{'no_create': True}"/>
|
||||
options="{'no_create': True}" domain="[('routing_id', '=', 'route_id')]"/>
|
||||
<field name="panel" readonly="1"/>
|
||||
<field name="routing_tag" readonly="1" widget="badge"
|
||||
decoration-success="routing_tag == 'standard'"
|
||||
@@ -459,7 +459,11 @@
|
||||
<attribute name="decoration-warning">delivery_warning == 'warning'</attribute>
|
||||
<attribute name="decoration-danger">delivery_warning == 'overdue'</attribute>
|
||||
</xpath>
|
||||
<!-- <xpath expr="//field[@name='create_date']" position="before">-->
|
||||
<!-- -->
|
||||
<!-- </xpath>-->
|
||||
<xpath expr="//field[@name='state']" position="replace">
|
||||
<field name="create_date" invisible="True"/>
|
||||
<field name="delivery_warning" invisible="True"/>
|
||||
<field name="state" widget="badge" decoration-warning="state == 'progress'"
|
||||
decoration-success="state == 'done'" decoration-danger="state in ('cancel','rework')"
|
||||
|
||||
Reference in New Issue
Block a user