Partner Restrict Payment Acquirer

partner_restrict_payment_acquirer
REPOSITORY
REPOSITORYOCA/account-payment
GIT
GIThttps://github.com/OCA/account-payment.git
GIT FOLDER
GIT FOLDERhttps://github.com/OCA/account-payment/tree/17.0/partner_restrict_payment_acquirer
VERSION
VERSION 1.0.0
CATEGORY
CATEGORYAccounting
LICENSE
LICENSEAGPL-3
APPLICATION
APPLICATIONNo
AUTO-INSTALLABLE
AUTO-INSTALLABLENo
AUTHORS
AUTHORSOdoo Community Association (OCA), Cetmix
MAINTAINERS
MAINTAINERSOdoo Community Association (OCA), Cetmix
COMMITTERS
COMMITTERSGabbasovDinar, Weblate, OCA-git-bot, oca-ci
WEBSITE
WEBSITEhttps://github.com/OCA/account-payment
LAST TRACKING UPDATE
LAST TRACKING UPDATE2026-07-06 19:20:09
ODOO DEPENDENCIES
ODOO DEPENDENCIES odoo/odoo:
    - sale
    - sales_team
    - base
    - mail
    - 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 allows to restrict payment providers for partner. Only
selected providers will be available for online payment in portal.

Code Analysis

Views touched (1)
XML IDNameModelTypeStatus
view_partner_form res.partner.form.view res.partner group Inherits base.view_partner_form
Models touched (2)

New fields (0)

No new fields.

Public methods (0)

No public methods.

New fields (1)
  • allowed_payment_provider_ids Many2many → payment.provider
    column1='partner_id' column2='payment_provider_id' comodel_name='payment.provider' domain=[('state', 'in', ['enabled', 'test'])] relation='partner_allowed_payment_provider_rel' string='Allowed Payment Providers'
Public methods (0)

No public methods.

REPOSITORY
REPOSITORYOCA/account-payment
GIT
GIThttps://github.com/OCA/account-payment.git
GIT FOLDER
GIT FOLDERhttps://github.com/OCA/account-payment/tree/15.0/partner_restrict_payment_acquirer
VERSION
VERSION 1.0.0
CATEGORY
CATEGORYAccounting
LICENSE
LICENSEAGPL-3
APPLICATION
APPLICATIONNo
AUTO-INSTALLABLE
AUTO-INSTALLABLENo
AUTHORS
AUTHORSOdoo Community Association (OCA), Cetmix
MAINTAINERS
MAINTAINERSOdoo Community Association (OCA), Cetmix
COMMITTERS
COMMITTERSWeblate, OCA-git-bot, oca-ci, Patryk Pyczko
WEBSITE
WEBSITEhttps://github.com/OCA/account-payment
LAST TRACKING UPDATE
LAST TRACKING UPDATE2026-07-06 00:46:41
ODOO DEPENDENCIES
ODOO DEPENDENCIES odoo/odoo:
    - sale_management
    - sale
    - sales_team
    - base
    - mail
    - 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

Code Analysis

Views touched (2)
XML IDNameModelTypeStatus
checkout checkout ir.ui.view qweb Inherits payment.checkout
view_partner_form res.partner.form.view res.partner group Inherits base.view_partner_form
Models touched (2)

New fields (0)

No new fields.

Public methods (1)
  • get_allowed_acquirers(self, acquirers, invoice_id=None, order_id=None)
    @api.model
    Get allowed acquirers by the customer :param list acquirers: list of acquirers :param int invoice_id: invoice id :param int order_id: quotation id :return list: List of allowed acquirers

New fields (1)
  • allowed_acquirer_ids Many2many → payment.acquirer
    column1='partner_id' column2='acquirer_id' comodel_name='payment.acquirer' domain=[('state', 'in', ['enabled', 'test'])] relation='partner_acquirer_allowed_rel' string='Allowed Acquirers'
Public methods (0)

No public methods.

