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">
|
||||
<form string="Online Bank Statement Provider">
|
||||
<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": "active"}'
|
||||
<widget
|
||||
name="web_ribbon"
|
||||
title="Archived"
|
||||
bg_color="bg-danger"
|
||||
attrs="{'invisible': [('active', '=', True)]}"
|
||||
/>
|
||||
</button>
|
||||
<div class="oe_button_box" name="button_box" />
|
||||
<div class="oe_title">
|
||||
<h1><field name="name" class="oe_inline" /></h1>
|
||||
</div>
|
||||
<notebook>
|
||||
<page name="details" string="Details">
|
||||
@@ -59,6 +55,7 @@
|
||||
<field name="company_id" />
|
||||
</group>
|
||||
<group>
|
||||
<field name="active" invisible="1" />
|
||||
<field name="journal_id" />
|
||||
<field name="currency_id" />
|
||||
<field name="account_number" />
|
||||
|
||||
Reference in New Issue
Block a user