[IMP] base,product: archiving without debug mode
Also added these options through to action menu, which is a magic
stuff that looks if the active field is in the view.
Continuation of 4c1224f5ec.
This commit is contained in:
committed by
David Monjoie
parent
a5f6622670
commit
1fa6788a47
@@ -60,6 +60,7 @@
|
||||
<field name="categ_id"/>
|
||||
<field name="type"/>
|
||||
<field name="uom_id" invisible="1"/>
|
||||
<field name="active" invisible="1"/>
|
||||
</tree>
|
||||
</field>
|
||||
</record>
|
||||
@@ -440,6 +441,7 @@
|
||||
<field name="uom_id" options="{'no_open': True, 'no_create': True}"/>
|
||||
<field name="barcode"/>
|
||||
<field name="product_tmpl_id" invisible="1"/>
|
||||
<field name="active" invisible="1"/>
|
||||
</tree>
|
||||
</field>
|
||||
</record>
|
||||
|
||||
@@ -64,6 +64,7 @@
|
||||
<field name="is_company" invisible="1"/>
|
||||
<field name="country_id" invisible="1"/>
|
||||
<field name="parent_id" invisible="1"/>
|
||||
<field name="active" invisible="1"/>
|
||||
</tree>
|
||||
</field>
|
||||
</record>
|
||||
@@ -143,7 +144,7 @@
|
||||
<form string="Partners">
|
||||
<sheet>
|
||||
<div class="oe_button_box" name="button_box">
|
||||
<button name="toggle_active" type="object" groups="base.group_no_one"
|
||||
<button name="toggle_active" type="object"
|
||||
class="oe_stat_button" icon="fa-archive">
|
||||
<field name="active" widget="boolean_button"
|
||||
options='{"terminology": "archive"}'/>
|
||||
|
||||
Reference in New Issue
Block a user