19a079df4ce163fb4495aa36baacc363726477b6
Before this commit, it was impossible to make a payment if the transaction reference exclusively contained digits. This is because the reference is extracted from the data-* attribute of the <form/> element of the payment form and wrongly cast into an integer by jQuery before being passed to the server. Indeed, as of jQuery 1.4.3, HTML5's data-* attributes are automatically pulled into a jQuery's data object. To reproduce the issue, remove the prefix from the sequence of the sales orders and attempt to pay a quotation from a payment link. This commit forces the reference to be cast into a string as it is the variable type that the server expects, and it crashes if the reference is an integer. opw-2732448 closes odoo/odoo#83753 X-original-commit: 57d9997fa59c82e03c46b149daece5ce32395c5c Signed-off-by: Antoine Vandevenne (anv) <anv@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%