-
-
Notifications
You must be signed in to change notification settings - Fork 545
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
[16.0] base_tier_validation: migration to 16 #540
[16.0] base_tier_validation: migration to 16 #540
Conversation
Any plan to improve performance?? |
Not in this MR. |
525a7a9
to
ae420e4
Compare
…on and validate if possible.
* able to restart validation * sudo() not needed anymore
and reject can be hidden according to this computed field.
… and who asks for reviews in new fields 'done_by' and 'requested_by'.
fixup and extend tests [ADD] systray icon for pending reviews [FIX] Remove python safe_eval [ADD] base_tier_validation_formula and migration scripts [ADD] widget domain and python expression to define reviewer in tier definition [ADD] auto updating of systray icon counter [ADD] validation date field [ADD] review widget dropdown menu
…reviews' name and state correctly translated.
* using similar approach to activities has already benn addressed. * add a new point explaining review tooltip improvement possibilities.
Currently translated at 100.0% (59 of 59 strings) Translation: server-ux-12.0/server-ux-12.0-base_tier_validation Translate-URL: https://translation.odoo-community.org/projects/server-ux-12-0/server-ux-12-0-base_tier_validation/es/
Please check the js linting
|
I really do not have much idea about how to fix this. as in the entire odoo also they have imported like this only. as some suggestions are changing .eslintrc file. but that will be needed at 16.0 level. |
You can fix the errors by renaming the .js files to .esm.js files as mentioned in the 15.0 migration issue (https://github.com/OCA/maintainer-tools/wiki/Migration-to-version-15.0#tasks-to-do-in-the-migration). This will trigger further eslint messages that need to be followed up. |
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 for the huge work migrating this module and all its javascript! I tested the module successfully. The code still needs some work on the JS linting.
``> Thanks for the huge work migrating this module and all its javascript! I tested the module successfully. The code still needs some work on the JS linting. @StefanRijnhart I think the solution for the JS linting is the following: parserOptions:
ecmaVersion: 2019
overrides:
- files:
- "**/*.esm.js"
parserOptions:
sourceType: module Should be adapted to parserOptions:
ecmaVersion: 2019
sourceType: module
overrides:
- files:
- "**/*.esm.js"
parserOptions:
sourceType: module After this change, the linting error will dissapear. |
JS files should be renamed to |
8c6ed64
to
1347ee4
Compare
Pre-commits are fixed. you can review it again. |
Thanks for the js updates! Looking good. Please check my version number comment. It's always good to improve coverage, but it's going to be hard to make that 96% mark. I had a look at what's still missing coverage, and I don't see anything critical. |
1347ee4
to
145c570
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.
Thanks! Tested + code reviewed.
/ocabot migration base_tier_validation |
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.
Tested functionally 👍
I tested the module in a custom model, and I get an issue when I try to click on the notification in the tray menu. It looks that is an issue of Odoo, I made the following PR odoo/odoo#108609 to fix this issue. I post this in case you face the same issue 😄 |
/ocabot merge nobump |
Hey, thanks for contributing! Proceeding to merge this for you. |
Congratulations, your PR was merged at 0b6c4e4. Thanks a lot for contributing to OCA. ❤️ |
No description provided.