Normally this can not be the case as you can see the field credit in the partner form under the Accounting tab (Total Receivable). E.g. when you create customer invoices and validate them (leave open), this field will be positive.
Are you sure to be taking all the account move lines? -- You received this bug notification because you are a member of OpenERP Indian Team, which is subscribed to OpenERP Addons. https://bugs.launchpad.net/bugs/1066066 Title: res_partner.credit and debit do not always return correct values Status in OpenERP Addons (modules): Confirmed Bug description: for line in account_move_line_obj.browse(cr, uid, ids) : line.partner_id.credit is always 0 line.partner_id.debit positive value => credit negative value => debit To manage notifications about this bug go to: https://bugs.launchpad.net/openobject-addons/+bug/1066066/+subscriptions _______________________________________________ Mailing list: https://launchpad.net/~openerp-india Post to : [email protected] Unsubscribe : https://launchpad.net/~openerp-india More help : https://help.launchpad.net/ListHelp

