Remove duplicated product from excel report in odoo13

Job ID: 33004069

Budget: €8 – €30 EUR

We have a module that sets Minimum Stocks Alert through e-mail, this alert has to be created manually by-products and locations, the excel sheet sent in the email notifications is creating duplicated products for products in the same location but with different lots numbers.
Related categories: XML Python PostgreSQL Odoo