Skip to Content
Meniu
Trebuie să fiți înregistrat pentru a interacționa cu comunitatea.
Această întrebare a fost marcată
2 Răspunsuri
6264 Vizualizări

How can I get amount due of a partner using credit and debit?

Imagine profil
Abandonează

In enterprise or community?

Cel mai bun răspuns

Hi,

In the res.partner model by default you have two fields credit and debit which compute the Total Receivable and Payable of the partner. 

Either you can use those fields as such or refer the compute function of those fields. Function name _credit_debit_get in res.partner model.

You  can see it in this path: https://github.com/odoo/odoo/blob/12.0/addons/account/models/partner.py

Thanks

Imagine profil
Abandonează
Autor

Thanks a lot for this info.

Related Posts Răspunsuri Vizualizări Activitate
0
mar. 15
3738
0
feb. 20
4395
0
dec. 19
3556
1
iul. 19
7847
0
mai 24
1199