summaryrefslogtreecommitdiff
path: root/addons/website_event_sale
diff options
context:
space:
mode:
authorThibault Delavallée <tde@odoo.com>2019-10-23 12:19:56 +0000
committerThibault Delavallée <tde@odoo.com>2019-10-24 08:23:13 +0000
commitfa0d41989702c2fd717053c96dbb6242e20e21e7 (patch)
treef7816150b7dd779e622de46163294ede1317525f /addons/website_event_sale
parentefa64513424fe29ca5ef0602daf5ece9d0bf08e0 (diff)
[FIX] point_of_sale: fix strange mail construct
Commit c95acd624ef9753b2e2a7bd313b9fe15c6d8c2f3 added support of sending tickets to client directly by email. However parameters management in the business method allows to send void emails or to spam people quite easily. Moreover missing translations marks prevent from translating mail content. This commit fixes that by ensuring current user is member of pos user group. Code is also a bit cleaned to ensure mail values are correct. Finally translations marks are added to allow content translation. closes odoo/odoo#39275 X-original-commit: 884c98984d45d0875fe5b0d230a70408d8f75f6d Signed-off-by: Thibault Delavallee (tde) <tde@openerp.com>
Diffstat (limited to 'addons/website_event_sale')
0 files changed, 0 insertions, 0 deletions