Daily updates from Odoo
Friday, July 20, 2018
2 changes · master
Resolved issues and error corrections
The accounting dashboard now displays the amount still due on customer invoices and vendor bills instead of the original total. This gives finance teams a more accurate view when partial payments have already been made.
Original PR description
Description of the issue/feature this PR addresses: If there are payments made on Invoices and Bills, then the dashboard really shows an incorrect amount - it still shows the AMOUNT TOTAL of the…
Description of the issue/feature this PR addresses:
If there are payments made on Invoices and Bills, then the dashboard really shows an incorrect amount - it still shows the AMOUNT TOTAL of the Invoices and Bills.
Current behavior before PR:
Given the following Invoices and Bills, with respective AMOUNT TOTAL and AMOUNT DUE:


**Note that 16,763.99 above is the Total of Validated and Draft Bills, and the dashboard before the changes (shown below) shows a total of $16,749.99 which doesn't include the $14.**
The AMOUNT TOTAL is shown on the Accounting Dashboard:

Desired behavior after PR is merged:
The AMOUNT DUE is shown on the Accounting Dashboard:

Testing:
I exported the Kanban Dashboard JSON field of the Journal and checked that both sum_waiting and sum_late were correctly calculating:
CUSTOMER INVOICES JOURNAL: {"number_to_reconcile": 0, "account_balance": "$ 0.00", "last_balance": "$ 0.00", "difference": false, "number_draft": 0, "number_waiting": 4, "number_late": 4, "sum_draft": "$ 0.00", "sum_waiting": "$ 7,785.00", "sum_late": "$ 7,785.00", "currency_id": 3, "bank_statements_source": "undefined", "title": "Invoices owed to you", "num_checks_to_print": 0}
VENDOR BILLS JOURNAL:
{"number_to_reconcile": 0, "account_balance": "$ 0.00", "last_balance": "$ 0.00", "difference": false, "number_draft": 1, "number_waiting": 3, "number_late": 3, "sum_draft": "$ 14.00", "sum_waiting": "$ 14,000.00", "sum_late": "$ 14,000.00", "currency_id": 3, "bank_statements_source": "undefined", "title": "Bills to pay", "num_checks_to_print": 0}
--
I confirm I have signed the CLA and read the PR guidelines at www.odoo.com/submit-prThe Unsplash access key setting now uses the correct configuration parameter. This helps ensure image search integrations keep working as expected when the key is saved or loaded.