From 70a28e97b46110428e6e14b91dba240d968148fa Mon Sep 17 00:00:00 2001 From: Christophe Matthieu Date: Thu, 10 Oct 2013 17:54:47 +0200 Subject: [PATCH] [WIP] bzr revid: chm@openerp.com-20131010155447-b0ys8arhhbhb211e --- addons/payment_acquirer/payment_acquirer.py | 5 ++- .../payment_acquirer_data.xml | 34 +++++++++++++------ 2 files changed, 28 insertions(+), 11 deletions(-) diff --git a/addons/payment_acquirer/payment_acquirer.py b/addons/payment_acquirer/payment_acquirer.py index f598f768b95..e0f0aaf2922 100644 --- a/addons/payment_acquirer/payment_acquirer.py +++ b/addons/payment_acquirer/payment_acquirer.py @@ -78,4 +78,7 @@ class acquirer(osv.Model): payment = "pending" # "validated" or "refused" or "pending" retry_time = False - return (payment, retry_time) \ No newline at end of file + return (payment, retry_time) + + def _validate_payement_virement(self, cr, uid, ids, object, reference, currency, amount, context=None): + return ("pending", False) diff --git a/addons/payment_acquirer/payment_acquirer_data.xml b/addons/payment_acquirer/payment_acquirer_data.xml index 6e842cab45d..b857a41e38b 100644 --- a/addons/payment_acquirer/payment_acquirer_data.xml +++ b/addons/payment_acquirer/payment_acquirer_data.xml @@ -4,20 +4,34 @@ paypal + + virement + Paypal - -
- - - - - - -
-
+ + + + + + + + + ]]>
+ + + Virement + + Numero de compte: + Communication: + + ]]> + +