[18.0][MIG] base_view_inheritance_extension: Migration to 18.0 - #3120
Conversation
Trivial changes: * Version in README changed * Version in manifest changed OCA Transbot updated translations from Transifex OCA Transbot updated translations from Transifex
…extension. (OCA#804) * Add list_add operation. * Add list_remove operation. OCA Transbot updated translations from Transifex
expression not match the node any more. Fixes OCA#885
* warning about dynamic context * import for safe_eval
Use https in URL to licence
* Removed `list_add` and `list_remove`, they've been deprecated and implemented in Odoo core since several versions ago. * Removed `move`, as it has also already been implemented in core several versions ago. * Replaced `python_dict` by `update`, that performs an operation similar to :meth:`dict.update`, but on the ast.Dict.
Currently translated at 100.0% (3 of 3 strings) Translation: server-tools-15.0/server-tools-15.0-base_view_inheritance_extension Translate-URL: https://translation.odoo-community.org/projects/server-tools-15-0/server-tools-15-0-base_view_inheritance_extension/es_AR/
This fixes an error we could get if the attribute of the inherited tag has some extra carriage returns. Exception raised: SyntaxError: unexpected EOF while parsing
Currently translated at 100.0% (3 of 3 strings) Translation: server-tools-16.0/server-tools-16.0-base_view_inheritance_extension Translate-URL: https://translation.odoo-community.org/projects/server-tools-16-0/server-tools-16-0-base_view_inheritance_extension/it/
Currently translated at 100.0% (3 of 3 strings) Translation: server-tools-16.0/server-tools-16.0-base_view_inheritance_extension Translate-URL: https://translation.odoo-community.org/projects/server-tools-16-0/server-tools-16-0-base_view_inheritance_extension/hr/
Currently translated at 100.0% (4 of 4 strings) Translation: server-tools-16.0/server-tools-16.0-base_view_inheritance_extension Translate-URL: https://translation.odoo-community.org/projects/server-tools-16-0/server-tools-16-0-base_view_inheritance_extension/es_AR/
Currently translated at 100.0% (4 of 4 strings) Translation: server-tools-16.0/server-tools-16.0-base_view_inheritance_extension Translate-URL: https://translation.odoo-community.org/projects/server-tools-16-0/server-tools-16-0-base_view_inheritance_extension/es/
…out previous domain defined
8be1ae8 to
993b8ab
Compare
remove loggin
993b8ab to
0d7706f
Compare
hbrunn
left a comment
There was a problem hiding this comment.
migration itself is fine, but the test code you removed tests the valuable case where the dictionary doesn't exist in the base view.
And given there was barely anything to do for this migration, I think it's fair to ask for test cases for operation="text_add" and/or operation="domain_add"
|
/ocabot migration base_view_inheritance_extension |
0d7706f to
da18c96
Compare
Thanks for review. I have add test-case for 2 operation |
[MIG] base_view_inheritance_extension: Migration to 18.0 Co-authored-by: Lukas Tran <nhant@trobz.com>
da18c96 to
c9e0dec
Compare
|
This PR has the |
|
/ocabot merge nobump |
|
On my way to merge this fine PR! |
|
Congratulations, your PR was merged at f2b20d9. Thanks a lot for contributing to OCA. ❤️ |
Supersedes #3100
attrsattribute is not use anymore in odoo v17 and later. => change to usecontextto make test-case suitableoperation="text_add"andoperation="domain_add"