跳至内容
菜单
此问题已终结
1 回复
1502 查看

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.

形象
丢弃