From dbd3efef1f0d0566265e31d6f89618ce6beec6cd Mon Sep 17 00:00:00 2001 From: Damien Bouvy Date: Mon, 18 May 2015 14:34:25 +0200 Subject: [IMP] payment: add support for server2server payments This commit adds a new model, Payment Method, which stores a reference to the payment acquirer's database and a reference to a partner. Each payment module must have its own implementation. The implementation is completely abstract but may not suit every provider's way of implementing recurring payments. --- addons/payment/security/payment_security.xml | 13 +++++++++++++ 1 file changed, 13 insertions(+) (limited to 'addons/payment/security/payment_security.xml') diff --git a/addons/payment/security/payment_security.xml b/addons/payment/security/payment_security.xml index 7bae346c648..f2dedd5e6ee 100644 --- a/addons/payment/security/payment_security.xml +++ b/addons/payment/security/payment_security.xml @@ -20,5 +20,18 @@ + + Access own payment methods only + + [('partner_id','=',user.partner_id.id)] + + + + + Access every payment method + + + + -- cgit v1.2.3