summaryrefslogtreecommitdiff
path: root/addons/payment_buckaroo
diff options
context:
space:
mode:
authorMartin Geubelle <mge@odoo.com>2016-02-02 16:36:39 +0100
committerMartin Geubelle <mge@odoo.com>2016-03-10 13:41:07 +0100
commit1d777d6d952d462b13bdcd8e39836fd339d26107 (patch)
tree5023eb9ac5d64b5631f7a463582536c42021d7cb /addons/payment_buckaroo
parented589ca98a2910fa802b51a577d6a36c6d511c27 (diff)
[IMP] payment, payment_*: acquirers installation
The installation of a new acquirer was a bit complicated : from settings, check the acquirer, then apply (install the module) then list view of acquirer and finally edit it in form view. This needed to be simplified. The payment acquirers are pre-filled in payment. From the kanban view an `Install` button installs and redirects to the form field.
Diffstat (limited to 'addons/payment_buckaroo')
-rw-r--r--addons/payment_buckaroo/data/buckaroo.xml2
-rw-r--r--addons/payment_buckaroo/tests/test_buckaroo.py2
2 files changed, 2 insertions, 2 deletions
diff --git a/addons/payment_buckaroo/data/buckaroo.xml b/addons/payment_buckaroo/data/buckaroo.xml
index ff6f2504d97..57e28818212 100644
--- a/addons/payment_buckaroo/data/buckaroo.xml
+++ b/addons/payment_buckaroo/data/buckaroo.xml
@@ -2,7 +2,7 @@
<openerp>
<data noupdate="1">
- <record id="payment_acquirer_buckaroo" model="payment.acquirer">
+ <record id="payment.payment_acquirer_buckaroo" model="payment.acquirer">
<field name="name">Buckaroo</field>
<field name="image" type="base64" file="payment_buckaroo/static/description/icon.png"/>
<field name="provider">buckaroo</field>
diff --git a/addons/payment_buckaroo/tests/test_buckaroo.py b/addons/payment_buckaroo/tests/test_buckaroo.py
index b23de66c49c..9f8c311b64a 100644
--- a/addons/payment_buckaroo/tests/test_buckaroo.py
+++ b/addons/payment_buckaroo/tests/test_buckaroo.py
@@ -20,7 +20,7 @@ class BuckarooCommon(PaymentAcquirerCommon):
self.base_url = self.registry('ir.config_parameter').get_param(cr, uid, 'web.base.url')
# get the buckaroo account
- model, self.buckaroo_id = self.registry('ir.model.data').get_object_reference(cr, uid, 'payment_buckaroo', 'payment_acquirer_buckaroo')
+ model, self.buckaroo_id = self.registry('ir.model.data').get_object_reference(cr, uid, 'payment', 'payment_acquirer_buckaroo')
@openerp.tests.common.at_install(False)