优化翻译、排序、权限问题

This commit is contained in:
mgw
2024-03-26 18:09:23 +08:00
parent 1212ea0930
commit 7906ff2836
8 changed files with 12 additions and 14 deletions

View File

@@ -117,7 +117,7 @@
<field name="inherit_id" ref="stock.stock_scrap_form_view"/>
<field name="arch" type="xml">
<xpath expr="//header//button[@name='action_validate']" position="replace">
<button name="action_validate" states="draft" string="Validate" type="object" class="oe_highlight"
<button name="action_validate" states="draft" string="确认" type="object" class="oe_highlight"
context="{'not_unlink_on_discard': True}" data-hotkey="v"
groups="sf_warehouse.group_sf_stock_user"/>
</xpath>