diff options
| author | Robot Odoo <xmo+roboto@odoo.com> | 2019-01-28 10:15:48 +0100 |
|---|---|---|
| committer | GitHub <noreply@github.com> | 2019-01-28 10:15:48 +0100 |
| commit | 529069996cec358c060a5b8f1bbf3955c37207a7 (patch) | |
| tree | 7c6699138fe60605f15cec96281867a0dc216cee /addons/web/static/src/js/views/basic/basic_model.js | |
| parent | 76e085cbb7cdff9d24acf666ffd8b81d0601b626 (diff) | |
| parent | c4d2c2cf13b5eed8e9726577a6a67384ec3067d2 (diff) | |
[FIX] base ir.actions.report order pdfs when attachment_use option selected
Description of the issue/feature this PR addresses:
Order of merged pdf reports when attachment_use = True
Current behaviour before PR:
When in a report the "Reload from Attachment" option was selected
(attachment_use = True), and multiple pdfs were printed, the singular pdfs
were stored in a dictionary and appended to a list and thus merged in a random order.
Desired behaviour after PR is merged:
By mapping the pdf with their source record, and sorting the list with the table _order of
the source records of the pdfs, we seek to have an ordered output pdf.
opw 1915685
--
I confirm I have signed the CLA and read the PR guidelines at www.odoo.com/submit-pr
closes odoo/odoo#30402
Diffstat (limited to 'addons/web/static/src/js/views/basic/basic_model.js')
0 files changed, 0 insertions, 0 deletions
