95911e2b7fbda0dad54ca23ffaf741eb953f22fa
When sending the same survey to the same partner, the system detects it and allows the user to choose between sending a new invitation or resending the old one so that the user can continue the survey that might already be ongoing. The detection was not working anymore and this fixes the problem. Technical note: _compute_existing_partner_ids was intersecting record set partner_ids (the one currently added) and a record set of partner for which an invitation has already been sent. The intersection didn't work because partner_ids relation was not completely set and instead of id, had "origin" id. Comparing id using a filter solves the problem (using the trick that .ids, return also the origin ids). Task-3087702 closes odoo/odoo#111687 X-original-commit: fea798047118f0a482dc2421d92e73f51dd04816 Signed-off-by: Warnon Aurélien (awa) <awa@odoo.com> Signed-off-by: Dufays Pierre-Yves (pydu) <pydu@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%