修改库存配置的审核按钮
This commit is contained in:
@@ -9,12 +9,12 @@
|
|||||||
<field name="name" string="名称"/>
|
<field name="name" string="名称"/>
|
||||||
<field name="barcode" string="编码"/>
|
<field name="barcode" string="编码"/>
|
||||||
<field name="location_type"/>
|
<field name="location_type"/>
|
||||||
<field name="check_state" widget="label_selection"
|
<!-- <field name="check_state" widget="label_selection"-->
|
||||||
options="{'classes': {'unchecked':'warning','checked': 'success'}}"/>
|
<!-- options="{'classes': {'unchecked':'warning','checked': 'success'}}"/>-->
|
||||||
<button name="action_check" string="审核" type="object"
|
<!-- <button name="action_check" string="审核" type="object"-->
|
||||||
attrs="{'invisible': [('check_state','=', 'enable')]}"
|
<!-- attrs="{'invisible': [('check_state','=', 'enable')]}"-->
|
||||||
groups="sf_warehouse.group_sf_stock_manager"
|
<!-- groups="sf_warehouse.group_sf_stock_manager"-->
|
||||||
class="oe_highlight"/>
|
<!-- class="oe_highlight"/>-->
|
||||||
</tree>
|
</tree>
|
||||||
</field>
|
</field>
|
||||||
</record>
|
</record>
|
||||||
|
|||||||
@@ -175,17 +175,17 @@
|
|||||||
<!-- sequence="50" -->
|
<!-- sequence="50" -->
|
||||||
<!-- action="kanban_action_id"/> -->
|
<!-- action="kanban_action_id"/> -->
|
||||||
|
|
||||||
<record id="view_location_tree2_sf_inherit" model="ir.ui.view">
|
<!-- <record id="view_location_tree2_sf_inherit" model="ir.ui.view">-->
|
||||||
<field name="name">stock.location.tree.sf.inherit</field>
|
<!-- <field name="name">stock.location.tree.sf.inherit</field>-->
|
||||||
<field name="model">stock.location</field>
|
<!-- <field name="model">stock.location</field>-->
|
||||||
<field name="inherit_id" ref="stock.view_location_tree2"/>
|
<!-- <field name="inherit_id" ref="stock.view_location_tree2"/>-->
|
||||||
<field name="arch" type="xml">
|
<!-- <field name="arch" type="xml">-->
|
||||||
<xpath expr="//field[last()]" position="after">
|
<!-- <xpath expr="//field[last()]" position="after">-->
|
||||||
<field name="check_state" widget="label_selection"
|
<!-- <field name="check_state" widget="label_selection"-->
|
||||||
options="{'classes': {'unchecked':'warning','checked': 'success'}}"/>
|
<!-- options="{'classes': {'unchecked':'warning','checked': 'success'}}"/>-->
|
||||||
</xpath>
|
<!-- </xpath>-->
|
||||||
</field>
|
<!-- </field>-->
|
||||||
</record>
|
<!-- </record>-->
|
||||||
|
|
||||||
<!--仓库根据权限增加审核按钮-->
|
<!--仓库根据权限增加审核按钮-->
|
||||||
<record id="view_warehouse_form_sf_inherit" model="ir.ui.view">
|
<record id="view_warehouse_form_sf_inherit" model="ir.ui.view">
|
||||||
|
|||||||
Reference in New Issue
Block a user