Monday, August 19, 2024
2 changes · 17.0
Resolved issues and error corrections
This update corrects how income accounts are handled in the Dutch localization module. A test was updated to properly account for changes made to the account type selection logic in the community version, ensuring the system no longer relies on simply selecting the first available income account.
Original PR description
Test needed to be adapted as it very naively took the first income account, and we change that in community. Forward-Port-Of: odoo/enterprise#68297 Forward-Port-Of: odoo/enterprise#67637
Miscellaneous changes
Currently the amount due of a move was always sent in an email for any type of move. The condition only checked if there was an `invoice_date_due` set. This field is set for any kind of move and default to the creation date of that move. However it only makes sense to show amounts due for invoices, bills, receipts and credit notes. Showing these for miscellaneous moves like the tax closing entry causes users to be confused. The amount displayed is the total amount of the move and not the amou
Original PR description
Currently the amount due of a move was always sent in an email for any type of move. The condition only checked if there was an `invoice_date_due` set. This field is set for any kind of move and default to the creation date of that move. However it only makes sense to show amounts due for invoices, bills, receipts and credit notes. Showing these for miscellaneous moves like the tax closing entry causes users to be confused. The amount displayed is the total amount of the move and not the amount to be paid to the authorities. This fix makes sure we only show the amount due in emails for the right move types in order not to confuse users. Task link: https://www.odoo.com/odoo/project/967/tasks/4042715 opw-4042715 Forward-Port-Of: odoo/odoo#174819