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. closes odoo/odoo#163362 X-original-commit: fb92e991bb98e5945c57c157754ff0eba306b924 Signed-off-by: Rémy Voet (ryv) <ryv@odoo.com> Signed-off-by: Laurent Smet (las) <las@odoo.com>