sf-询价单-新增状态及修改未审批的提示语句

This commit is contained in:
mgw
2024-12-30 15:50:25 +08:00
parent 89d6752012
commit c82db7159d
2 changed files with 6 additions and 1 deletions

View File

@@ -8,6 +8,10 @@
<field name="arch" type="xml">
<xpath expr="//header/button[@name='button_cancel']" position="replace">
</xpath>
<xpath expr="//header/field[@name='state']" position="replace">
<field name="state" widget="statusbar" statusbar_visible="draft,sent,to approve, approved, purchase" readonly="1"/>
</xpath>
<xpath expr="//header/button[last()]" position="after">
<button name="button_cancel" states="draft,to approve,sent,purchase" string="取消" type="object" data-hotkey="x" />