完善人工编程功能
This commit is contained in:
@@ -26,7 +26,7 @@
|
||||
<!-- <attribute name="attrs">{'invisible': [('state', '!=', 'draft')]}</attribute> -->
|
||||
<!-- </xpath> -->
|
||||
<xpath expr="//header/button[@name='action_cancel']" position="attributes">
|
||||
<attribute name="attrs">{'invisible': [('state', 'not in', ['draft', 'supply method', 'sale', 'processing'])]}</attribute>
|
||||
<attribute name="attrs">{'invisible': [('state', 'not in', ['draft', 'supply method'])]}</attribute>
|
||||
<attribute name="confirm">警告:取消操作将不可逆,是否确定要取消该单据?</attribute>
|
||||
</xpath>
|
||||
<xpath expr="//header/button[@name='action_quotation_send'][5]" position="attributes">
|
||||
@@ -36,9 +36,9 @@
|
||||
<xpath expr="//header/button[@name='action_cancel']" position="after">
|
||||
<button
|
||||
name="action_show_cancel_wizard"
|
||||
string="取消(关联单据)"
|
||||
string="取消"
|
||||
type="object"
|
||||
attrs="{'invisible': [('state', 'not in', ['draft', 'supply method', 'sale', 'processing'])]}"
|
||||
attrs="{'invisible': [('state', 'not in', ['sale', 'processing'])]}"
|
||||
/>
|
||||
</xpath>
|
||||
</field>
|
||||
|
||||
Reference in New Issue
Block a user