Daily updates from Odoo
Saturday, October 11, 2025
1 change · 18.0
Resolved issues and error corrections
Creating a new analytic distribution model is made more reliable by preventing an error when expected text is missing. This avoids a small but disruptive failure in analytic setup without changing normal behavior.
Original PR description
Current behavior before PR: When trying to create a new analytic distribution model might fail because string might not be defined and substr() could fail. <img width="1139" height="435" alt="odoo" src="https://github.com/user-attachments/assets/2be5a35c-600e-4484-af72-91f778681bcf" /> Desired behavior after PR is merged: We could check if there is string before de substr method. That would solve the problem and will not affect anywhere else. --- I confirm I have signed the CLA and read the PR guidelines at www.odoo.com/submit-pr Forward-Port-Of: odoo/odoo#230481