mirror of
https://github.com/OCA/rma.git
synced 2025-02-16 17:11:47 +02:00
Remove useless archive/unarchive button on form views
Co-authored-by: Ernesto Tejeda <ernesto.tejeda87@gmail.com>
This commit is contained in:
@@ -24,20 +24,6 @@
|
|||||||
<field name="arch" type="xml">
|
<field name="arch" type="xml">
|
||||||
<form string="RMA Tag">
|
<form string="RMA Tag">
|
||||||
<sheet>
|
<sheet>
|
||||||
<div class="oe_button_box" name="button_box">
|
|
||||||
<button
|
|
||||||
class="oe_stat_button"
|
|
||||||
type="object"
|
|
||||||
name="toggle_active"
|
|
||||||
icon="fa-archive"
|
|
||||||
>
|
|
||||||
<field
|
|
||||||
name="active"
|
|
||||||
widget="boolean_button"
|
|
||||||
options='{"terminology": "archive"}'
|
|
||||||
/>
|
|
||||||
</button>
|
|
||||||
</div>
|
|
||||||
<group>
|
<group>
|
||||||
<field name="name" />
|
<field name="name" />
|
||||||
<field name="is_public" />
|
<field name="is_public" />
|
||||||
|
|||||||
@@ -19,20 +19,6 @@
|
|||||||
<field name="arch" type="xml">
|
<field name="arch" type="xml">
|
||||||
<form>
|
<form>
|
||||||
<sheet>
|
<sheet>
|
||||||
<div class="oe_button_box" name="button_box">
|
|
||||||
<button
|
|
||||||
name="toggle_active"
|
|
||||||
type="object"
|
|
||||||
class="oe_stat_button"
|
|
||||||
icon="fa-archive"
|
|
||||||
>
|
|
||||||
<field
|
|
||||||
name="active"
|
|
||||||
widget="boolean_button"
|
|
||||||
options='{"terminology": "archive"}'
|
|
||||||
/>
|
|
||||||
</button>
|
|
||||||
</div>
|
|
||||||
<div class="oe_title">
|
<div class="oe_title">
|
||||||
<label for="name" class="oe_edit_only" string="RMA Team" />
|
<label for="name" class="oe_edit_only" string="RMA Team" />
|
||||||
<h1>
|
<h1>
|
||||||
|
|||||||
Reference in New Issue
Block a user