-
-
Notifications
You must be signed in to change notification settings - Fork 1.9k
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
[12.0][MIG] web_ir_actions_act_multi #1128
[12.0][MIG] web_ir_actions_act_multi #1128
Conversation
@pnajman-modoolar @simahawk @lreficent since you were involved in 11.0, please review this migration for 12.0 |
6dabd48
to
076e081
Compare
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.
Can you change the name of the module to web_ir_action_act_multi (singular) and take a look at the jslint issues?
@tarteo re: renaming yet there are other |
I know the conventions say no plurals, but I think we should apply this rule with some context. I started naming those modules like that years ago because that's how the models in Odoo are called. In my opninion, we shouldn't change this. |
076e081
to
306d936
Compare
Yes, on guidelines it's said that names that are plurals in Odoo, should be preserved: https://github.com/OCA/odoo-community.org/blob/master/website/Contribution/CONTRIBUTING.rst#11modules, so it's OK to leave it as is. |
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. code looks good. I couldn't test the functionality though. Maybe you can add demo action so it's easier to test the functionality.
This PR has the |
@tarteo thanks for a hint, I'll consider adding example as a separate module. Not sure if this module is used a lot elsewhere, yet at least it's being used in this one OCA/timesheet#139 |
you can just add some example action as demo data, much less work and we don't clutter out repos with a lot of _demo modules. |
@hbrunn a snippet or a link to example would be much appreciated, since I haven't yet worked with demo data. |
web_ir_actions_act_multi/static/src/js/web_ir_actions_act_multi.js
Outdated
Show resolved
Hide resolved
306d936
to
b16c73f
Compare
whatever you add to the Meant to add data needed for tests, but we can use it perfectly fine to, well, demo a module's functionality. |
@hbrunn thought about examples - this is so purely developer-related module, not even sure it's worth adding an example besides describing what this module does. If you have any particular ideas for demos - it would be great to hear them! |
hmm, I just answered your question on how to do @tarteo's proposal, don't have much of an opinion about this. As everyone approved, I'll just merge. |
@hbrunn true, sorry for mis-tagging! |
No description provided.