-
-
Notifications
You must be signed in to change notification settings - Fork 550
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
[17.0][MIG] base_tier_validation: Migration to 17.0 #787
[17.0][MIG] base_tier_validation: Migration to 17.0 #787
Conversation
…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.
@bosd @moitabenfdz @TonyMasciI @Duranio @pedrobaeza @gurneyalex |
@celm1990 Thanks so much for this PR. In the other PR, I made a comment with the propossal to integrate the module Motivation:
|
9a299fb
to
be4ecae
Compare
cherry-pick done
I apologize, but I haven't worked with that module before, and I'm not familiar with its functionality. Additionally, I couldn't find available in versions 16 or 15. Introducing it might require additional migration efforts. I suggest focusing on the current migration for now. In a subsequent pull request, you could propose the integration of that module directly. |
Sorry, forgot to mention a little bit of background info... What the module does is quite simple. It adds another validation status It's really small change, but because it is adding a status. It's kinda problematic and breaking tests. Currently I have PR's open for
The testing problem
The added actual migration effort is a good thing. 🤓
Doing the refactor in the "middle" of a release will break tests, CI/CD. Sorry, for thinking out loud a bit 😉 Preferrably, I would like to have an opinion on this matter from of one the more OCA expeirenced members / heavyweights. With a deeper understanding of these modules. We could also drag this "issue" along to next versions. |
Updated by "Update PO files to match POT (msgmerge)" hook in Weblate. Translation: server-ux-16.0/server-ux-16.0-base_tier_validation Translate-URL: https://translation.odoo-community.org/projects/server-ux-16-0/server-ux-16-0-base_tier_validation/
Currently translated at 100.0% (114 of 114 strings) Translation: server-ux-16.0/server-ux-16.0-base_tier_validation Translate-URL: https://translation.odoo-community.org/projects/server-ux-16-0/server-ux-16-0-base_tier_validation/es/
- Include context keys for avoiding mail operations overhead.
… allow inheritance TT45804
285ade5
to
bb5723c
Compare
Done |
Please include #724 |
@@ -0,0 +1,593 @@ | |||
<?xml version="1.0" encoding="utf-8"?> |
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.
I faced this warning, should remove this line
2024-01-09 08:42:30,778 12362 INFO v17c_base_tier_validation odoo.modules.registry: module base_tier_validation_formula: creating or updating database tables
2024-01-09 08:42:30,872 12362 WARNING v17c_base_tier_validation py.warnings: /home/chien/code/odoo/odoo/17.0/odoo/addons/base/models/ir_module.py:170: DeprecationWarning: XML declarations in HTML module descriptions are deprecated since Odoo 17, base_tier_validation_formula can just have a UTF8 description with not need for a declaration.
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.
This one should be fixed when repo update in #798 is merged.
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.
This is just a warning, @pedrobaeza do you have any plans to update the global OCA update copier after merging this PR OCA/oca-addons-repo-template#239?
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.
Oh, I didn't remember that it was fixed at maintainer-tools level. @sbidoul has the token to update with the bot all the branches.
And some part of the field are not show.
bb5723c
to
5be3bb2
Compare
@nguyenminhchien could you please update your review |
/ocabot merge nobump |
What a great day to merge this nice PR. Let's do it! |
Congratulations, your PR was merged at a4d6120. Thanks a lot for contributing to OCA. ❤️ |
Oops, this merge went quick. Well, we can discuss that merge later in that pr 😉 Anyway big thanks @celm1990 for all your work on this pr! |
superseded by #755