| REPOSITORY | |
|---|---|
| REPOSITORY | OCA/account-payment |
| GIT | |
| GIT | https://github.com/OCA/account-payment.git |
| GIT FOLDER | |
| GIT FOLDER | https://github.com/OCA/account-payment/tree/17.0/product_restrict_payment_acquirer |
| VERSION | |
| VERSION | 1.0.0 |
| CATEGORY | |
| CATEGORY | Accounting |
| LICENSE | |
| LICENSE | AGPL-3 |
| APPLICATION | |
| APPLICATION | No |
| AUTO-INSTALLABLE | |
| AUTO-INSTALLABLE | No |
| AUTHORS | |
| AUTHORS | Odoo Community Association (OCA), Cetmix |
| MAINTAINERS | |
| MAINTAINERS | Odoo Community Association (OCA), Cetmix |
| COMMITTERS | |
| COMMITTERS | OCA-git-bot, oca-ci, Mohajiro |
| WEBSITE | |
| WEBSITE | https://github.com/OCA/account-payment |
| LAST TRACKING UPDATE | |
| LAST TRACKING UPDATE | 2026-07-06 19:20:09 |
| ODOO DEPENDENCIES | |
| ODOO DEPENDENCIES |
OCA/account-payment: - partner_restrict_payment_acquirer odoo/odoo: - sale - sales_team - base - base_setup - web - bus - web_tour - account_payment - account - onboarding - product - uom - analytic - portal - web_editor - http_routing - auth_signup - digest - resource - payment - utm |
| PYTHON DEPENDENCIES | |
| PYTHON DEPENDENCIES | Not have |
| SYSTEM DEPENDENCIES | |
| SYSTEM DEPENDENCIES | Not have |
| DESCRIPTION | |
| DESCRIPTION | This module extends **partner_restrict_payment_acquirer** module functionality. It allows to restrict payment acquirers based on products selected in Sales Order lines. Only selected acquirers will be available for on-line payment in portal. |
| XML ID | Name | Model | Type | Status |
|---|---|---|---|---|
product_template_acquirer_view_form |
product.template.form.inherit.sale.product | product.template | xpath | Inherits product.product_template_only_form_view |
res_config_settings_view_form |
res.config.settings.view.form.inherit.sale | res.config.settings | xpath | Inherits base.res_config_settings_view_form |
No new fields.
Public methods (0)No public methods.
allowed_payment_provider_ids
Many2many → payment.provider
column1='product_id'
column2='provider_id'
comodel_name='payment.provider'
copy=False
domain=[('state', 'in', ['enabled', 'test'])]
relation='product_payment_provider_rel'
string='Allowed Payment Providers'
No public methods.
product_acquirer_restriction_mode
Selection
config_parameter='product_acquirer_settings.product_acquirer_restriction_mode'
selection=[('first', 'First Product'), ('all', 'All Products')]
No public methods.
| REPOSITORY | |
|---|---|
| REPOSITORY | OCA/account-payment |
| GIT | |
| GIT | https://github.com/OCA/account-payment.git |
| GIT FOLDER | |
| GIT FOLDER | https://github.com/OCA/account-payment/tree/14.0/product_restrict_payment_acquirer |
| VERSION | |
| VERSION | 1.0.0 |
| CATEGORY | |
| CATEGORY | Accounting |
| LICENSE | |
| LICENSE | AGPL-3 |
| APPLICATION | |
| APPLICATION | No |
| AUTO-INSTALLABLE | |
| AUTO-INSTALLABLE | No |
| AUTHORS | |
| AUTHORS | Odoo Community Association (OCA), Cetmix |
| MAINTAINERS | |
| MAINTAINERS | Odoo Community Association (OCA), Cetmix |
| COMMITTERS | |
| COMMITTERS | Weblate, OCA-git-bot, oca-ci, Bearnard21 |
| WEBSITE | |
| WEBSITE | https://github.com/OCA/account-payment |
| LAST TRACKING UPDATE | |
| LAST TRACKING UPDATE | 2026-07-06 00:41:09 |
| ODOO DEPENDENCIES | |
| ODOO DEPENDENCIES |
OCA/account-payment: - partner_restrict_payment_acquirer odoo/odoo: - sale - sales_team - base - base_setup - web - bus - web_tour - payment - account - product - uom - analytic - portal - web_editor - http_routing - auth_signup - digest - resource - utm |
| PYTHON DEPENDENCIES | |
| PYTHON DEPENDENCIES | Not have |
| SYSTEM DEPENDENCIES | |
| SYSTEM DEPENDENCIES | Not have |
| DESCRIPTION | |
| DESCRIPTION | |
| XML ID | Name | Model | Type | Status |
|---|---|---|---|---|
product_template_acquirer_view_form |
product.template.form.inherit.sale.product | product.template | xpath | Inherits product.product_template_only_form_view |
res_config_settings_view_form |
res.config.settings.view.form.inherit.sale | res.config.settings | xpath | Inherits base.res_config_settings_view_form |
No new fields.
Public methods (1)get_allowed_acquirers(self, acquirers, invoice_id=None, order_id=None)
allowed_product_acquirer_ids
Many2many → payment.acquirer
column1='product_id'
column2='acquirer_id'
comodel_name='payment.acquirer'
domain=[('state', 'in', ['enabled', 'test'])]
relation='product_acquirer_allowed_rel'
string='Allowed Acquirers'
No public methods.
product_acquirer_restriction_mode
Selection
selection=[('first', 'First Product'), ('all', 'All Products')]
get_values(self)
set_values(self)