summaryrefslogtreecommitdiff
path: root/addons/web/static/src/js/views/basic/basic_controller.js
diff options
context:
space:
mode:
authorBaptiste Vergote <bve@odoo.com>2020-05-18 12:17:17 +0000
committerBaptiste Vergote <bve@odoo.com>2020-05-19 16:44:39 +0000
commite3be55d3f6d3ee8145e182fd54185115f6699bb6 (patch)
tree025f153c9c9dad47ff397e7b11ee53021776d092 /addons/web/static/src/js/views/basic/basic_controller.js
parent56b02d54c8c54a6eef7b463ba956c08d55e54b5d (diff)
[FIX] sale_coupon: send mail template to partner of SO
... 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>
Diffstat (limited to 'addons/web/static/src/js/views/basic/basic_controller.js')
0 files changed, 0 insertions, 0 deletions