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/ir.model.access.csv | 6 +++++- 1 file changed, 5 insertions(+), 1 deletion(-) (limited to 'addons/payment/security/ir.model.access.csv') diff --git a/addons/payment/security/ir.model.access.csv b/addons/payment/security/ir.model.access.csv index f52f9a44d4e..942718807d5 100644 --- a/addons/payment/security/ir.model.access.csv +++ b/addons/payment/security/ir.model.access.csv @@ -4,4 +4,8 @@ payment_acquirer_user,payment.acquirer.user,model_payment_acquirer,base.group_us payment_acquirer_system,payment.acquirer.system,model_payment_acquirer,base.group_system,1,1,1,1 payment_transaction_all,payment.transaction.all,model_payment_transaction,,1,0,0,0 payment_transaction_user,payment.transaction.user,model_payment_transaction,base.group_user,1,1,1,0 -payment_transaction_system,payment.transaction.system,model_payment_transaction,base.group_system,1,1,1,1 \ No newline at end of file +payment_transaction_system,payment.transaction.system,model_payment_transaction,base.group_system,1,1,1,1 +payment_method_all,payment.method.all,model_payment_method,,1,0,0,0 +payment_method_user,payment.method.user,model_payment_method,base.group_user,1,1,1,0 +payment_method_portal,payment.method.portal,model_payment_method,base.group_portal,1,1,1,0 +payment_method_system,payment.method.system,model_payment_method,base.group_system,1,1,1,1 -- cgit v1.2.3