a6acb077e4c2f53d48b80397246ed5961bfa354c
When being in edit mode attendees count may be reset temporarily to 0. Indeed when user change the event_type linked to the event it triggers the computation of seats. Among those fields seats_expected is used to display the attendee count in event form view. In this commit we rewrite the computation in order to work in onchange mode. It correctly update record in cache instead of rebrowsing event in a compute and correctly support newid by checking _origin id. This behavior is probably present since a few versions but as it is not critical we target the last stable-saas. closes odoo/odoo#46444 X-original-commit: f858f0432abc97a805e24674990acac510b45e9d Signed-off-by: Thibault Delavallee (tde) <tde@openerp.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%