Daily updates from Odoo
Tuesday, May 3, 2022
2 changes
Resolved issues and error corrections
This update fixes rental-related test failures that occurred on weekends because pickup restriction settings were not reset correctly. It also prevents potential errors caused by missing resources, improving reliability for the online rental flow.
Original PR description
Prior to this PR, company settings related to pickup restrictions for renting items were not reset properly, meaning the tours would fail systematically on week-ends. Also fixes two possible tracebacks using undefined resources.
This fixes how sales order references and narration text are shown on Colombian electronic document notes. The change prevents overly long values from causing layout issues in generated PDFs, making documents clearer and more reliable for customers and tax-related processing.
Original PR description
Currently, The value `invoice.invoice_origin` in notas 8 and 10, is creating issues on the PDF created by Carvajal when it has several SO's related, the space in the PDF designated for this value basically fits just one SO. In this commit, we add the first SO from `invoice.invoice_origin` in notas 8 and 10 and notas 3 narration has a max length of 500 characters so after the concatenation of `invoice.narration` and `invoice.invoice_origin` we trim at 500 characters. TaskID - 2679475 PR - #26306