d8944533e3659c1077c33912453bb73af163479b
Steps to reproduce: ------------------- - on ecommerce, activate "Extra Info" feature; - go to the extra info form; - write something for "Your Reference"; - press Enter. Issue: ------ The Bad Request message is displayed. Cause: ------ Pressing Enter triggers the form's default submit. To use the controller of the `/website/form/shop.sale.order` route, we need to apply the JS logic of the `s_website_form` widget (the `send` function). Solution: --------- Add an event for the `submit` which will prevent the default behaviour and send the form data. opw-3591135 closes odoo/odoo#145707 X-original-commit: 14fc7f3c923847f5e052888c2cfda0bf92316972 Signed-off-by: Thomas Lefebvre (thle) <thle@odoo.com> Signed-off-by: Romain Derie (rde) <rde@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%