Saturday, February 17, 2024
4 changes · master
Enhancements to existing features
This update improves Odoo's internal HOOT testing tools so tests behave more consistently across browsers and environments. It also refines the test interface, improves file input and scrolling simulations, and updates event handling to encourage modern, reliable behavior.
Original PR description
Part 1: https://github.com/odoo/odoo/pull/152930 Part 2: https://github.com/odoo/odoo/pull/153018 Part 3: https://github.com/odoo/odoo/pull/153023 Part 4: https://github.com/odoo/odoo/pull/153203…
Part 1: https://github.com/odoo/odoo/pull/152930 Part 2: https://github.com/odoo/odoo/pull/153018 Part 3: https://github.com/odoo/odoo/pull/153023 Part 4: https://github.com/odoo/odoo/pull/153203 Part 5: https://github.com/odoo/odoo/pull/153425 Part 6: https://github.com/odoo/odoo/pull/153700 This pull requests brings the following changes to HOOT and the test helpers: - mock hard-coded default user agent in tests for consistency - small HOOT UI improvements - trigger "change" when setting files in input type="file" - test constants -> server state (makes it dynamic and mockable on the fly) - fix `scroll` HOOT DOM helper - `queryFirst`'s best friend: `queryLast` (`queryMiddle` will arrive in the next PR) - different focus trigger handling when document is out of focus - drop support for deprecated/non-standard event types and properties - improved dry run performances - introduced log levels - more keyboard aliases for convenience --- I confirm I have signed the CLA and read the PR guidelines at www.odoo.com/submit-pr
Miscellaneous changes
https://github.com/odoo/enterprise/pull/31893 wrongly removed views in stable versions. Problems: 1. The version on the folder is wrong: 16.0.1.1 will only be executed in 16.0 while the change has been done in all versions (the folder name should've been 1.1). 2. The script is using upgrade-util. This cause a traceback when trying to update the module. No local script in standard can ever assume that upgrade-util is available. There is no dependency between odoo and the utils for now, it m
Original PR description
https://github.com/odoo/enterprise/pull/31893 wrongly removed views in stable versions. Problems: 1. The version on the folder is wrong: 16.0.1.1 will only be executed in 16.0 while the change has…
https://github.com/odoo/enterprise/pull/31893 wrongly removed views in stable versions. Problems: 1. The version on the folder is wrong: 16.0.1.1 will only be executed in 16.0 while the change has been done in all versions (the folder name should've been 1.1). 2. The script is using upgrade-util. This cause a traceback when trying to update the module. No local script in standard can ever assume that upgrade-util is available. There is no dependency between odoo and the utils for now, it might come at some point but we are far from here. 3. Removing views in stable is against stable policy. To fix this: 1. We remove the wrong script from odoo repository. The records *should* be deleted correctly by the ORM. It may fail if a customization is using the templates. 2. Add an upgrade script that will remove the views on major versions, in case the ORM failed to remove them by itself. opw-3741655 See https://github.com/odoo/upgrade/pull/5698 Forward-Port-Of: odoo/enterprise#56698
Current behavior: The ebay location found in the Settings App is not being saved due to an empty config_parameter. Creating an config_parameter for this field will allow the field to be saved after being filled. opw-3722548 Forward-Port-Of: odoo/enterprise#56731
Original PR description
Current behavior: The ebay location found in the Settings App is not being saved due to an empty config_parameter. Creating an config_parameter for this field will allow the field to be saved after being filled. opw-3722548 Forward-Port-Of: odoo/enterprise#56731
https://github.com/odoo/enterprise/commit/9a0a3f96a9fc377b39db767155f57cd434908ce9 introduced the default 'NURG' SvcLvl value for all SEPA and ISO20022 files. However, this node should not be there for the Swiss version, and was incorrectly added in its files when generating payments in other currencies as EUR, since those were qualified as generic. A XOR on the condition solves the issue. OPW 3725981 3730908 Forward-Port-Of: odoo/enterprise#56754 Forward-Port-Of: odoo/enterprise#56704
Original PR description
https://github.com/odoo/enterprise/commit/9a0a3f96a9fc377b39db767155f57cd434908ce9 introduced the default 'NURG' SvcLvl value for all SEPA and ISO20022 files. However, this node should not be there for the Swiss version, and was incorrectly added in its files when generating payments in other currencies as EUR, since those were qualified as generic. A XOR on the condition solves the issue. OPW 3725981 3730908 Forward-Port-Of: odoo/enterprise#56754 Forward-Port-Of: odoo/enterprise#56704