Move the compute button in the header

This commit is contained in:
Guewen Baconnier
2014-12-15 14:06:09 +01:00
parent 7eac11eb4e
commit cf40215601

View File

@@ -18,6 +18,11 @@
<field name="arch" type="xml">
<form string="Credit control run">
<header>
<button name="generate_credit_lines"
string="Compute Credit Control Lines"
class="oe_highlight"
type="object" icon="gtk-execute"
attrs="{'invisible': [('state', '!=', 'draft')]}"/>
<field name="state" widget="statusbar"
statusbar_visible="draft,done"
statusbar_colors='{}'/>
@@ -38,13 +43,6 @@
<field name="manual_ids" colspan="4" nolabel="1"/>
</page>
</notebook>
<group col="3" colspan="4">
<button name="generate_credit_lines"
string="Compute Credit Control Lines"
colspan="1"
type="object" icon="gtk-execute"
attrs="{'invisible': [('state', '!=', 'draft')]}"/>
</group>
</sheet>
</form>
</field>