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
- Accounting
- Inventory
- PoS
- Project management
- MRP
This question has been flagged
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.
Enjoying the discussion? Don't just read, join in!
Create an account today to enjoy exclusive features and engage with our awesome community!
Sign upRelated Posts | Replies | Views | Activity | |
---|---|---|---|---|
|
0
Mar 15
|
2902 | ||
|
0
Feb 20
|
3437 | ||
|
0
Dec 19
|
2813 | ||
|
1
Jul 19
|
6782 | ||
|
0
May 24
|
231 |
In enterprise or community?