修改库存配置的审核按钮

This commit is contained in:
qihao.gong@jikimo.com
2024-01-22 14:30:53 +08:00
parent aa810bbda2
commit e80056938f
2 changed files with 17 additions and 17 deletions

View File

@@ -175,17 +175,17 @@
<!-- sequence="50" -->
<!-- action="kanban_action_id"/> -->
<record id="view_location_tree2_sf_inherit" model="ir.ui.view">
<field name="name">stock.location.tree.sf.inherit</field>
<field name="model">stock.location</field>
<field name="inherit_id" ref="stock.view_location_tree2"/>
<field name="arch" type="xml">
<xpath expr="//field[last()]" position="after">
<field name="check_state" widget="label_selection"
options="{'classes': {'unchecked':'warning','checked': 'success'}}"/>
</xpath>
</field>
</record>
<!-- <record id="view_location_tree2_sf_inherit" model="ir.ui.view">-->
<!-- <field name="name">stock.location.tree.sf.inherit</field>-->
<!-- <field name="model">stock.location</field>-->
<!-- <field name="inherit_id" ref="stock.view_location_tree2"/>-->
<!-- <field name="arch" type="xml">-->
<!-- <xpath expr="//field[last()]" position="after">-->
<!-- <field name="check_state" widget="label_selection"-->
<!-- options="{'classes': {'unchecked':'warning','checked': 'success'}}"/>-->
<!-- </xpath>-->
<!-- </field>-->
<!-- </record>-->
<!--仓库根据权限增加审核按钮-->
<record id="view_warehouse_form_sf_inherit" model="ir.ui.view">