I found somewhere that if we wish to have sum of a particular field then we can write this kind of expression: [[ reduce(lambda x, obj:x obj.amount_total, invoice,0) ]].
Does any one knows if its correct or the correct expression. In my case i want sum of amount_total in invoice not lines the only invoice object. Please help.
Odoo is the world's easiest all-in-one management software.
It includes hundreds of business apps:
- CRM
- e-Commerce
- Contabilità
- Magazzino
- PoS
- Project
- MRP
La domanda è stata contrassegnata
4404
Visualizzazioni
Ti stai godendo la conversazione? Non leggere soltanto, partecipa anche tu!
Crea un account oggi per scoprire funzionalità esclusive ed entrare a far parte della nostra fantastica community!
Registrati| Post correlati | Risposte | Visualizzazioni | Attività | |
|---|---|---|---|---|
|
|
1
mar 15
|
5064 | ||
|
|
1
mar 15
|
5874 | ||
|
|
1
mar 15
|
5251 | ||
|
|
4
mar 15
|
16119 | ||
|
|
2
giu 25
|
2919 |
No one??