Daily updates from Odoo
Wednesday, February 19, 2025
3 changes · master
Resolved issues and error corrections
This fix prevents WhatsApp message button links from being accidentally altered in a way that could create incorrect destinations. It also improves validation so buttons load in the right order and generate the correct link details.
Original PR description
Incorrect dynamic button behaviour is fixed. Dynamic web buttons have fixed base, only last part can be modified, therefore making base part readonly is essential, otherwise meta appends any modified base url to originally submitted base url. Additionally, test is added to make sure that buttons are loaded correctly, according to their sequence number and also base and short_url calculation is correct. task-3908799
The Spanish Modelo 390 BOE export has been updated for the 2024 requirements and now correctly generates files from the report wizard. It also adjusts required identity fields so self-employed individuals and companies can complete the export using the appropriate information.
Original PR description
This commit updates the BOE mod390 export for 2024 and set some fields as not mandatory that should not be as you are either a self-employed (and then you use the natural person fields), or you are a company and the other fields are needed. Task: 4453629 Fwd port of https://github.com/odoo/enterprise/commit/fd14c05bcf238d2da7de825d1a6c751381c153b7 Odoo PR: https://github.com/odoo/odoo/pull/196578
This update corrects how VoIP stores and reads landline and mobile phone numbers after recent field name changes. It helps ensure the softphone shows the right contact numbers and avoids errors when viewing correspondence details.
Original PR description
This commit fixes the naming of the `landlineNumber` field. Previously, this field was referred to as the `phone` field. This commit changes its name to `phoneNumber`. Also, we had a `mobile` field that was removed in this PR: https://github.com/odoo/odoo/pull/189739 and it resulted in a bug in the `mobileNumber` getter in `correspondence_details.js` as it was retrieving a `phoneNumber` attribute from the `partner` model. In contrast, it doesn't have this attribute. Community: https://github.com/odoo/odoo/pull/197205