REPOSITORY
REPOSITORYOCA/account-payment
GIT
GIThttps://github.com/OCA/account-payment.git
GIT FOLDER
GIT FOLDERhttps://github.com/OCA/account-payment/tree/14.0/partner_restrict_payment_acquirer
VERSION
VERSION 1.0.0
CATEGORY
CATEGORYAccounting
LICENSE
LICENSEAGPL-3
APPLICATION
APPLICATIONNo
AUTO-INSTALLABLE
AUTO-INSTALLABLENo
AUTHORS
AUTHORSOdoo Community Association (OCA), Cetmix
MAINTAINERS
MAINTAINERSOdoo Community Association (OCA), Cetmix
COMMITTERS
COMMITTERSWeblate, OCA-git-bot, oca-ci, geomer198
WEBSITE
WEBSITEhttps://github.com/OCA/account-payment
LAST TRACKING UPDATE
LAST TRACKING UPDATE2026-07-06 00:41:09
ODOO DEPENDENCIES
ODOO DEPENDENCIES odoo/odoo:
    - sale
    - sales_team
    - base
    - mail
    - 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

Code Analysis

Views touched (2)
XML IDNameModelTypeStatus
payment_tokens_list payment_tokens_list ir.ui.view qweb Inherits payment.payment_tokens_list
view_partner_form res.partner.form.view res.partner group Inherits base.view_partner_form
Models touched (2)

New fields (0)

No new fields.

Public methods (1)
  • get_allowed_acquirers(self, acquirers, invoice_id=None, order_id=None)
    @api.model
    Get allowed acquirers by the customer :param list acquirers: list of acquirers :param int invoice_id: invoice id :param int order_id: quotation id :return list: List of allowed acquirers

New fields (1)
  • allowed_acquirer_ids Many2many → payment.acquirer
    column1='partner_id' column2='acquirer_id' comodel_name='payment.acquirer' domain=[('state', 'in', ['enabled', 'test'])] relation='partner_acquirer_allowed_rel' string='Allowed Acquirers'
Public methods (0)

No public methods.

REPOSITORY
REPOSITORYOCA/account-payment
GIT
GIThttps://github.com/OCA/account-payment.git
GIT FOLDER
GIT FOLDERhttps://github.com/OCA/account-payment/tree/13.0/partner_restrict_payment_acquirer
VERSION
VERSION 1.0.0
CATEGORY
CATEGORYAccounting
LICENSE
LICENSEAGPL-3
APPLICATION
APPLICATIONNo
AUTO-INSTALLABLE
AUTO-INSTALLABLENo
AUTHORS
AUTHORSOdoo Community Association (OCA), Cetmix
MAINTAINERS
MAINTAINERSOdoo Community Association (OCA), Cetmix
COMMITTERS
COMMITTERSOCA-git-bot, oca-ci, geomer198
WEBSITE
WEBSITEhttps://github.com/OCA/account-payment
LAST TRACKING UPDATE
LAST TRACKING UPDATE2026-07-06 00:34:19
ODOO DEPENDENCIES
ODOO DEPENDENCIES odoo/odoo:
    - sale
    - sales_team
    - base
    - mail
    - 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

Code Analysis

Views touched (2)
XML IDNameModelTypeStatus
payment_tokens_list payment_tokens_list ir.ui.view qweb Inherits payment.payment_tokens_list
view_partner_form res.partner.form.view res.partner group Inherits base.view_partner_form
Models touched (2)

New fields (0)

No new fields.

Public methods (1)
  • get_allowed_acquirers(self, acquirers, invoice_id=None, order_id=None)
    @api.model
    Get allowed acquirers by the customer :param list acquirers: list of acquirers :param int invoice_id: invoice id :param int order_id: quotation id :return list: List of allowed acquirers

New fields (1)
  • allowed_acquirer_ids Many2many → payment.acquirer
    column1='partner_id' column2='acquirer_id' comodel_name='payment.acquirer' domain=[('state', 'in', ['enabled', 'test'])] relation='partner_acquirer_allowed_rel' string='Allowed Acquirers'
Public methods (0)

No public methods.