When no payment provider is active, admin users should see the 'Activate Stripe' button on the checkout page, allowing them to configure Stripe faster. This commit also disables the provider 'Pay in store when picking the product' in the demo data to improve the testing experience of the eCommerce settings on runbot. task-3235154 closes odoo/odoo#121138 Related: odoo/enterprise#40934 Signed-off-by: Antoine Vandevenne (anv) <anv@odoo.com>
39 lines
1.1 KiB
Python
39 lines
1.1 KiB
Python
# -*- coding: utf-8 -*-
|
|
|
|
{
|
|
'name': 'Website Payment',
|
|
'category': 'Hidden',
|
|
'summary': 'Payment integration with website',
|
|
'version': '1.0',
|
|
'description': """
|
|
This is a bridge module that adds multi-website support for payment providers.
|
|
""",
|
|
'depends': [
|
|
'website',
|
|
'account_payment',
|
|
'portal',
|
|
],
|
|
'data': [
|
|
'data/mail_templates.xml',
|
|
'data/mail_template_data.xml',
|
|
'data/ir_actions_server_data.xml',
|
|
'views/payment_provider.xml',
|
|
'views/res_config_settings_views.xml',
|
|
'views/donation_templates.xml',
|
|
'views/snippets/snippets.xml',
|
|
'views/snippets/s_donation.xml',
|
|
],
|
|
'auto_install': True,
|
|
'assets': {
|
|
'website.assets_wysiwyg': [
|
|
'website_payment/static/src/snippets/s_donation/options.js',
|
|
'website_payment/static/src/snippets/s_donation/options.xml',
|
|
],
|
|
'web.assets_frontend': [
|
|
'website_payment/static/src/js/website_payment_donation.js',
|
|
'website_payment/static/src/js/website_payment_form.js',
|
|
],
|
|
},
|
|
'license': 'LGPL-3',
|
|
}
|