1) Add default filter to list view of payment methods. 2) Raise UserError when the user activates a PM linked to only disabled providers. 3) Activate default PMs with the activation of the provider. 4) Disable PMs linked to only disabled providers. 5) Add multi editing to list view of PMs. task-3557315 closes odoo/odoo#139641 closes odoo/odoo#140084 Related: odoo/enterprise#49551 Related: odoo/enterprise#49729 Signed-off-by: Antoine Vandevenne (anv) <anv@odoo.com>
7 lines
194 B
Python
7 lines
194 B
Python
# Part of Odoo. See LICENSE file for full copyright and licensing details.
|
|
|
|
# The codes of the payment methods to activate when Demo is activated.
|
|
DEFAULT_PAYMENT_METHOD_CODES = [
|
|
'demo',
|
|
]
|