Skip to content

Conversation

@Wodran14
Copy link
Contributor

No description provided.

OCA-git-bot and others added 30 commits October 29, 2025 13:56
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/zh_CN/
* fix test after the last forward-ported feature.
* add a descrition of new know issue.
…tified. A customer or supplier can be a follower of the object and should not receive internal messages about the tier validation.
Currently translated at 100.0% (74 of 74 strings)

Translation: server-ux-13.0/server-ux-13.0-base_tier_validation
Translate-URL: https://translation.odoo-community.org/projects/server-ux-13-0/server-ux-13-0-base_tier_validation/zh_CN/
Saran440 and others added 27 commits October 29, 2025 13:56
Currently translated at 100.0% (146 of 146 strings)

Translation: server-ux-18.0/server-ux-18.0-base_tier_validation
Translate-URL: https://translation.odoo-community.org/projects/server-ux-18-0/server-ux-18-0-base_tier_validation/nl/
Changes done:
- The subtypes should not be defined as default=True to avoid that a follower receives notifications of everything (even if he/she doesn't really need it).
- When adding followers they are added to the corresponding subtype so that the notification arrives to whom it corresponds.
- Improve the code so that the reviews to notify are the "following ones according to the sequence".

TT56354
config

When an Odoo model inherits from `tier.validation` but sets up
`_tier_validation_manual_config = True`, adding `review_ids` in a form
view with the `tier_validation` widget causes Owl errors.

It appears that the Tier Review fields are then not passed to the Owl
framework, and accessing them in the widget template raises exceptions.

Adding the fields used in the `base_tier_validation.Collapse` template
to the component under the `relatedFields` key fixes this, while not
changing the behavior for models using `_tier_validation_manual_config =
False`.
Currently translated at 100.0% (146 of 146 strings)

Translation: server-ux-18.0/server-ux-18.0-base_tier_validation
Translate-URL: https://translation.odoo-community.org/projects/server-ux-18-0/server-ux-18-0-base_tier_validation/it/
…w_ids in a one2many

When the validations are in a model that is inside another model, after the reviews are approved, trying to open the one2many raises an error. This commit ensures that the value is taken from the correct record instead of env.model.root, which represents the main model and not the model that inherits tier.validation.
Updated by "Update PO files to match POT (msgmerge)" hook in Weblate.

Translation: server-ux-18.0/server-ux-18.0-base_tier_validation
Translate-URL: https://translation.odoo-community.org/projects/server-ux-18-0/server-ux-18-0-base_tier_validation/
Currently translated at 100.0% (146 of 146 strings)

Translation: server-ux-18.0/server-ux-18.0-base_tier_validation
Translate-URL: https://translation.odoo-community.org/projects/server-ux-18-0/server-ux-18-0-base_tier_validation/it/
Copy link
Contributor

@lmignon lmignon left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

The code LGTM but AFAIK this addon should be moved into a dedicated repository https://github.com/OCA/tier-validation

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.