-
-
Notifications
You must be signed in to change notification settings - Fork 1.5k
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
[MIG] base_view_inheritance_extension: Migration to 16.0 #2494
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
Updated by "Update PO files to match POT (msgmerge)" hook in Weblate. Translation: server-tools-13.0/server-tools-13.0-base_view_inheritance_extension Translate-URL: https://translation.odoo-community.org/projects/server-tools-13-0/server-tools-13-0-base_view_inheritance_extension/
* 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.
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
Superseeded by #2495 It was not just enough to do the upgrade like @legalsylvain mentioned on Twitter. |
@rven There is no issue in superseeding my PR, but I think some things must be followed before doing it:
So, if you want to superseed this PR, follow at least the last point, as there is no problem from my side in doing the superseed. |
Meanwhile, I added your change 😉 |
34c358d
to
152af1a
Compare
/ocabot migration base_view_inheritance_extension |
? Which tweet ? |
It wasn't yours it was https://twitter.com/alexisdlattre/status/1600095838700707840 :-) |
@etobella It was just a timing issue of a couple minutes I guess, we both were working on the same migration at the same time :-) When I started on the migration, there was no PR, no mentioning on the issue that someone was working on the migration as mentioned in the guidelines. For me it's fine to leave this PR open, I'l close mine and approve yours, because I also verified it functionally 💯 The only thing I wan't is a happy community :-p |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Working fine!
Reviewed code and functionally tested 👍
I know it happened because we where too fast, for that reason I wasn't angry at all. It happens sometimes to everyone, don't worry. About the changes from your PR thanks for them 😁 |
My fault, I confused github users, it was a tweet by @alexis-via 🥲 |
Please propose at https://github.com/OCA/odoo-community.org/blob/master/website/Contribution/CONTRIBUTING.rst#github a section about how to act for doing pull requests and this protocol about superseding. |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Pure code review: LG
/ocabot merge nobump |
What a great day to merge this nice PR. Let's do it! |
Congratulations, your PR was merged at 0957aa4. Thanks a lot for contributing to OCA. ❤️ |
Thank you very much for this migration. In fact, I had done myself the same kind of "easy" migration of base_view_inheritance_extension with just an update of tests, but I had some crash with my port of account_invoice_transmit_method which depend on base_view_inheritance_extension, and I thought that the crash was caused by base_view_inheritance_extension v16. I eventually figured out that the crash was caused by a missing coma in a domain in a view of account_invoice_transmit_method !!! But the backtrace was so horrible that I thought the bug was in some low-level code like the code of base_view_inheritance_extension. |
Migration to 16.0
@legalsylvain