summaryrefslogtreecommitdiff
path: root/addons/web/static/src/js/views/basic/basic_model.js
diff options
context:
space:
mode:
authorAndrea Grazioso (agr-odoo) <agr@odoo.com>2020-07-07 10:39:50 +0000
committerAndrea Grazioso (agr-odoo) <agr@odoo.com>2020-07-09 07:24:42 +0000
commit04250d80163bb785b674b85fe24354c9d999efea (patch)
tree123227e995e4216349a5d553b1fb359c55240e14 /addons/web/static/src/js/views/basic/basic_model.js
parentbcb48f33842258f042f5f906cb67ab63bc0b4424 (diff)
[FIX] account: fix composition mode change on template change
Go to invoice list view. Select several invoices, click on 'Send and print', switch template to a different one (possibly a duplicate of the default). Send On each selected record there will be a pair of attachment: - one belonging the the record (ok) - one duplicate from the first record selected (not ok) This occur because when switching template the default composition mode for the wizard is 'comment' (single send), which causes the wizard to compute and store the attachment of the first record it found. Later, this get assigned to the list of attachment to send so it duplicated (and sent) in all other records opw-2291274 closes odoo/odoo#54255 X-original-commit: 0028a602bea6a48aaa2747127ec075394732b324 Signed-off-by: Jorge Pinna Puissant (jpp) <jpp@odoo.com>
Diffstat (limited to 'addons/web/static/src/js/views/basic/basic_model.js')
0 files changed, 0 insertions, 0 deletions