تخطي للذهاب إلى المحتوى
القائمة
لقد تم الإبلاغ عن هذا السؤال
2 الردود
6281 أدوات العرض

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

الصورة الرمزية
إهمال

In enterprise or community?

أفضل إجابة

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.

المنشورات ذات الصلة الردود أدوات العرض النشاط
0
مارس 15
3752
0
فبراير 20
4421
0
ديسمبر 19
3579
1
يوليو 19
7866
0
مايو 24
1205