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.
6 lines
86 B
Python
6 lines
86 B
Python
# -*- coding: utf-8 -*-
|
|
|
|
import payment_acquirer
|
|
import res_config
|
|
import res_partner
|