-
Notifications
You must be signed in to change notification settings - Fork 0
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
[18.0][MIG] base_tier_validation: Migration to 18.0 #1
base: 18.0
Are you sure you want to change the base?
Conversation
0a8050b
to
bc507f3
Compare
@xaviedoanhduy Your changes are better, and I could cancel my PR since we were both working on the same migration. |
hi @rjaraspearhead, I have created PR on OCA side ( |
3108668
to
60977bf
Compare
60977bf
to
9aedf95
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
Silence the warning: Two fields (model_name, model_id) of tier.validation.exception() have the same label: Model. [Modules: base_tier_validation and base_tier_validation]
Currently translated at 100.0% (143 of 143 strings) Translation: server-ux-17.0/server-ux-17.0-base_tier_validation Translate-URL: https://translation.odoo-community.org/projects/server-ux-17-0/server-ux-17-0-base_tier_validation/it/
Previous implementation was losing fields in some cases; new one properly merges dicts/tuples. This fixes odd "Missing field string information" errors in form-embedded lists. This cset also removes an obsolete `base_model_name` context key no longer used in Odoo 16. This cset adds a `test_get_view` test which checks for that `need_validation` field; it was failing with the previous impl. Fixes OCA#825.
Computed fields bypass `write`, so we need to override `_write` for that case. Also, the current value before the update needs to be fetched from the database because the new value is already set in the cache.
I just realized that a new author was added to the module during an improvement that merged the functionality of base_tier_validation_waiting. This was overlook during my review and not explicitly accepted. There have been many contributors adding new functionalities and this one was not specially big to be included as author.
…Validation support
TierReview status "waiting" has been added and is the default. Modified the tier review reminder search domain to accommodate invalidate_cache() replaced with invalidate_recordset()
Currently translated at 100.0% (150 of 150 strings) Translation: server-ux-17.0/server-ux-17.0-base_tier_validation Translate-URL: https://translation.odoo-community.org/projects/server-ux-17-0/server-ux-17-0-base_tier_validation/it/
Co-authored-by: Do Anh Duy <[email protected]>
Co-authored-by: Do Anh Duy <[email protected]>
9aedf95
to
e7545d3
Compare
take over PR: OCA#966
changes are follow up from old PR:
TierReviewService
). don't use useState to calculate tierReviewCounter because the service will updateservices["mail.store"]
f-string
and placeholder formattingt-esc
)