6ada6600056c3bc569867adbadba284fb3d6e28c
Steps to reproduce: - Install Sales modules (for test purpose) - Open any quotation - Click on "Send by Email" button - Download the attachment (in the bottom of the modal) - Try to add an other partner to recipients Issue: Chrome: The partner is not added (visualy) to the recipients. Firefox: After downloading the attachment, the page is stuck on "Loading...". Cause: When downloading the attachment, since it's a link, the browser think at first that we are going to change the page, and therefore trigger the "beforeunload" event. Doing so will call the `urgentSave` method that will set the `_urgentSave` attribute to true, and then notify to render. When we try to add a partner to the recipients, since the `_urgentSave` attribute is set to true, it will not trigger the rendering of the view. Solution: Add `download` attribute to the links, so the browser will open the attachment in a new tab, and therefore will not trigger the "beforeunload" event. opw-3176996 closes odoo/odoo#115205 X-original-commit: a6d3fb842c4bb2adc2bab5d65c12ceca352ea2cb Signed-off-by: Nicolas Lempereur (nle) <nle@odoo.com> Signed-off-by: Nasreddin Boulif (bon) <bon@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%