Skip to content
Open
Show file tree
Hide file tree
Changes from all commits
Commits
Show all changes
503 commits
Select commit Hold shift + click to select a range
9a030ab
[13.0][UPD] base_tier_validation: update copyrights information after…
LoisRForgeFlow Dec 18, 2019
88ae3da
Added translation using Weblate (Dutch)
Jan 15, 2020
a2559ac
[IMP] solve pre commit warnings
jimhoefnagels Jan 22, 2020
5e6c2a9
[FIX] When accepting or rejecting a review followers should not be no…
Feb 13, 2020
4d7ff43
[12.0][FIX] base_tier_validation: Unlink reviews when unlink a valida…
etobella Mar 18, 2020
976510e
Translated using Weblate (Chinese (Simplified))
dong-z Mar 23, 2020
f932263
[FIX] tier_validation: Fix usage of can_review on tier.review
etobella Mar 31, 2020
b1123fa
[FIX] tier_validation: Security issues with record permissions
etobella Mar 31, 2020
14e9943
pre-commit update
sbidoul Apr 22, 2020
e3278fb
Translated using Weblate (Spanish)
eantones May 6, 2020
d84d0ef
[FIX] base_tier_validation: All models are visible when create a new …
sergio-teruel May 26, 2020
26d2ae9
[IMP] base_tier_validation: notification hook
Jun 30, 2020
4dced3b
[IMP] base_tier_validation: Make test more resilient with sales and p…
sergio-teruel Jul 13, 2020
0b8fcbe
Update base_tier_validation/tests/test_tier_validation.py
sergio-teruel Jul 14, 2020
a5d0a42
[FIX] base_tier_validation: Remove test to avoid crash tests with oth…
sergio-teruel Jul 21, 2020
84732cd
[13.0][FIX] base_tier_validation, fix approve by sequence problem
kittiu Aug 29, 2020
5d79c73
[12.0][FIX] base_tier_validation : convert datetime timezone
Saran440 Mar 25, 2020
59c919a
Translated using Weblate (Chinese (Simplified))
dong-z Sep 24, 2020
5787044
[IMP] : black, isort, prettier
kittiu Oct 26, 2020
c2a04a7
[14.0][MIG] base_tier_validation
kittiu Oct 26, 2020
a4ddb9c
[IMP] base_tier_validation: state check
yostashiro Nov 2, 2020
39d16e5
[13.0][IMP] base_tier_validation: make module multi-company compatible.
LoisRForgeFlow Nov 10, 2020
2404f2a
Enhance definition's view, add Tabs
kittiu Nov 19, 2020
e7eff07
[14.0][UPD] base_tier_validation: update readme
LoisRForgeFlow Nov 19, 2020
b5ee627
[IMP] base_tier_validation: Remove unnecessary modification of views
etobella Dec 13, 2020
b1144b8
[FIX] fix test error, by separate test view into another class
kittiu Dec 17, 2020
904f1ab
[FIX] tier_validation: Fix views from template as state was not used
etobella Jan 28, 2021
3e31af5
[14.0][FIX] base_tier_validation, improve accuracy of systray
kittiu Feb 5, 2021
5725192
[14.0][IMP] base_tier_validation, add 'Todo by' column in review table
kittiu Feb 9, 2021
b8e54d6
[14.0][FIX] base_tier_validation, access_token as exception field
kittiu Feb 18, 2021
ab0a2dc
[FIX] base_tier_validation: correct fusion of domains
MiquelRForgeFlow Mar 10, 2021
8ca43f7
Translated using Weblate (Spanish)
anasuarez1 Mar 16, 2021
b8f2576
[IMP] base_tier_validation: support to search for records where valid…
JordiBForgeFlow Apr 19, 2021
33b3261
[FIX] base_tier_validation: External users receive the internal notif…
sergio-teruel Apr 16, 2021
83e4dde
Added translation using Weblate (French)
Yvesldff May 14, 2021
5f49895
[14.0][IMP] base_tier_validation, use sudo to post message
kittiu Jul 3, 2021
ff70434
[14.0][ENH] Nootification message on restart tier
newtratip Jul 15, 2021
94d4952
[FIX] base_tier_validation: avoid singleton error
JordiBForgeFlow Jul 5, 2021
22be215
[14.0][IMP] base_tier_validation: add new review type
MateuGForgeFlow Jul 28, 2021
c9bcd51
Added translation using Weblate (Italian)
alessandro-fiorino Aug 11, 2021
eb10ddb
Added translation using Weblate (Spanish (Mexico))
alan196 Aug 16, 2021
d1c4d83
[13.0][IMP] base_tier_validation: review_user_count perfromance
AdriaGForgeFlow Sep 27, 2021
977d232
[14.0][IMP] base_tier_validation, add tier description on stripe
kittiu Aug 6, 2021
b93c8f0
[14.0][ENH] base_tier_validation, add configuration
kittiu Nov 12, 2021
1af8ce0
Added translation using Weblate (Swedish)
simonstromb Nov 24, 2021
34c9e95
[IMP] base_tier_validation: black, isort, prettier
JasminSForgeFlow Dec 20, 2021
43075d0
[MIG] base_tier_validation: Migration to 15.0
JasminSForgeFlow Dec 20, 2021
65e7cb4
[FIX+IMP] base_tier_validation: Don't mess searches with NewId + non …
pedrobaeza Mar 8, 2022
d88de66
base_tier_validation 15.0.1.0.1
OCA-git-bot Mar 9, 2022
3349d85
[IMP] base_tier_validation: introduce new fields for validation messa…
JordiBForgeFlow Apr 10, 2022
c7402cb
base_tier_validation 15.0.1.1.0
OCA-git-bot Apr 12, 2022
3439efb
[FIX] base_tier_validation: Icon error when validated
CarlosRoca13 Jul 5, 2022
b22caa0
base_tier_validation 15.0.1.2.0
OCA-git-bot Aug 9, 2022
f43bc88
[MIG]: base_tier_validation: Migration to 16
bizzappdev Oct 19, 2022
5c26d06
Translated using Weblate (Italian)
francesco-ooops Jan 2, 2023
272840d
Added translation using Weblate (Turkish)
tate11 Feb 7, 2023
1959020
[FIX] pre-commit warnings
CRogos Feb 16, 2023
e12b72b
base_tier_validation 16.0.1.0.1
OCA-git-bot Feb 17, 2023
fedade4
Translated using Weblate (Italian)
mymage Apr 5, 2023
6a80f17
base_tier_validation: skip_validation_check
ilyasProgrammer Mar 9, 2023
a0e6ea0
base_tier_validation: Use domain for filtering values
etobella Apr 12, 2023
c836ecd
base_tier_validation 16.0.1.0.2
OCA-git-bot Apr 20, 2023
c417ffa
base_tier_validation 16.0.1.0.3
OCA-git-bot Apr 20, 2023
4f2c0da
[FIX] base_tier_validation: Detect if model has active field
etobella Apr 20, 2023
3b80e91
base_tier_validation 16.0.1.0.4
OCA-git-bot Apr 24, 2023
f0fd332
Translated using Weblate (Italian)
mymage May 22, 2023
ac5ed8c
Translated using Weblate (Italian)
francesco-ooops May 24, 2023
d9654d0
Translated using Weblate (Italian)
mymage May 29, 2023
fce94a7
[IMP] base_tier_validation: Misc changes
victoralmau May 16, 2023
189fadc
base_tier_validation 16.0.1.0.5
OCA-git-bot Jun 30, 2023
ab0936c
Translated using Weblate (Italian)
mymage Jun 7, 2023
6f209e8
Translated using Weblate (Spanish)
Ivorra78 Aug 27, 2023
a6c3dfa
[IMP] base_tier_validation: show in res.config.settings already migra…
alan196 Sep 6, 2023
c18876f
[IMP] base_tier_validation: Add method to allow remove reviews.
victoralmau Aug 31, 2023
09d7385
base_tier_validation 16.0.1.0.6
OCA-git-bot Sep 11, 2023
1904b59
oca-github-bot post-merge updates
OCA-git-bot Sep 18, 2023
abb3f69
Translated using Weblate (Spanish)
Ivorra78 Oct 3, 2023
7d8c306
[FIX] base_tier_validation: Exclude cancel records from pending count
OpenCode Oct 10, 2023
7acb11f
[BOT] post-merge updates
OCA-git-bot Oct 10, 2023
1a4408a
Translated using Weblate (French)
houzefa-abba Oct 19, 2023
e290c84
[IMP] base_tier_validation: Add validation_status field to tier.valid…
victoralmau Oct 17, 2023
04cb0ef
[IMP] base_tier_validation: Add tier.validation.tester models to _get…
victoralmau Oct 24, 2023
8ba2d60
[BOT] post-merge updates
OCA-git-bot Oct 24, 2023
947160a
[PERF] base_tier_validation: filter records with reviews before compu…
celm1990 Oct 27, 2023
78f0784
Translated using Weblate (Italian)
mymage Nov 2, 2023
032b502
[IMP] base_tier_validation: update tests to support messages
bosd Oct 22, 2023
054b260
[IMP] base_tier_validation: use sudo to post message
bosd Oct 22, 2023
7cffba9
base_tier_validation, approve by sequence with option to bypass for s…
kittiu Nov 5, 2021
2e5e56d
[BOT] post-merge updates
OCA-git-bot Nov 6, 2023
59cb744
Translated using Weblate (Italian)
mymage Nov 12, 2023
f9cd9dd
[IMP] base_tier_validation: filter tier definition for the current co…
celm1990 Nov 11, 2023
3d04e41
[BOT] post-merge updates
OCA-git-bot Nov 14, 2023
36d5040
[BOT] post-merge updates
OCA-git-bot Nov 17, 2023
777d407
Translated using Weblate (Spanish)
Ivorra78 Nov 18, 2023
579b88a
[BOT] post-merge updates
OCA-git-bot Nov 21, 2023
8cd585b
[IMP] base_tier_validation: test performance improvement
bosd Nov 29, 2023
563e799
[BOT] post-merge updates
OCA-git-bot Nov 30, 2023
bef343a
[IMP] base_tier_validation: Add _prepare_tier_review_vals() methot to…
victoralmau Nov 15, 2023
3fbff62
[BOT] post-merge updates
OCA-git-bot Nov 30, 2023
a4e7112
[IMP] base_tier_validation: pre-commit stuff
rven Dec 5, 2023
6c28a3b
[MIG] base_tier_validation: Migration to 17.0
rven Dec 5, 2023
0bc5b83
base_tier_validation: only post notifications to reciepients
bosd Oct 22, 2023
15690c7
[FIX] base_tier_validation: field is edtitable
fmdl Sep 15, 2023
9edb59f
[BOT] post-merge updates
OCA-git-bot Jan 10, 2024
2fe9ae6
[MIG] base_tier_validation_formula: Migrate to version 17.0
Jan 8, 2024
0d0df4f
[IMP] base_tier_validation: pre-commit stuff
bosd Jan 10, 2024
c14c33a
[BOT] post-merge updates
OCA-git-bot Jan 10, 2024
9fe2ecc
[IMP] base_tier_validation: Merge with base_tier_validation_waiting
bosd Jan 10, 2024
a9628ef
[IMP] base_tier_validation: review comments
bosd Jan 11, 2024
97df481
[FIX] base_tier_validation: Change web_ribbon text to title to make i…
victoralmau Jan 31, 2024
39bad61
[BOT] post-merge updates
OCA-git-bot Jan 31, 2024
7099312
[BOT] post-merge updates
OCA-git-bot Feb 8, 2024
5a1da02
[IMP]base_tier_validation: UI Improvements
bosd Jan 14, 2024
12d183a
[BOT] post-merge updates
OCA-git-bot Feb 12, 2024
bca10c8
Translated using Weblate (Spanish)
Ivorra78 Feb 12, 2024
e267c5c
Translated using Weblate (Italian)
mymage Feb 13, 2024
e53bc56
Translated using Weblate (Italian)
mymage Feb 14, 2024
2ae23d8
Translated using Weblate (Italian)
mymage Feb 14, 2024
6b085c5
Translated using Weblate (Italian)
mymage Feb 14, 2024
16c8f41
[FIX] base_tier_validation: Do not write review fields in pending state
bosd Feb 14, 2024
89c8112
[IMP] base_tier_validation: Test created notification body
bosd Feb 14, 2024
5230303
Incorrect displayed timezone for tier review validation date
evanomnisoft Jan 24, 2024
cd3af24
Update CONTRIBUTORS.rst
evanomnisoft Jan 24, 2024
49b1873
Renamed variables for logical consistentcy
evanomnisoft Feb 9, 2024
79ca352
[BOT] post-merge updates
OCA-git-bot Feb 15, 2024
b950ab3
[BOT] post-merge updates
OCA-git-bot Feb 15, 2024
7cf35fe
Translated using Weblate (Dutch (nl_NL))
bosd Feb 18, 2024
e908751
[FIX][17.0]base_tier_validation: Fixed selection not translated.
bizzappdev Mar 9, 2024
e37f378
[BOT] post-merge updates
OCA-git-bot Mar 11, 2024
4b97a0d
Translated using Weblate (Italian)
mymage Mar 12, 2024
491261e
[17.0] [IMP] base_tier_validation: Block notifications
manuelregidor Feb 28, 2024
c5cc533
[BOT] post-merge updates
OCA-git-bot Mar 22, 2024
8a72494
Translated using Weblate (Italian)
mymage Mar 25, 2024
271634f
[FIX] base_tier_validation: prevent useless loop
fmdl Feb 23, 2024
662e50a
[BOT] post-merge updates
OCA-git-bot Apr 22, 2024
d65813e
Translated using Weblate (Spanish)
Ivorra78 Apr 23, 2024
015c264
Translated using Weblate (Italian)
mymage May 2, 2024
3b84cbb
Translated using Weblate (Swedish)
jakobkrabbe Jun 12, 2024
6c7a7d3
Translated using Weblate (Italian)
mymage Jun 26, 2024
3a13b18
base_tier_validation: multiple comment with approve_sequence_bypass
mathben Aug 2, 2023
6546b59
[ADD] set all form fields readonly when under validation
hbrunn Aug 29, 2023
4100ed1
[IMP] configurable domain for readonly fields in validation
Kev-Roche May 24, 2024
e34bd14
[FIX] base_tier_validation: Tier Validation Exceptions
Shide Jun 27, 2024
283002a
[FIX] base_tier_validation: Invalidate review model on tests
Shide Jul 2, 2024
421f1c9
[FIX] base_tier_validation: Fix how readonly modifiers are built
Shide Jul 15, 2024
85a4b83
[16.0][FIX] base_tier_validation, add sudo call to models without exp…
ChrisOForgeFlow Jul 10, 2024
aa677fe
[BOT] post-merge updates
OCA-git-bot Jul 16, 2024
8606da8
Translated using Weblate (Italian)
mymage Jul 16, 2024
4aa13ef
[16.0][FIX] base_tier_validation, search only active definitions
ChrisOForgeFlow Jun 20, 2024
0425020
[BOT] post-merge updates
OCA-git-bot Jul 22, 2024
ede8ad1
[FIX] base_tier_validation: Tier Validation Exception Groups
Shide Jul 5, 2024
339a282
[IMP] base_tier_validation: label
bosd Jul 24, 2024
2c4fdc5
[BOT] post-merge updates
OCA-git-bot Jul 24, 2024
6b3d301
[BOT] post-merge updates
OCA-git-bot Jul 24, 2024
858146f
Translated using Weblate (Italian)
mymage Jul 29, 2024
76f550c
[FIX] base_tier_validation: Field merge in view
houzefa-abba Mar 15, 2024
c983365
[BOT] post-merge updates
OCA-git-bot Jul 30, 2024
88c1595
[RFC]base_tier_validation: remove unused code
bosd Feb 11, 2024
0184057
[BOT] post-merge updates
OCA-git-bot Aug 29, 2024
126f4c1
[IMP] base_tier_validation: support computed state field
StefanRijnhart Oct 3, 2024
c990caa
[BOT] post-merge updates
OCA-git-bot Oct 25, 2024
fddf5a6
[FIX] base_tier_validation: amend authors
LoisRForgeFlow Oct 25, 2024
272dcc5
[BOT] post-merge updates
OCA-git-bot Oct 25, 2024
4fc7d88
[14.0][IMP] base_tier_validation: Add hook for state transition
rousseldenis Dec 17, 2021
5dde8bc
[IMP] base_tier_validation: improve error message.
LoisRForgeFlow Feb 26, 2021
b2d8c12
[base_tier_validation][fix] Allow to search for validated=False and r…
JordiBForgeFlow Jun 17, 2021
0fecc34
[FIX] base_tier_validation: error on reviews after uninstalling Tier …
dreispt Feb 15, 2022
111756d
[IMP] base_tier_validation: group_erp_manager can edit tier definitions.
ilyasProgrammer Jan 23, 2023
cc165d5
[14.0][IMP] add write possibility for reviewers
Kev-Roche Jul 3, 2023
c96a41b
[IMP] base_tier_validation: Add reminder option
TDu Apr 29, 2024
0497761
Fix base_tier_validation reminder option
TDu Oct 28, 2024
5c7c1f0
[FIX] base_tier_validation: forward porting fixes
henrybackman Nov 8, 2024
1713ba5
[BOT] post-merge updates
OCA-git-bot Nov 26, 2024
0345401
Translated using Weblate (Italian)
mymage Nov 26, 2024
530a909
[IMP] base_tier_validation: add icon
AlexPForgeFlow Dec 2, 2024
aea4116
[BOT] post-merge updates
OCA-git-bot Dec 4, 2024
0d48057
[IMP] base_tier_validation: pre-commit auto fixes
kevinkhao Nov 1, 2024
579b1bc
[IMP] base_tier_validation: odoo upgrade_code fixes
kevinkhao Nov 1, 2024
1bc3140
[MIG] base_tier_validation: Migration to 18.0
kevinkhao Nov 1, 2024
3e1e623
[IMP] base_tier_validation: using _read_group for better performance
xaviedoanhduy Feb 3, 2025
54a6809
[UPD] Update base_tier_validation.pot
Feb 4, 2025
de2d600
[BOT] post-merge updates
OCA-git-bot Feb 4, 2025
222c8c9
Update translation files
weblate Feb 4, 2025
2b3f62d
Added translation using Weblate (Dutch)
bosd Feb 4, 2025
77ffbc4
Translated using Weblate (Dutch (nl_NL))
bosd Feb 4, 2025
54f6142
Translated using Weblate (Dutch)
bosd Feb 4, 2025
9729154
Translated using Weblate (Dutch)
bosd Feb 4, 2025
bd65e64
Translated using Weblate (Italian)
mymage Feb 5, 2025
a702c36
[FIX] base_tier_validation: review table key undefined
miikanissi Feb 5, 2025
3ec619a
[BOT] post-merge updates
OCA-git-bot Feb 7, 2025
9403250
[FIX] base_tier_validation: Do not update the counter if it is not po…
victoralmau Mar 10, 2025
56a0607
[FIX] base_tier_validation: Do not update the counter when restarting…
victoralmau Mar 13, 2025
f26ecf5
[BOT] post-merge updates
OCA-git-bot Mar 13, 2025
c1e73d9
[FIX] base_tier_validation: Improve multi-company support
Saran440 Mar 17, 2025
cd6d20d
[BOT] post-merge updates
OCA-git-bot Mar 25, 2025
f5a2146
Added translation using Weblate (Vietnamese (vi_VN))
DucTruongKomit Mar 28, 2025
0550d87
Translated using Weblate (Vietnamese (vi_VN))
DucTruongKomit Mar 28, 2025
562d950
Translated using Weblate (Vietnamese (vi_VN))
DucTruongKomit Mar 28, 2025
a4d4906
Translated using Weblate (Vietnamese (vi_VN))
DucTruongKomit Apr 4, 2025
18fb4b2
Translated using Weblate (Turkish)
bo-eska Apr 15, 2025
d94eadb
[UPD] Update base_tier_validation.pot
May 7, 2025
fc956a0
Update translation files
weblate May 7, 2025
0612d58
[FIX] base_tier_validation: Ensure valid recordset assignment in _com…
Saran440 Mar 17, 2025
52a58f9
[BOT] post-merge updates
OCA-git-bot May 8, 2025
3518a45
[IMP]base_tier_validation: Allow attachment generation after validation
bosd May 8, 2025
16e5f19
[BOT] post-merge updates
OCA-git-bot May 12, 2025
6dc1db6
[FIX] base_tier_validation readonly overrides
EmileNoppeSomko Apr 17, 2025
ed2b108
[BOT] post-merge updates
OCA-git-bot May 22, 2025
0034640
Translated using Weblate (Dutch)
bosd Jun 20, 2025
fec6185
[FIX] base_tier_validation: add field attrs references
hbrunn Jun 24, 2025
25788d6
[BOT] post-merge updates
OCA-git-bot Jun 30, 2025
9e92eb1
[FIX] base_tier_validation: Proper notifications on reviews
victoralmau May 20, 2025
a33404f
[BOT] post-merge updates
OCA-git-bot Jul 1, 2025
9195738
[FIX] base_tier_validation: make ReviewsTable widget work with manual
MaxyMoos Jun 20, 2025
5b08df8
[BOT] post-merge updates
OCA-git-bot Jul 2, 2025
43a0b07
Translated using Weblate (Italian)
mymage Jul 23, 2025
3ff7503
[IMP] base_tier_validation: Make the validation_status field store so…
victoralmau May 22, 2025
f8b43e0
[BOT] post-merge updates
OCA-git-bot Aug 6, 2025
5dc2f1e
[FIX] base_tier_validation: Prevent errors in migration script
carlos-lopez-tecnativa Aug 6, 2025
a6f7ea9
[IMP] base_tier_validation: support res.groups in addition to res.use…
kevinkhao Aug 7, 2025
f647a2e
[FIX] base_tier_validation: prevent error when trying to access revie…
celm1990 Sep 25, 2025
7b124b2
[BOT] post-merge updates
OCA-git-bot Oct 16, 2025
9e097eb
[UPD] Update base_tier_validation.pot
Oct 20, 2025
728a360
[BOT] post-merge updates
OCA-git-bot Oct 20, 2025
ce5e3cf
Update translation files
weblate Oct 20, 2025
99479b3
Translated using Weblate (Italian)
mymage Oct 21, 2025
a3188b7
Added translation using Weblate (German)
didierdonze Oct 28, 2025
1f385a8
Translated using Weblate (Turkish)
bo-eska Oct 30, 2025
8e8e960
Translated using Weblate (Italian)
mymage Nov 6, 2025
c33a856
[IMP] base_tier_validation: Adjustment to improve inheritance
CILC98 Nov 17, 2025
20a8631
[BOT] post-merge updates
OCA-git-bot Jan 15, 2026
77d2ac8
Translated using Weblate (Italian)
mymage Jan 19, 2026
726c35f
[FIX] base_tier_validation: Duplicate t-key error when multiple revie…
jaydeep32 Sep 8, 2025
26c5bfd
[BOT] post-merge updates
OCA-git-bot Jan 21, 2026
0fdf657
[IMP] base_tier_validation: Change where the mock has to be loaded
carlos-lopez-tecnativa Feb 19, 2026
ace68fb
[BOT] post-merge updates
OCA-git-bot Feb 20, 2026
7ebbf4c
[IMP] base_tier_validation_forward: make review order deterministic
StefanRijnhart Nov 10, 2025
54c2433
[FIX] base_tier_validation_forward: fix multiple reviews in 'pending'…
StefanRijnhart Nov 10, 2025
d563c0e
[FIX] base_tier_validation: use validation_status for readonly domain
Mar 3, 2026
5c6d360
[BOT] post-merge updates
OCA-git-bot Mar 4, 2026
1b65866
[BOT] post-merge updates
OCA-git-bot Mar 9, 2026
ef341b0
[18.0][IMP] base_tier_validation: new user should not have review_ids
Mar 16, 2026
30b5cf0
[BOT] post-merge updates
OCA-git-bot Mar 16, 2026
01f135a
[IMP] : pre-commit auto fixes
leemannd Mar 21, 2026
20cf3d5
WIP migration
leemannd Mar 21, 2026
ecc77cf
[IMP] base_tier_validation: pre-commit auto fixes
imlopes Mar 23, 2026
c5fd107
[MIG] base_tier_validation: migration to 19.0
imlopes Mar 23, 2026
22e253c
[REM] base_tier_validation: remove 18.0 migration scripts
em230418 Jan 13, 2026
2bd137d
[REM] base_tier_validation: remove module installation via settings
em230418 Jan 13, 2026
63c6df8
[MIG] base_tier_validation: migration to 19.0
imlopes Mar 23, 2026
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
1 change: 0 additions & 1 deletion .copier-answers.yml
Original file line number Diff line number Diff line change
Expand Up @@ -24,4 +24,3 @@ repo_slug: tier-validation
repo_website: https://github.com/OCA/tier-validation
use_pyproject_toml: true
use_ruff: true

