Em 15/04/2014 13:10, Sergi Almacellas Abellana escreveu:
El 15/04/14 18:06, Iasmini - Gmail ha escrit:
Hi,
Is there a way to summarize values in a list? Like this:
Product Quantity Value Total
1 10 20 100
2 5 10 50
Total Amount
150
I want to do this total of 150 in a wizard that filters work orders.
You can use the sum attribute [1] in the tree_view, and the client
will calculate the sum amount for the showed records
[1]
http://doc.tryton.org/3.0/trytond/doc/topics/views/index.html?highlight=sum#id2
--
Sergi Almacellas Abellana
www.koolpi.com
Twitter: @pokoli_srk
Ok, it worked if I have one product, Total Amount: 100.00 / 100.00.
If I have 2 products Total Amount: -
Why?
--
Iasmini Gomes
Sílex Sistemas
www.silexsistemas.com.br
---
Este email está limpo de vírus e malwares porque a proteção do avast! Antivírus
está ativa.
http://www.avast.com