How can I get amount due of a partner using credit and debit?
Odoo is the world's easiest all-in-one management software.
It includes hundreds of business apps:
- CRM
- e-Commerce
- Kirjanpito
- Varastointi
- PoS
- Project
- MRP
Tämä kysymys on merkitty
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
Thanks a lot for this info.
Nautitko keskustelusta? Älä vain lue, vaan osallistu!
Luo tili jo tänään nauttiaksesi yksinoikeusominaisuuksista ja osallistuaksesi mahtavaan yhteisöömme!
RekisteröidyAiheeseen liittyviä artikkeleita | Vastaukset | Näkymät | Toimenpide | |
---|---|---|---|---|
|
0
maalisk. 15
|
3752 | ||
|
0
helmik. 20
|
4421 | ||
|
0
jouluk. 19
|
3579 | ||
|
1
heinäk. 19
|
7866 | ||
|
0
toukok. 24
|
1205 |
In enterprise or community?