Repository
OCA/account-payment · module folder · Try on Runboat
Module version
1.0.0
Category
Accounting
Folder size
0.05 MB
License
AGPL-3
Application
No
Auto-installable
No
Website
https://github.com/OCA/account-payment
Last tracking update
2026-08-07 08:23:01
Authors
Odoo Community Association (OCA), Cetmix
Maintainers
Odoo Community Association (OCA), Cetmix
Committers
OCA-git-bot, oca-ci, Mohajiro
Odoo dependencies
Python dependencies
None
System dependencies
None
Required by
None
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.

Code Analysis

Views touched (2)
XML IDNameModelTypeStatus
product_template_acquirer_view_form product.template.form.inherit.sale.product product.template form Inherits product.product_template_only_form_view
res_config_settings_view_form res.config.settings.view.form.inherit.sale res.config.settings form Inherits base.res_config_settings_view_form
HTTP endpoints (0)

No HTTP endpoints found for this module.

Models touched (3)

New fields (0)

No new fields.

Public methods (0)

No public methods.

New fields (1)
  • 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'
Public methods (0)

No public methods.

New fields (1)
  • product_acquirer_restriction_mode Selection
    config_parameter='product_acquirer_settings.product_acquirer_restriction_mode' selection=[('first', 'First Product'), ('all', 'All Products')]
Public methods (0)

No public methods.

Loading…