summaryrefslogtreecommitdiff
path: root/addons/base_import/static/src/xml
diff options
context:
space:
mode:
authorJoren Van Onder <jov@odoo.com>2019-08-19 12:30:39 -0700
committerJoren Van Onder <jov@odoo.com>2019-08-23 13:33:28 -0700
commitcd4b10b004f69098b6cf8193a171bb3c14f22b97 (patch)
tree17c2e6f89f39408aa37b6b00196c6d19fabc85f8 /addons/base_import/static/src/xml
parent296c2ea13d206a10adb868b143120896d46e3519 (diff)
[IMP] point_of_sale: generic electronic payment interface
This is an interface that can be implemented to support some electronic payment method in the POS. It's extracted from the existing pos_iot code. To implement a payment method you: - Python: add a selection to the use_payment_terminal field in Python - JS: implement the PaymentInterface class - JS: register your PaymentInterface in point_of_sale.models: models.register_payment_method( 'use_payment_terminal_selection_value', ImplementedPaymentInterface ); See the documentation of PaymentInterface for details on what each method does and when it is called. Co-authored-by: Antoine Prieels <anp@odoo.com>
Diffstat (limited to 'addons/base_import/static/src/xml')
0 files changed, 0 insertions, 0 deletions