mirror of
https://github.com/OCA/bank-statement-import.git
synced 2025-01-20 12:37:43 +02:00
[IMP] account_bank_statement_import_online: Add web_ribbon and name to provider form to improve UX.
This commit is contained in:
@@ -38,19 +38,15 @@
|
|||||||
<field name="arch" type="xml">
|
<field name="arch" type="xml">
|
||||||
<form string="Online Bank Statement Provider">
|
<form string="Online Bank Statement Provider">
|
||||||
<sheet>
|
<sheet>
|
||||||
<div class="oe_button_box" name="button_box">
|
<widget
|
||||||
<button
|
name="web_ribbon"
|
||||||
class="oe_stat_button"
|
title="Archived"
|
||||||
type="object"
|
bg_color="bg-danger"
|
||||||
name="toggle_active"
|
attrs="{'invisible': [('active', '=', True)]}"
|
||||||
icon="fa-archive"
|
|
||||||
>
|
|
||||||
<field
|
|
||||||
name="active"
|
|
||||||
widget="boolean_button"
|
|
||||||
options='{"terminology": "active"}'
|
|
||||||
/>
|
/>
|
||||||
</button>
|
<div class="oe_button_box" name="button_box" />
|
||||||
|
<div class="oe_title">
|
||||||
|
<h1><field name="name" class="oe_inline" /></h1>
|
||||||
</div>
|
</div>
|
||||||
<notebook>
|
<notebook>
|
||||||
<page name="details" string="Details">
|
<page name="details" string="Details">
|
||||||
@@ -59,6 +55,7 @@
|
|||||||
<field name="company_id" />
|
<field name="company_id" />
|
||||||
</group>
|
</group>
|
||||||
<group>
|
<group>
|
||||||
|
<field name="active" invisible="1" />
|
||||||
<field name="journal_id" />
|
<field name="journal_id" />
|
||||||
<field name="currency_id" />
|
<field name="currency_id" />
|
||||||
<field name="account_number" />
|
<field name="account_number" />
|
||||||
|
|||||||
Reference in New Issue
Block a user