768db8390d18c92e55837f211a368c6860cfa0ae
Since [1] the CSRF token used by the donation snippet's form did end up being cached for new visitors that did not have a session id yet. This made the validation of the token fail when using the form because the token from the very first new visitor on the worker was reused. After this commit pages that contain a Donation snippet are not cached anymore in order to always get a fresh CSRF token - similarly to what is done for the form snippet. When using incognito mode the csrf token is sometimes not recognized during navigation to the donation payment page. Simple sequence to reproduce it: - drop a Donation snippet on the Home page - use Firefox and do not log in - in normal browser, select 25 then press Donate Now - open an incognito browser, select 50 then press Donate Now => 400 Bad Request Alternative (any browser): - open page with Donation snippet in incognito window - remove session id from cookies using developer tools - close window - reopen page in a new incognito window - try to donate => 400 Bad Request [1]: https://github.com/odoo/odoo/commit/7fccbac004628093da49016f75370a84bba49465 opw-2774065 closes odoo/odoo#88184 X-original-commit: 16c9b103195f342f8bcca928a53121dbe4480d58 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%