e3be55d3f6d3ee8145e182fd54185115f6699bb6
... instead of public user Once sending the template email Coupon: Send by Email. Odoo was sending to the partner linked to the sale.coupon However in the case of the program having the parameters: apply on next order & apply automatically. The partner_id.id is the public user. This commit is modifying the value of the template to send the email to the partner of the SO instead of the partner of the current coupon. opw-2255674 closes odoo/odoo#51570 X-original-commit: f7e0c2d1568b222d510d3a10fba1116fabfff604 Signed-off-by: Nicolas Martinelli (nim) <nim@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%