264f4b708a0115d8ccab1fe714b2c454b2aa07f6
- Create a ticket product. - Add it to an event. - Uncheck it as ticket. - Sell it on the website. A traceback is raised here: https://github.com/odoo/odoo/blob/88e32c5af9f47981bebea560de456a1404b4e382/addons/website_event_sale/models/sale_order.py#L88 It happens because a ticket is found, but `new_qty` is a `string` while while `old_qty` is a `float`. It is coming from `add_qty` which is a `string` while a `float` is expected. We apply the same logic than: https://github.com/odoo/odoo/blob/88e32c5af9f47981bebea560de456a1404b4e382/addons/website_sale/models/sale_order.py#L181-L190 opw-2347633 closes odoo/odoo#59216 X-original-commit: 859ffdbc3a80f50be9e298c0b5e86cd58eca0d89 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%