From 7c49c1fa17f7911cef5b67a7ef43e4cb30ea585c Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Thibault=20Delavall=C3=A9e?= Date: Fri, 15 Nov 2013 16:22:40 +0100 Subject: [PATCH] [IMP] payment_acquirer: improved classic views of payment.acquirer and payment.transaction models bzr revid: tde@openerp.com-20131115152240-pat403pflcnffba5 --- .../models/payment_acquirer.py | 2 +- .../views/payment_acquirer.xml | 72 ++++++++++--------- 2 files changed, 41 insertions(+), 33 deletions(-) diff --git a/addons/payment_acquirer/models/payment_acquirer.py b/addons/payment_acquirer/models/payment_acquirer.py index 3b0f0626202..0a946e60f4e 100644 --- a/addons/payment_acquirer/models/payment_acquirer.py +++ b/addons/payment_acquirer/models/payment_acquirer.py @@ -36,7 +36,7 @@ class PaymentAcquirer(osv.Model): _columns = { 'name': fields.char('Name', required=True), - 'view_template_id': fields.many2one('ir.ui.view', required=True), + 'view_template_id': fields.many2one('ir.ui.view', 'Form Button Template', required=True), 'env': fields.selection( [('test', 'Test'), ('prod', 'Production')], string='Environment'), diff --git a/addons/payment_acquirer/views/payment_acquirer.xml b/addons/payment_acquirer/views/payment_acquirer.xml index ada65487783..61b8711b675 100644 --- a/addons/payment_acquirer/views/payment_acquirer.xml +++ b/addons/payment_acquirer/views/payment_acquirer.xml @@ -11,32 +11,30 @@ payment.acquirer
- -
-
- + + + + +
@@ -79,20 +77,30 @@ payment.transaction
- - - - - - - - - - - - - - + + + + + + + + + + + + + + + + + + + + +
+ + +