10 changes: 9 additions & 1 deletion README.md
Original file line number Diff line number Diff line change
Expand Up @@ -17,7 +17,15 @@ tier-validation

[//]: # (addons)

This part will be replaced when running the oca-gen-addons-table script from OCA/maintainer-tools.
Available addons
----------------
addon | version | maintainers | summary
--- | --- | --- | ---
[base_cancel_confirm](base_cancel_confirm/) | 19.0.1.0.0 | <a href='https://github.com/kittiu'><img src='https://github.com/kittiu.png' width='32' height='32' style='border-radius:50%;' alt='kittiu'/></a> | Base Cancel Confirm
[base_search_custom_field_filter](base_search_custom_field_filter/) | 19.0.1.0.0 | <a href='https://github.com/pedrobaeza'><img src='https://github.com/pedrobaeza.png' width='32' height='32' style='border-radius:50%;' alt='pedrobaeza'/></a> | Add custom filters for fields via UI
[base_substate](base_substate/) | 19.0.1.0.1 | | Base Sub State
[base_technical_features](base_technical_features/) | 19.0.1.0.0 | | Access to technical features without activating debug mode
[date_range](date_range/) | 19.0.1.0.0 | <a href='https://github.com/lmignon'><img src='https://github.com/lmignon.png' width='32' height='32' style='border-radius:50%;' alt='lmignon'/></a> | Manage all kind of date range

[//]: # (end addons)

Expand Down
309 changes: 309 additions & 0 deletions base_tier_validation/README.rst
Original file line number Diff line number Diff line change
@@ -0,0 +1,309 @@
.. image:: https://odoo-community.org/readme-banner-image
:target: https://odoo-community.org/get-involved?utm_source=readme
:alt: Odoo Community Association

====================
Base Tier Validation
====================

..
!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!
!! This file is generated by oca-gen-addon-readme !!
!! changes will be overwritten. !!
!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!
!! source digest: sha256:4bfdc618faa1d66bfed079886bc53b490075c176283f21ba0e8bbc61734a60c9
!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!

.. |badge1| image:: https://img.shields.io/badge/maturity-Mature-brightgreen.png
:target: https://odoo-community.org/page/development-status
:alt: Mature
.. |badge2| image:: https://img.shields.io/badge/license-AGPL--3-blue.png
:target: http://www.gnu.org/licenses/agpl-3.0-standalone.html
:alt: License: AGPL-3
.. |badge3| image:: https://img.shields.io/badge/github-OCA%2Ftier--validation-lightgray.png?logo=github
:target: https://github.com/OCA/tier-validation/tree/19.0/base_tier_validation
:alt: OCA/tier-validation
.. |badge4| image:: https://img.shields.io/badge/weblate-Translate%20me-F47D42.png
:target: https://translation.odoo-community.org/projects/tier-validation-19-0/tier-validation-19-0-base_tier_validation
:alt: Translate me on Weblate
.. |badge5| image:: https://img.shields.io/badge/runboat-Try%20me-875A7B.png
:target: https://runboat.odoo-community.org/builds?repo=OCA/tier-validation&target_branch=19.0
:alt: Try me on Runboat

|badge1| |badge2| |badge3| |badge4| |badge5|

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 <https://github.com/OCA/purchase-workflow>`__
as an example of implementation.

Additionally, if your state field is a (stored) computed field, you need
to set ``_tier_validation_state_field_is_computed`` to ``True`` in your
model Python file, and you will want to add the dependent fields of the
compute method in ``_get_after_validation_exceptions`` and
``_get_under_validation_exceptions``.

**Table of contents**

.. contents::
:local:

Configuration
=============

To configure this module, you need to:

1. Go to *Settings > Technical > Tier Validations > Tier Definition*.
2. 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 *Notify reviewers on reaching pending* if you want to send a
notification when pending status is reached. This is usefull in a
approve by sequence scenario to only notify reviewers when it is
their turn in the sequence.
- 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:

1. Go to *Settings > Technical > Tier Validations > Tier Validation
Exceptions*.
2. Create as many tiers validation exceptions as you want for any model
having tier validation functionality.
3. Add desired fields to be checked in *Fields*.
4. Add desired groups that can use this Exception in *Groups*.
5. 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.

Known issues / Roadmap
======================

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.

Changelog
=========

17.0.1.0.0 (2024-01-10)
-----------------------

Migrated to Odoo 17. Merged module with tier_validation_waiting. To
support sending messages in a validation sequence when it is their turn
to validate.

14.0.1.0.0 (2020-11-19)
-----------------------

Migrated to Odoo 14.

13.0.1.2.2 (2020-08-30)
-----------------------

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

12.0.3.3.1 (2019-12-02)
-----------------------

Fixes:

- Show comment on Reviews Table.
- Edit notification with approve_sequence.

12.0.3.3.0 (2019-11-27)
-----------------------

New features:

- Add comment on Reviews Table.
- Approve by sequence.

12.0.3.2.1 (2019-11-26)
-----------------------

Fixes:

- Remove message_subscribe_users

12.0.3.2.0 (2019-11-25)
-----------------------

New features:

- Notify reviewers

12.0.3.1.0 (2019-07-08)
-----------------------

Fixes:

- Singleton error

12.0.3.0.0 (2019-12-02)
-----------------------

Fixes:

- Edit Reviews Table

12.0.2.1.0 (2019-05-29)
-----------------------

Fixes:

- Edit drop-down style width and position

12.0.2.0.0 (2019-05-28)
-----------------------

New features:

- Pass parameters as functions.
- Add Systray.

12.0.1.0.0 (2019-02-18)
-----------------------

Migrated to Odoo 12.

11.0.1.0.0 (2018-05-09)
-----------------------

Migrated to Odoo 11.

10.0.1.0.0 (2018-03-26)
-----------------------

Migrated to Odoo 10.

9.0.1.0.0 (2017-12-02)
----------------------

First version.

Bug Tracker
===========

Bugs are tracked on `GitHub Issues <https://github.com/OCA/tier-validation/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 <https://github.com/OCA/tier-validation/issues/new?body=module:%20base_tier_validation%0Aversion:%2019.0%0A%0A**Steps%20to%20reproduce**%0A-%20...%0A%0A**Current%20behavior**%0A%0A**Expected%20behavior**>`_.

Do not contact contributors directly about support or help with technical issues.

Credits
=======

Authors
-------

* ForgeFlow

Contributors
------------

- Lois Rilo <lois.rilo@forgeflow.com>
- Naglis Jonaitis <naglis@versada.eu>
- Adrià Gil Sorribes <adria.gil@forgeflow.com>
- Pimolnat Suntian <pimolnats@ecosoft.co.th>
- Pedro Gonzalez <pedro.gonzalez@pesol.es>
- Kitti U. <kittiu@ecosoft.co.th>
- Saran Lim. <saranl@ecosoft.co.th>
- Carlos Lopez <celm1990@gmail.com>
- Javier Colmeiro <javier.colmeiro@braintec.com>
- bosd
- Evan Soh <evan.soh@omnisoftsolution.com>
- Manuel Regidor <manuel.regidor@sygel.es>
- Eduardo de Miguel <edu@moduon.team>
- `XCG Consulting <https://xcg-consulting.fr>`__:

- Houzéfa Abbasbhay

- Stefan Rijnhart <stefan@opener.amsterdam>
- Kevin Khao <kevinkhao@gmail.com>
- Do Anh Duy <duyda@trobz.com>

Other credits
-------------

The migration of this module from 17.0 to 18.0 was financially supported
by Camptocamp.

Maintainers
-----------

This module is maintained by the OCA.

.. image:: https://odoo-community.org/logo.png
:alt: Odoo Community Association
:target: https://odoo-community.org

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.

.. |maintainer-LoisRForgeFlow| image:: https://github.com/LoisRForgeFlow.png?size=40px
:target: https://github.com/LoisRForgeFlow
:alt: LoisRForgeFlow

Current `maintainer <https://odoo-community.org/page/maintainer-role>`__:

|maintainer-LoisRForgeFlow|

This module is part of the `OCA/tier-validation <https://github.com/OCA/tier-validation/tree/19.0/base_tier_validation>`_ project on GitHub.

You are welcome to contribute. To learn how please visit https://odoo-community.org/page/Contribute.
4 changes: 4 additions & 0 deletions base_tier_validation/__init__.py
Original file line number Diff line number Diff line change
@@ -0,0 +1,4 @@
# License AGPL-3.0 or later (https://www.gnu.org/licenses/agpl).

from . import models
from . import wizard
33 changes: 33 additions & 0 deletions base_tier_validation/__manifest__.py
Original file line number Diff line number Diff line change
@@ -0,0 +1,33 @@
# Copyright 2017-24 ForgeFlow S.L. (https://www.forgeflow.com)
# License AGPL-3.0 or later (https://www.gnu.org/licenses/agpl).
{
"name": "Base Tier Validation",
"summary": "Implement a validation process based on tiers.",
"version": "19.0.1.0.0",
"development_status": "Mature",
"maintainers": ["LoisRForgeFlow"],
"category": "Tools",
"website": "https://github.com/OCA/tier-validation",
"author": "ForgeFlow, Odoo Community Association (OCA)",
"license": "AGPL-3",
"application": False,
"installable": True,
"depends": ["mail"],
"data": [
"data/cron_data.xml",
"data/mail_data.xml",
"security/ir.model.access.csv",
"security/tier_validation_security.xml",
"views/tier_definition_view.xml",
"views/tier_review_view.xml",
"views/tier_validation_exception_view.xml",
"wizard/comment_wizard_view.xml",
"templates/tier_validation_templates.xml",
],
"assets": {
"web.assets_backend": [
"base_tier_validation/static/src/components/**/*",
"base_tier_validation/static/src/js/**/*",
],
},
}
15 changes: 15 additions & 0 deletions base_tier_validation/data/cron_data.xml
Original file line number Diff line number Diff line change
@@ -0,0 +1,15 @@
<?xml version="1.0" encoding="utf-8" ?>
<odoo noupdate="1">
<record id="ir_cron_auto_tier_validation" model="ir.cron">
<field name="name">Send Tier Review Reminder</field>
<field name="interval_number">1</field>
<field name="interval_type">days</field>
<field
name="nextcall"
eval="(datetime.now() + timedelta(minutes=5)).strftime('%Y-%m-%d %H:%M:%S')"
/>
<field name="model_id" ref="model_tier_definition" />
<field name="code">model._cron_send_review_reminder()</field>
<field name="state">code</field>
</record>
</odoo>
Loading
Loading