调整编程记录生成
This commit is contained in:
@@ -8,8 +8,19 @@
|
||||
<group>
|
||||
<label for="reason" string="重新编程原因:"/>
|
||||
<field name="reason" widget="textarea" nolabel="1"/>
|
||||
<p class="text-muted">注意:该制造订单产品已申请重新编程次数为<field name="reprogramming_count" readonly="1" nolabel="1" class="oe_inline"/>,且当前编程状态为<field name="programming_state" readonly="1" nolabel="1" class="oe_inline"/></p>
|
||||
<!-- <p class="text-muted">注意:该制造订单产品已申请重新编程次数为<field name="reprogramming_count" readonly="1" nolabel="1" class="oe_inline"/>,且当前编程状态为<field name="programming_state" readonly="1" nolabel="1" class="oe_inline"/></p> -->
|
||||
</group>
|
||||
<div attrs='{"invisible": [("reprogramming_count","=",0)]}'>
|
||||
<span style='font-weight:bold;'>
|
||||
注意: 该制造订单产品已申请重新编程次数为<field
|
||||
name="reprogramming_count" string=""
|
||||
readonly="1"
|
||||
style='color:red;'/>,且当前编程状态为
|
||||
<field name="programming_state" string=""
|
||||
decoration-warning="programming_state =='编程中'"
|
||||
decoration-success="programming_state =='已编程'" readonly="1"/>
|
||||
</span>
|
||||
</div>
|
||||
<field name="production_id" invisible="True"/>
|
||||
<footer>
|
||||
<button name="action_confirm" string="确认" type="object" class="btn-primary"/>
|
||||
|
||||
Reference in New Issue
Block a user