Wednesday, April 24, 2024
6 changes · saas-17.2
Resolved issues and error corrections
This fixes an internal service connection issue affecting Spain's SII electronic tax reporting, especially when using test environments. It ensures the system can correctly redirect to the configured test service, reducing failures in external validation tests and support cases.
Original PR description
`l10n_es_edi_sii` requires `Client.bind` as well as `_binding_options` in the service returned by this `bind` call.
```py
serv = client.bind('siiService', service_name)
if company.l10n_es_edi_test_env and connection_vals.get('test_url'):
serv._binding_options['address'] = connection_vals['test_url']
```
Can be tested with a external l1On unit test,
tested only in nightly builds,
not by regular runbot builds / mergebot.
`--test-tags=external_l10n:TestEdiWebServices`
opw-3888257
opw-3888559
opw-3888155
opw-3890269
opw-3889683
Manual forward port of odoo/odoo#163119 to expedite the merge as quick as possible.This fix corrects a configuration issue in the sales stock quantity popover. It prevents the screen from crashing in debug mode, making troubleshooting and validation more reliable for teams working with sales and inventory data.
Original PR description
This commit simply corrects the static props declaration of the QtyAtDatePopover so that it doesn't crash in debug mode. OPW-3867784
This update fixes and modernizes internal automated tests for the Gantt view, especially around date, timezone, service mocking, and test result checks. It helps maintain product quality while keeping the changes limited to the testing layer, reducing risk for end users.
Original PR description
## Pull Request HOOT (PRHOOT) - part 15 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:…
## Pull Request HOOT (PRHOOT) - part 15 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 Part 7: https://github.com/odoo/odoo/pull/154054 Part 8: https://github.com/odoo/odoo/pull/154579 Part 9: https://github.com/odoo/odoo/pull/155073 Part 10: https://github.com/odoo/odoo/pull/155639 Part 11: https://github.com/odoo/odoo/pull/156255 / https://github.com/odoo/enterprise/pull/58135 Part 12: https://github.com/odoo/odoo/pull/156869 Part 13: https://github.com/odoo/odoo/pull/158384 / https://github.com/odoo/enterprise/pull/59019 Part 14: https://github.com/odoo/odoo/pull/158916 Community: https://github.com/odoo/odoo/pull/160292 This pull requests brings various improvements and fixes to Hoot and the Odoo unit test ecosystem. See the different commit messages for more details. Note: these changes are made in stable to avoid having to support multiple versions of the HOOT API. As such, these changes are intended to be strictly limited to unit tests as to not put the rest of the code base at risk. --- I confirm I have signed the CLA and read the PR guidelines at www.odoo.com/submit-pr
Fixes an error that occurred when users duplicated Accounting follow-up levels. The change also prevents duplicate naming or scheduling conflicts when copying one or more follow-up levels, making configuration maintenance smoother.
Original PR description
This traceback occurs when the user tries to duplicate a follow-up level record. To reproduce this issue: 1) Install `Accounting` 2) Open `Accounting/configuration/follow-up levels` 3) Select any one…
This traceback occurs when the user tries to duplicate a follow-up level record. To reproduce this issue: 1) Install `Accounting` 2) Open `Accounting/configuration/follow-up levels` 3) Select any one record and try to `duplicate` it. Error:- ``` TypeError: argument of type 'NoneType' is not iterable ``` https://github.com/odoo/enterprise/blob/a1921fb9a27e5da3592dbc3d9c34e41776b6c8d4/account_followup/models/account_followup.py#L47-L51 When the user tries to duplicate any record, the default value is None, which leads to the above traceback as there is no fallback for default. Because of refactoring in [1] After applying this commit, the issue will be resolved by giving a fallback value. Additionally, an SQL unique name constraint was encountered when attempting to duplicate it because of [2], so this commit also fixed by adding 15 days to the `highest delay in that company + the record name`. Previously duplicating `several levels` at the same time leads to `days_uniq` constraint because of the same delay. This commit will allow duplication several levels at the same time by offsetting `highest existing delay + 15 arbitrary days`. [1] https://github.com/odoo/enterprise/commit/e27a20d2e9a909260f28b18b0643b8205470236b [2] https://github.com/odoo/enterprise/blob/278290dd220e7ca8d4b9909d1bc48a93ac14c0eb/account_followup/models/account_followup.py#L44 sentry-5134878308
Turning off the Rental Transfers option now also archives the related Rental route. This prevents rental transfer workflows from staying active when the business has chosen to disable them.
Original PR description
When we desactivate the 'Rental Transfers' option, it should archive the Rental route.
This update fixes and improves Odoo's internal test tooling, especially around the HOOT test framework used to validate web, mail, live chat, and discussion features. It helps developers catch issues more accurately and prevents several test-interface problems, without intended changes to everyday product behavior.
Original PR description
## Pull Request HOOT (PRHOOT) - part 15 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:…
## Pull Request HOOT (PRHOOT) - part 15 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 Part 7: https://github.com/odoo/odoo/pull/154054 Part 8: https://github.com/odoo/odoo/pull/154579 Part 9: https://github.com/odoo/odoo/pull/155073 Part 10: https://github.com/odoo/odoo/pull/155639 Part 11: https://github.com/odoo/odoo/pull/156255 / https://github.com/odoo/enterprise/pull/58135 Part 12: https://github.com/odoo/odoo/pull/156869 Part 13: https://github.com/odoo/odoo/pull/158384 / https://github.com/odoo/enterprise/pull/59019 Part 14: https://github.com/odoo/odoo/pull/158916 Enterprise: https://github.com/odoo/enterprise/pull/59971 This pull requests brings various improvements and fixes to Hoot and the Odoo unit test ecosystem. See the different commit messages for more details. Note: these changes are made in stable to avoid having to support multiple versions of the HOOT API. As such, these changes are intended to be strictly limited to unit tests as to not put the rest of the code base at risk. --- I confirm I have signed the CLA and read the PR guidelines at www.odoo.com/submit-pr