Monday, July 29, 2024
4 changes · saas-17.4
Resolved issues and error corrections
This change fixes an internal test issue caused by newer Python behavior, ensuring the HTTP test suite continues to run reliably on updated systems. It does not change business functionality or the user experience.
Original PR description
Since python 3.11, the patch.dict method changed [0] to use pkgutil to resolve names. This new method is not able to patch our `odoo.tools.config.options`. Fixed by using the object instead of a string literal. [0]: python/cpython@ab7fcc8fbdc11091370deeb000a787fb02f9b13d
This fix adjusts an automated sales timesheet test so it updates pricing more reliably during validation. It reduces false failures in runbot testing, helping maintain confidence in releases without changing business functionality.
Original PR description
Current Behaviour: - Currently tour is written as enter the quantity and click on body to actuate a change/blur event so the price changes. - If we click on body we lose focus on the list item we created and it becomes a table. - Also we there is no concrete trigger that can be written to select the price field from the table. Fix: - Instead of clicking on body to actuate blur event we can use ```press Tab``` to actuate the same event thus solving the problem and not needing to adding additional step. Also it seems that a new method ```edit_blur``` may be released to mitigate the problem without pressing Tab ```(source: FW JS Team)```. task-4072468
Country selectors on partner and customer website pages now use direct-friendly links, reducing unnecessary redirects for visitors. Related map filtering logic was simplified to avoid conflicts between different page filters and keep results consistent.
Original PR description
Use slugs in the country switcher to avoid extra redirects. Remove old, useless code related to google_map_partner_ids for Google Maps since we now use `dom`. Compute `dom` only for the current expected `dom´ to avoid conflicts. For example, if one controller uses grade as an integer and another as a slug, it could cause issues.
The Colombian electronic invoicing flow now excludes self-withholding taxes from reported tax amounts when sending directly to DIAN. This keeps direct DIAN submissions aligned with the existing Carvajal flow and helps avoid incorrect tax totals on invoices.
Original PR description
Self-withholding taxes should not be included in tax amounts. This was done when sending through Carvajal, so we should do it with a direct DIAN implementation too. See the Carvajal commit: https://github.com/odoo/enterprise/commit/af8f364cc1f09cc1f9159b326a7f59c6524380be Related to: opw-3958518