3c96abe38bb162e2a26d6ed80bcdbe260c3e0eb4
- Install eCommerce - Website > Products - Create a product with a Sales Price of 0 and publish it - Website > Configuration - Enable "Shipping Costs" - Go to Configuration / eCommerce / Shipping Methods - Create a new method with a fixed price of zero - Go to the ecommerce - Add the free product of in the cart - Process Checkout A traceback appears. It happens because the 'Pay' button: https://github.com/odoo/odoo/blob/b64a7924044f012da49db178b6c02fdf9b47bc5c/addons/payment/views/payment_templates.xml#L149-L158 is replaced by: https://github.com/odoo/odoo/blob/b64a7924044f012da49db178b6c02fdf9b47bc5c/addons/website_sale/views/templates.xml#L1401-L1409 Since `$payButton.data('disabled_reasons')` is `undefined`, a crash occurs. We make the code more robust by using the same logic than: https://github.com/odoo/odoo/blob/b64a7924044f012da49db178b6c02fdf9b47bc5c/addons/website_sale/static/src/js/website_sale_payment.js#L30-L32 opw-2380774 closes odoo/odoo#61693 X-original-commit: 3ba37c70c84b8651a544fbaf45dbfb5bc85bdbed Signed-off-by: Nicolas Martinelli (nim) <nim@odoo.com>
…
…
…
…
…
Odoo
Odoo is a suite of web based open source business apps.
The main Odoo Apps include an Open Source CRM, Website Builder, eCommerce, Warehouse Management, Project Management, Billing & Accounting, Point of Sale, Human Resources, Marketing, Manufacturing, ...
Odoo Apps can be used as stand-alone applications, but they also integrate seamlessly so you get a full-featured Open Source ERP when you install several Apps.
Getting started with Odoo
For a standard installation please follow the Setup instructions from the documentation.
To learn the software, we recommend the Odoo eLearning, or Scale-up, the business game. Developers can start with the developer tutorials
Languages
Python
49.6%
JavaScript
47.8%
SCSS
2%
CSS
0.3%
HTML
0.2%