Validating some operations is a common need across different areas in a company and sometimes it also involves several people and stages in the process. With this module you will be able to define your custom validation workflows for any Odoo document.
This module does not provide a functionality by itself but an abstract model to implement a validation process based on tiers on other models (e.g. purchase orders, sales orders, budgets, expenses...).
Note: To be able to use this module in a new model you will need some development.
See purchase_tier_validation as an example of implementation.
Table of contents
- Configuration
- Known issues / Roadmap
- Changelog
- 14.0.1.0.0 (2020-11-19)
- 13.0.1.2.2 (2020-08-30)
- 12.0.3.3.1 (2019-12-02)
- 12.0.3.3.0 (2019-11-27)
- 12.0.3.2.1 (2019-11-26)
- 12.0.3.2.0 (2019-11-25)
- 12.0.3.1.0 (2019-07-08)
- 12.0.3.0.0 (2019-12-02)
- 12.0.2.1.0 (2019-05-29)
- 12.0.2.0.0 (2019-05-28)
- 12.0.1.0.0 (2019-02-18)
- 11.0.1.0.0 (2018-05-09)
- 10.0.1.0.0 (2018-03-26)
- 9.0.1.0.0 (2017-12-02)
- Bug Tracker
- Credits
To configure Tier Validations, you need to:
- Go to Settings > Technical > Tier Validations > Tier Definition.
- Create as many tiers as you want for any model having tier validation functionality.
Note:
- If check Notify Reviewers on Creation, all possible reviewers will be notified by email when this definition is triggered.
- If check Comment, reviewers can comment after click Validate or Reject.
- If check Approve by sequence, reviewers is forced to review by specified sequence.
To configure Tier Validation Exceptions, you need to:
- Go to Settings > Technical > Tier Validations > Tier Validation Exceptions.
- Create as many tiers validation exceptions as you want for any model having tier validation functionality.
- Add desired fields to be checked in Fields.
- Add desired groups that can use this Exception in Groups.
- You must check Write under Validation, Write after Validation or both.
Note:
- If you don't create any exception, the Validated record will be readonly and cannot be modified.
- If check Write under Validation, records will be able to be modified only in the defined fields when the Validation process is ongoing.
- If check Write after Validation, records will be able to be modified only in the defined fields when the Validation process is finished.
- If check Write after Validation and Write under Validation, records will be able to be modified defined fields always.
This is the list of known issues for this module. Any proposal for improvement will be very valuable.
Issue:
When using approve_sequence option in any tier.definition there can be inconsistencies in the systray notifications.
Description:
Field can_review in tier.review is used to filter out, in the systray notifications, the reviews a user can approve. This can_review field is updated in the database in method review_user_count, this can make it very inconsistent for databases with a lot of users and recurring updates that can change the expected behavior.
Migration to 15.0:
The parameter _tier_validation_manual_config will become False, on 14.0, the default value is True, as the change is applied after the migration. In order to use the new behavior we need to modify the value on our expected model.
Migrated to Odoo 14.
Fixes:
- When using approve_sequence option in any tier.definition there can be inconsistencies in the systray notifications
- When using approve_sequence, still not approve only the needed sequence, but also other sequence for the same approver
Fixes:
- Show comment on Reviews Table.
- Edit notification with approve_sequence.
New features:
- Add comment on Reviews Table.
- Approve by sequence.
Fixes:
- Remove message_subscribe_users
New features:
- Notify reviewers
Fixes:
- Singleton error
Fixes:
- Edit Reviews Table
Fixes:
- Edit drop-down style width and position
New features:
- Pass parameters as functions.
- Add Systray.
Migrated to Odoo 12.
Migrated to Odoo 11.
Migrated to Odoo 10.
First version.
Bugs are tracked on GitHub Issues. In case of trouble, please check there if your issue has already been reported. If you spotted it first, help us to smash it by providing a detailed and welcomed feedback.
Do not contact contributors directly about support or help with technical issues.
- ForgeFlow
- Lois Rilo <[email protected]>
- Naglis Jonaitis <[email protected]>
- Adrià Gil Sorribes <[email protected]>
- Pimolnat Suntian <[email protected]>
- Pedro Gonzalez <[email protected]>
- Kitti U. <[email protected]>
- Saran Lim. <[email protected]>
- Evan Soh <[email protected]>
- Manuel Regidor <[email protected]>
- Eduardo de Miguel <[email protected]>
- XCG Consulting:
- Houzéfa Abbasbhay
This module is maintained by the OCA.
OCA, or the Odoo Community Association, is a nonprofit organization whose mission is to support the collaborative development of Odoo features and promote its widespread use.
Current maintainer:
This module is part of the OCA/server-ux project on GitHub.
You are welcome to contribute. To learn how please visit https://odoo-community.org/page/Contribute.