summaryrefslogtreecommitdiff
path: root/addons/web/static/src/js/views/basic/basic_controller.js
diff options
context:
space:
mode:
authorNans Lefebvre <len@odoo.com>2019-07-18 06:57:54 +0000
committerNans Lefebvre <len@odoo.com>2019-07-19 12:46:39 +0000
commit5621ae3d6b5cc1d653ec8c757108950de2897917 (patch)
tree0fbeb91644ec71196d8bff4e301f626893cf3279 /addons/web/static/src/js/views/basic/basic_controller.js
parente6225eeb12be27bb15c781ed6d7998ecee2d13a6 (diff)
[FIX] account: bulk send invoice in each partner language
Select invoices with partners with different languages. Execute the 'Send' action, and choose send_mail. The mails are all sent in the same language. The composer extracts the template's body to put it as self.body (note that everything also applies to the subject field). This is done with one language. Down the line, mail_compose_message renders the values with the object, using self.body (which can be manually edited). Therefore the lang parameter is ignored at this point. This should ideally be fixed at the mail level, which is riskier in stable, so it may be fixed either later or in master. So this fix only intends to fix the consequences for this specific use-case, in a much safer way, but it could be removed once the true fix is one. opw 2035525 closes odoo/odoo#34975 Signed-off-by: Nans Lefebvre (len) <len@odoo.com>
Diffstat (limited to 'addons/web/static/src/js/views/basic/basic_controller.js')
0 files changed, 0 insertions, 0 deletions