odoo/odoo#163362

Created by fw-bot
Merged at 5f017682c1efb73a08e4c26f1aaa1b2c17d51e11

Statuses:

label
odoo-dev:17.0-16.0-report-duplicated-ids-las-YuqS-fw
head
9812daf108a2b7dc021539a911b9c2345abe0e80
merged
1 year ago by Accounting, Laurent Smet (las)
odoo/odoo
16.0 #157710
saas-16.3 #163192
saas-16.4 #163211
17.0 #163362
saas-17.1 #163642
saas-17.2 #163655
18.0
saas-18.1
saas-18.2
saas-18.3
saas-18.4
master #163674

[FW][FIX] base: Allow report with duplicated res_ids

In stock, you would print multiple times the same lot label. In this scenario, the rendering method get multiple times the same res_id as parameter. However, the code is loosing track of those duplicated ids before all streams are indexed by res_id.


I confirm I have signed the CLA and read the PR guidelines at www.odoo.com/submit-pr

Forward-Port-Of: #163211
Forward-Port-Of: #157710