diff options
| author | Jitendra Prajapati <jpr@openerp.com> | 2017-05-17 12:04:23 +0200 |
|---|---|---|
| committer | Thibault Delavallée <tde@odoo.com> | 2017-05-17 14:40:35 +0200 |
| commit | de5433f4154f7fbd9b496432637c7fd27eb7ced7 (patch) | |
| tree | 5689f4698e9efa494061be5117c8037eceeb7d10 /addons/website_payment | |
| parent | 327be89d0bf16dd339c69102d24ab5583fb33298 (diff) | |
[IMP] payment: improve usability of tx views
* add provider, related on acquirer_id.provider, in order to display
certain piece of information on tx depending on their provider;
* better tx form view and partner address display;
* remove unnecessary notebook on tx form view as it is not used;
* rename Payment Acquirers menu into Payment Methods, easier to
understand;
* acquirer kanban view improved to install / activate / configure them
depending on their state;
* be able to publish / unpublish acquirers without having to wait for
website_payment to add a button;
Diffstat (limited to 'addons/website_payment')
| -rw-r--r-- | addons/website_payment/views/website_payment_view.xml | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/addons/website_payment/views/website_payment_view.xml b/addons/website_payment/views/website_payment_view.xml index 086fb843045..d7510a6d24f 100644 --- a/addons/website_payment/views/website_payment_view.xml +++ b/addons/website_payment/views/website_payment_view.xml @@ -24,11 +24,11 @@ <field name="model">payment.acquirer</field> <field name="inherit_id" ref="payment.acquirer_form"/> <field name="arch" type="xml"> - <xpath expr="//div[@class='oe_button_box']/*[1]" position="before"> + <button name="toggle_website_published" position="replace"> <button class="oe_stat_button" name="website_publish_button" type="object" icon="fa-globe"> <field name="website_published" widget="website_button"/> </button> - </xpath> + </button> </field> </record> |
