!10932 Merge branch 'dev' of <a href="https://gitee.com/jinan-pengyusen-data/gzth">https://gitee.com/jinan-pengyusen-data/gzth</a> into dev_wang
Merge pull request !10932 from 李鹏宇/dev_wang
This commit is contained in:
@@ -78,9 +78,9 @@
|
||||
<field name="model">purchase.order</field>
|
||||
<field name="inherit_id" ref="purchase.purchase_order_form"/>
|
||||
<field name="arch" type="xml">
|
||||
<!-- 显示确认订单按钮 -->
|
||||
<!-- 显示确认订单按钮,仅审批完成后显示 -->
|
||||
<xpath expr="//button[@name='button_confirm']" position="attributes">
|
||||
<attribute name="invisible">0</attribute>
|
||||
<attribute name="invisible">purchase_state != 'done'</attribute>
|
||||
</xpath>
|
||||
|
||||
<!-- 在原生header中添加自定义按钮 -->
|
||||
|
||||
Reference in New Issue
Block a user