Need help in testing Odoo app integrated with Bahmni (0.92 alpha release)

@angshuonline

_calculate_balance in /opt/bahmni-erp/bahmni-addons/bahmni_sale/models/sale_order.py does not calculate order.total_outstanding_balance which was getting calculated in OpenERP this code as below

res[order.id]['total_outstanding'] = total_receivable + order.amount_total

I need to debug this further.

1 Like

Because it is Many2one field of account.account so it will pull all the records from it. And we don’t have any filter to show only Discount related accounts. We can simply type account name i.e. ‘Discount’ and it will search the related accounts and we can choose the related account. or we can do the same by Account Number as well.

is it possible to filter on “type of account” to display?

Yes agree with this. It seems issue let me check and update asap.

Yes possible.

PR: [BAH-841] Passed Discount amount in Journal entry so that while regis… by flt-anandkumar · Pull Request #32 · Bahmni/odoo-modules · GitHub

1 Like