Skip to content
Snippets Groups Projects
Commit 045a8f26 authored by Wolfgang Taferner's avatar Wolfgang Taferner Committed by fw-bot
Browse files

[FIX] base: multi-pages and multi-records traceback


In case of a multi-record and multi-page (i.e. 2 pages per PDF) report
the assertion is triggered b/c we have 4 pages and only two records with
a PDF of 2 pages each, so the outline_page needs to be unique before
assertion.

len([0, 0, 2, 2]) != len([record_id1, record_id2])
len([0, 2]) == len([record_id1, record_id2])

closes odoo/odoo#40076

X-original-commit: 573e5777
Signed-off-by: default avatarNicolas Martinelli (nim) <nim@odoo.com>
parent 0f17a0ea
No related branches found
No related tags found
No related merge requests found
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment