Thursday, February 20, 2025
2 changes · saas-17.4
Resolved issues and error corrections
This fixes an automated test for Italian electronic invoicing that started failing when the calendar year changed. The invoice date is now fixed in the test so the expected PDF name stays consistent, improving reliability without changing customer-facing behavior.
Original PR description
By default, if no date are specified, an invoice is dated at today. The test enforces a name in 2024, which is why it worked before. Now, as we're not in 2024, the test always fails. The generated pdf does not have the same name, as it follows the invoice name. Let's force the date of the invoice, to force the name of the pdf. runbot-111405 --- I confirm I have signed the CLA and read the PR guidelines at www.odoo.com/submit-pr
Portal users with editing rights can now create child articles under published knowledge articles without running into an access error. The change also avoids an unnecessary update when there is no article to update, making the publishing flow more reliable.
Original PR description
Steps to reproduce ================== 1. Allow edit access to portal user on published article. 2. Try to create a child article from the portal user. When the portal user tries to create sub article it sets 'website_published' to true and inverse the field 'is_published' which force to write on the same article. As 'is_published' is not included in the portal writable field it throws an access error. After this commit ================== This commit allows portal user to create article without any errors. Also prevent unnecessary write on empty recordset. Task-4414401