Conversation
Does not do particular checks to see if each "step" is a valid m2o field, relies on the standard and familiar Odoo recordset errors instead.
The job function, channel and worker fields are too large for a 6 column layout. Job function and channel make the fields overflow of the form and the worker fields is wrapped over 3 lines
…cified (to avoid timedelta error when seconds is None) in job.py.
Plus various cosmetic improvements.
The job will be retried after the given number of seconds if the exception is raised with a defined 'seconds' argument.
Currently translated at 100.0% (10 of 10 strings) Translation: connector-16.0/connector-16.0-connector Translate-URL: https://translation.odoo-community.org/projects/connector-16-0/connector-16-0-connector/es/
Updated by "Update PO files to match POT (msgmerge)" hook in Weblate. Translation: connector-16.0/connector-16.0-connector Translate-URL: https://translation.odoo-community.org/projects/connector-16-0/connector-16-0-connector/
Currently translated at 100.0% (10 of 10 strings) Translation: connector-17.0/connector-17.0-connector Translate-URL: https://translation.odoo-community.org/projects/connector-17-0/connector-17-0-connector/it/
Currently translated at 100.0% (10 of 10 strings) Translation: connector-17.0/connector-17.0-connector Translate-URL: https://translation.odoo-community.org/projects/connector-17-0/connector-17-0-connector/it/
Updated by "Update PO files to match POT (msgmerge)" hook in Weblate. Translation: connector-18.0/connector-18.0-connector Translate-URL: https://translation.odoo-community.org/projects/connector-18-0/connector-18-0-connector/
|
Hello @mkoeck , thank you for your contribution. Could you please attend the CI errors? 🙏 |
|
Hi @vvrossem if I remember correctly the tests are only failing because the dependant modules are not yet updated. I pulled in the open PRs for those locally and I think tests passed. I since learned that it is possible to add a temporary dependency (or whatever its called), but I am not too familiar with it. If I have the time I will look into it, but these problems should resolve once the PRs for the other modules are merged. |
|
Hello @mkoeck , Could you check the failing tests and fix the |
9af9cfa to
1dbed57
Compare
5c5099f to
dd03d67
Compare
|
@imlopes I think this looks right now |
|
@mkoeck thank you for this work. |
Main changes
New security model support
res.groups.privilegerecord introduced in 19.0 and adapted the existing res.groups record accordinglyTest suite updates for 19.0 API
self.env2.reset()calls withself.env2.transaction.reset()in tests.env.context:self.env.context.self.env()to create a new environment insteadexternal_ids are no longer guaranteed to exist.Functional impact
Dependencies
This PR has been tested against the following non-merged branches of dependent modules:
component: https://github.com/Sanazzzmi/connector/tree/19.0-mig-componentcomponent_event: https://github.com/Sanazzzmi/connector/tree/19.0-mig-component_eventqueue_job_base: https://github.com/tishmen/queue/tree/pr/queue_job_base