コンテンツへスキップ
メニュー
この質問にフラグが付けられました
2 返信
6299 ビュー

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
3月 15
3755
0
2月 20
4421
0
12月 19
3580
1
7月 19
7868
0
5月 24
1206