-
-
Notifications
You must be signed in to change notification settings - Fork 529
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
[13.0] [MIG+REF] mass_editing #94
Conversation
Hey @legalsylvain, thank you for your Pull Request. It looks like some users haven't signed our Contributor License Agreement, yet.
Appreciation of efforts, |
ready for review. cc : @SerpentCS |
For your information others module will come depending on the module ref : https://github.com/grap/grap-odoo-incubator/tree/8.0/mass_action |
Looks good (y). should not you make another PR for second module mass_operation_abstract? |
Thanks ! Is it an approval ? ;-)
Well, I split the module mass_editing in two modules, with a dependency. So it makes no sense to make two separate PR as one can not be merged without the other. And if spitted, it will be more complicated for reviewer to see what code moved in the abstract module. |
Its an approval yes! |
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.
Is this module still relevant in 13.0 since there is multi_edit="1"?
Hi @tarteo : Thanks for your review. Regarding your question, did you read the description of the new module ? I think it answers to your question in the section "Difference between the Odoo 13.0 CE Feature" Let me know if you still have questions. |
hi @bealdav I took into account your remarks. Could you update your review ? Thanks ! |
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.
Thanks. Please merge all fixup commits
This PR has the |
Oca bot merge fixup commit. Doesnt he? |
No sorry |
@legalsylvain please squash fixup commits |
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.
code & functional test 👍
8196d88
to
93e0976
Compare
I squashed all the commits. Thanks for your reviews. |
/ocabot merge |
What a great day to merge this nice PR. Let's do it! |
@legalsylvain your merge command was aborted due to failed check(s), which you can inspect on this commit of 13.0-ocabot-merge-pr-94-by-legalsylvain-bump-no. After fixing the problem, you can re-issue a merge command. Please refrain from merging manually as it will most probably make the target branch red. |
93e0976
to
cd641e2
Compare
Without this fix, it is impossible to uninstall an addon that removes a model for which we had a `mass.object`.
… translatable, as their translations were not removed. (OCA#12)
Execute tests at the end after the module loading for not failing with a required field not filled by default defined in other modules.
Test coverage
Updated by Update PO files to match POT (msgmerge) hook in Weblate.
Currently translated at 100.0% (26 of 26 strings) Translation: server-ux-12.0/server-ux-12.0-mass_editing Translate-URL: https://translation.odoo-community.org/projects/server-ux-12-0/server-ux-12-0-mass_editing/it/
Currently translated at 100.0% (26 of 26 strings) Translation: server-ux-12.0/server-ux-12.0-mass_editing Translate-URL: https://translation.odoo-community.org/projects/server-ux-12-0/server-ux-12-0-mass_editing/it/
Currently translated at 100.0% (26 of 26 strings) Translation: server-ux-12.0/server-ux-12.0-mass_editing Translate-URL: https://translation.odoo-community.org/projects/server-ux-12-0/server-ux-12-0-mass_editing/pt/
Currently translated at 100.0% (26 of 26 strings) Translation: server-ux-12.0/server-ux-12.0-mass_editing Translate-URL: https://translation.odoo-community.org/projects/server-ux-12-0/server-ux-12-0-mass_editing/pt_BR/
Currently translated at 100.0% (26 of 26 strings) Translation: server-ux-12.0/server-ux-12.0-mass_editing Translate-URL: https://translation.odoo-community.org/projects/server-ux-12-0/server-ux-12-0-mass_editing/zh_CN/
[REF] Update mass_operation_abstract/wizard/mass_operation_wizard_mixin.py Co-Authored-By: David Beal <david.beal@akretion.com>
274f110
to
8b71564
Compare
/ocabot merge |
Hey, thanks for contributing! Proceeding to merge this for you. |
Congratulations, your PR was merged at 568db06. Thanks a lot for contributing to OCA. ❤️ |
After upgrading from 12 to 13, installing mass_operation_abstract and updating mass_editing, odoo still complains about:
As this is only INFO (and the module seems to work) it's probably not that bad, but it is distracting and I'd like to get rid of it. I just don't know how, so any suggestions are welcome. |
mass_editing improvment :
mass.object
tomass.editing
for consistencymass.editing.wizard
(V12: 300 lines ; V13: 160 lines)mass.editing.wizard
python code.mass.editing.line
to have the possibility to order fields in the wizard, by a sequence and to select the widget for each field.Add abstraction (
mass.operation.abstract
)mass_operation_abstract
to provide mixin objects that allow to make mass operation on many items of any modelsmass_editing
depending onmass_operation_abstract