Перейти к содержимому
Меню
Чтобы взаимодействовать с сообществом, необходимо зарегистрироваться.
Этот вопрос был отмечен
1 Ответить
1504 Представления

I want to edit the report "report_deliveryslip" because I want the products not to be repeated. If one product is in two differents. If a product is in two different places in the warehouse, in this report I get that product 2 times, but I want it to come out once with the total amount. How can I do it?  

For example, in the report appear like this:

product "ABC" with quantity of 5 Units.

product "ABC" with quantity of 3 Units.


But I want it to appear like this:

product "ABC" with quantity of 8 Units.

Аватар
Отменить
Лучший ответ

Maybe you can sort the for of the moves by product_id and sum quantitys while the product_id is the same. I think it could be a solution.

Аватар
Отменить