Sunday, July 7, 2024
2 changes · saas-17.3
Resolved issues and error corrections
Vendor bills now automatically use the bill reference when no payment reference is entered. This prevents empty journal item labels during posting and keeps accounting records clearer and more consistent.
Original PR description
[FIX] account: Fix the payment reference if empty We have a placeholder on the payment reference "Use Bill Reference" which should use the bill ref if the payment reference if empty We added the placeholder and forgot to add the logic of it Solution: when posting, fill the payment ref with the bill ref if empty Benefit: This will help odoo when recomputing the label of the journal items when posting the bills as it's currently having it empty as we missed to have that functionality in-place when we added the placeholder task-id#4004739 --- I confirm I have signed the CLA and read the PR guidelines at www.odoo.com/submit-pr
Vendor bills now automatically use the bill reference when no payment reference is entered. This prevents blank journal item labels during posting and keeps accounting records clearer without requiring extra user input.
Original PR description
[FIX] account_reports: Fix payment reference if empty We have a placeholder on the payment reference "Use Bill Reference" which should use the bill ref if the payment reference if empty We added the placeholder and forgot to add the logic of it Solution: when posting, fill the payment ref with the bill ref if empty and adapt the tests on the new logic Benefit: This will help odoo when recomputing the label of the journal items when posting the bills as it's currently having it empty as we missed to have that functionality in-place when we added the placeholder task-id#4004739