Skip to content
Closed
Show file tree
Hide file tree
Changes from all commits
Commits
Show all changes
269 commits
Select commit Hold shift + click to select a range
4335a5b
[11.0][FIX] base_tier_validation: make name translatable and display …
LoisRForgeFlow May 15, 2019
4ad8632
[11.0][UPD] base_tier_validation: roadmap.
LoisRForgeFlow May 15, 2019
e32badf
[12.0][MIG] base_tier_validation: adapt systray to v12.
LoisRForgeFlow May 28, 2019
74bf62d
Added translation using Weblate (Spanish)
LoisRForgeFlow May 29, 2019
28f7dda
[12.0][FIX] dropdown style width and position
AdriaGForgeFlow May 29, 2019
92e802c
[12.0][IMP] base_tier_validation module
AdriaGForgeFlow Jun 14, 2019
a0de3d8
[FIX] base_tier_validation : singleton error
fmdl Jul 4, 2019
78b8a06
Added translation using Weblate (Chinese (Simplified))
liweijie0812 Sep 2, 2019
92b00e3
Translated using Weblate (Chinese (Simplified))
digitalsatori Oct 21, 2019
5e7deb6
[11.0][IMP] base_tier_validation: add an optional email
LoisRForgeFlow Nov 12, 2019
b529ed7
[11.0][FIX] base_tier_validation: singleton issue
LoisRForgeFlow Nov 22, 2019
700ae08
[12.0][FIX] base_tier_validation: message_subscribe_users removed in v12
LoisRForgeFlow Nov 26, 2019
8e3ebe5
[12.0][IMP] base_tier_validation
ps-tubtim Nov 26, 2019
c9d4e29
[IMP] base_tier_validation: black, isort
pegonzalezspesol Dec 1, 2019
18a6d2c
[MIG] 13.0 base_tier_validation
pegonzalezspesol Dec 1, 2019
c066507
[12.0][fix] base_tier_validation
ps-tubtim Dec 2, 2019
9590ef9
[13.0][UPD] base_tier_validation:
LoisRForgeFlow Dec 18, 2019
0caf0ec
[13.0][UPD] base_tier_validation: update copyrights information after…
LoisRForgeFlow Dec 18, 2019
288bbaf
Added translation using Weblate (Dutch)
Jan 15, 2020
980e521
[IMP] solve pre commit warnings
jimhoefnagels Jan 22, 2020
9d6bc33
[FIX] When accepting or rejecting a review followers should not be no…
Feb 13, 2020
319ee37
[12.0][FIX] base_tier_validation: Unlink reviews when unlink a valida…
etobella Mar 18, 2020
0881843
Translated using Weblate (Chinese (Simplified))
dong-z Mar 23, 2020
7f2dae7
[FIX] tier_validation: Fix usage of can_review on tier.review
etobella Mar 31, 2020
605101e
[FIX] tier_validation: Security issues with record permissions
etobella Mar 31, 2020
a7557e5
pre-commit update
sbidoul Apr 22, 2020
b1d3a90
Translated using Weblate (Spanish)
eantones May 6, 2020
8502842
[FIX] base_tier_validation: All models are visible when create a new …
sergio-teruel May 26, 2020
9275a33
[IMP] base_tier_validation: notification hook
Jun 30, 2020
7bd68fe
[IMP] base_tier_validation: Make test more resilient with sales and p…
sergio-teruel Jul 13, 2020
9b4de2a
Update base_tier_validation/tests/test_tier_validation.py
sergio-teruel Jul 14, 2020
9d359c4
[FIX] base_tier_validation: Remove test to avoid crash tests with oth…
sergio-teruel Jul 21, 2020
43fb8e7
[13.0][FIX] base_tier_validation, fix approve by sequence problem
kittiu Aug 29, 2020
e3f5af5
[12.0][FIX] base_tier_validation : convert datetime timezone
Saran440 Mar 25, 2020
f108c4c
Translated using Weblate (Chinese (Simplified))
dong-z Sep 24, 2020
faa658e
[IMP] : black, isort, prettier
kittiu Oct 26, 2020
41d5208
[14.0][MIG] base_tier_validation
kittiu Oct 26, 2020
cc412ca
[IMP] base_tier_validation: state check
yostashiro Nov 2, 2020
2233e9f
[13.0][IMP] base_tier_validation: make module multi-company compatible.
LoisRForgeFlow Nov 10, 2020
4ac431b
Enhance definition's view, add Tabs
kittiu Nov 19, 2020
2bc365c
[14.0][UPD] base_tier_validation: update readme
LoisRForgeFlow Nov 19, 2020
d99646d
[IMP] base_tier_validation: Remove unnecessary modification of views
etobella Dec 13, 2020
5c17200
[FIX] fix test error, by separate test view into another class
kittiu Dec 17, 2020
1e30c31
[FIX] tier_validation: Fix views from template as state was not used
etobella Jan 28, 2021
baad6e6
[14.0][FIX] base_tier_validation, improve accuracy of systray
kittiu Feb 5, 2021
b91b1f3
[14.0][IMP] base_tier_validation, add 'Todo by' column in review table
kittiu Feb 9, 2021
338a587
[14.0][FIX] base_tier_validation, access_token as exception field
kittiu Feb 18, 2021
85798c2
[FIX] base_tier_validation: correct fusion of domains
MiquelRForgeFlow Mar 10, 2021
6447211
Translated using Weblate (Spanish)
anasuarez1 Mar 16, 2021
b28afd7
[IMP] base_tier_validation: support to search for records where valid…
JordiBForgeFlow Apr 19, 2021
71ad7fa
[FIX] base_tier_validation: External users receive the internal notif…
sergio-teruel Apr 16, 2021
aab7c2e
Added translation using Weblate (French)
Yvesldff May 14, 2021
7a1d5f0
[14.0][IMP] base_tier_validation, use sudo to post message
kittiu Jul 3, 2021
3a608cd
[14.0][ENH] Nootification message on restart tier
newtratip Jul 15, 2021
008e122
[FIX] base_tier_validation: avoid singleton error
JordiBForgeFlow Jul 5, 2021
95ff069
[14.0][IMP] base_tier_validation: add new review type
MateuGForgeFlow Jul 28, 2021
5406df6
Added translation using Weblate (Italian)
alessandro-fiorino Aug 11, 2021
f2820e8
Added translation using Weblate (Spanish (Mexico))
alan196 Aug 16, 2021
4fc12e2
[13.0][IMP] base_tier_validation: review_user_count perfromance
AdriaGForgeFlow Sep 27, 2021
ff8d188
[14.0][IMP] base_tier_validation, add tier description on stripe
kittiu Aug 6, 2021
38e9f05
[14.0][ENH] base_tier_validation, add configuration
kittiu Nov 12, 2021
a9546a2
Added translation using Weblate (Swedish)
simonstromb Nov 24, 2021
0d359ef
[IMP] base_tier_validation: black, isort, prettier
JasminSForgeFlow Dec 20, 2021
80ff8f5
[MIG] base_tier_validation: Migration to 15.0
JasminSForgeFlow Dec 20, 2021
ba474f6
[FIX+IMP] base_tier_validation: Don't mess searches with NewId + non …
pedrobaeza Mar 8, 2022
7726d21
base_tier_validation 15.0.1.0.1
OCA-git-bot Mar 9, 2022
c4f629c
[IMP] base_tier_validation: introduce new fields for validation messa…
JordiBForgeFlow Apr 10, 2022
3b7de6d
base_tier_validation 15.0.1.1.0
OCA-git-bot Apr 12, 2022
bd014c9
[FIX] base_tier_validation: Icon error when validated
CarlosRoca13 Jul 5, 2022
8db2c19
base_tier_validation 15.0.1.2.0
OCA-git-bot Aug 9, 2022
da3e028
[MIG]: base_tier_validation: Migration to 16
bizzappdev Oct 19, 2022
3c3dc06
Translated using Weblate (Italian)
francesco-ooops Jan 2, 2023
50630c8
Added translation using Weblate (Turkish)
tate11 Feb 7, 2023
32af9a2
[FIX] pre-commit warnings
CRogos Feb 16, 2023
b49a72d
base_tier_validation 16.0.1.0.1
OCA-git-bot Feb 17, 2023
a3a62c5
Translated using Weblate (Italian)
mymage Apr 5, 2023
6b0acc5
base_tier_validation: skip_validation_check
ilyasProgrammer Mar 9, 2023
ea785bc
base_tier_validation: Use domain for filtering values
etobella Apr 12, 2023
1ac1cee
base_tier_validation 16.0.1.0.2
OCA-git-bot Apr 20, 2023
5e90b24
base_tier_validation 16.0.1.0.3
OCA-git-bot Apr 20, 2023
4b6e7ef
[FIX] base_tier_validation: Detect if model has active field
etobella Apr 20, 2023
f05a740
base_tier_validation 16.0.1.0.4
OCA-git-bot Apr 24, 2023
5c7e528
Translated using Weblate (Italian)
mymage May 22, 2023
8ee009d
Translated using Weblate (Italian)
francesco-ooops May 24, 2023
e06de71
Translated using Weblate (Italian)
mymage May 29, 2023
9bf101a
[IMP] base_tier_validation: Misc changes
victoralmau May 16, 2023
00eefdc
base_tier_validation 16.0.1.0.5
OCA-git-bot Jun 30, 2023
b64cf77
Translated using Weblate (Italian)
mymage Jun 7, 2023
4dcc381
Translated using Weblate (Spanish)
Ivorra78 Aug 27, 2023
45a4028
[IMP] base_tier_validation: show in res.config.settings already migra…
alan196 Sep 6, 2023
835edfd
[IMP] base_tier_validation: Add method to allow remove reviews.
victoralmau Aug 31, 2023
9ccb186
base_tier_validation 16.0.1.0.6
OCA-git-bot Sep 11, 2023
e45a287
oca-github-bot post-merge updates
OCA-git-bot Sep 18, 2023
37d7966
Translated using Weblate (Spanish)
Ivorra78 Oct 3, 2023
010691f
[FIX] base_tier_validation: Exclude cancel records from pending count
OpenCode Oct 10, 2023
8f120f9
[BOT] post-merge updates
OCA-git-bot Oct 10, 2023
b2ea998
Translated using Weblate (French)
houzefa-abba Oct 19, 2023
5049592
[IMP] base_tier_validation: Add validation_status field to tier.valid…
victoralmau Oct 17, 2023
57434c0
[IMP] base_tier_validation: Add tier.validation.tester models to _get…
victoralmau Oct 24, 2023
f771056
[BOT] post-merge updates
OCA-git-bot Oct 24, 2023
6b889e5
[PERF] base_tier_validation: filter records with reviews before compu…
celm1990 Oct 27, 2023
0d2bdda
Translated using Weblate (Italian)
mymage Nov 2, 2023
bd5fee7
[IMP] base_tier_validation: update tests to support messages
bosd Oct 22, 2023
85e0750
[IMP] base_tier_validation: use sudo to post message
bosd Oct 22, 2023
33d75b3
base_tier_validation, approve by sequence with option to bypass for s…
kittiu Nov 5, 2021
9112834
[BOT] post-merge updates
OCA-git-bot Nov 6, 2023
9597c4a
Translated using Weblate (Italian)
mymage Nov 12, 2023
e3a12ef
[IMP] base_tier_validation: filter tier definition for the current co…
celm1990 Nov 11, 2023
78698a7
[BOT] post-merge updates
OCA-git-bot Nov 14, 2023
2a0166f
[BOT] post-merge updates
OCA-git-bot Nov 17, 2023
11873eb
Translated using Weblate (Spanish)
Ivorra78 Nov 18, 2023
5eab5ed
[BOT] post-merge updates
OCA-git-bot Nov 21, 2023
ca0d8de
[IMP] base_tier_validation: test performance improvement
bosd Nov 29, 2023
17d0a3a
[BOT] post-merge updates
OCA-git-bot Nov 30, 2023
147befd
[IMP] base_tier_validation: Add _prepare_tier_review_vals() methot to…
victoralmau Nov 15, 2023
0bddf80
[BOT] post-merge updates
OCA-git-bot Nov 30, 2023
c286f6c
[IMP] base_tier_validation: pre-commit stuff
rven Dec 5, 2023
8e691c1
[MIG] base_tier_validation: Migration to 17.0
rven Dec 5, 2023
ca43a22
base_tier_validation: only post notifications to reciepients
bosd Oct 22, 2023
dc4bd83
[FIX] base_tier_validation: field is edtitable
fmdl Sep 15, 2023
56be0ed
[BOT] post-merge updates
OCA-git-bot Jan 10, 2024
dc4a59f
[MIG] base_tier_validation_formula: Migrate to version 17.0
Jan 8, 2024
aaf7192
[IMP] base_tier_validation: pre-commit stuff
bosd Jan 10, 2024
b7a61b2
[BOT] post-merge updates
OCA-git-bot Jan 10, 2024
442e037
[IMP] base_tier_validation: Merge with base_tier_validation_waiting
bosd Jan 10, 2024
e2461c4
[IMP] base_tier_validation: review comments
bosd Jan 11, 2024
5389943
[FIX] base_tier_validation: Change web_ribbon text to title to make i…
victoralmau Jan 31, 2024
e49d001
[BOT] post-merge updates
OCA-git-bot Jan 31, 2024
3d6577b
[BOT] post-merge updates
OCA-git-bot Feb 8, 2024
86ed588
[IMP]base_tier_validation: UI Improvements
bosd Jan 14, 2024
e9a371f
[BOT] post-merge updates
OCA-git-bot Feb 12, 2024
a25d601
Translated using Weblate (Spanish)
Ivorra78 Feb 12, 2024
a342640
Translated using Weblate (Italian)
mymage Feb 13, 2024
e8542d6
Translated using Weblate (Italian)
mymage Feb 14, 2024
aec44fc
Translated using Weblate (Italian)
mymage Feb 14, 2024
b14d8f6
Translated using Weblate (Italian)
mymage Feb 14, 2024
8ba8e27
[FIX] base_tier_validation: Do not write review fields in pending state
bosd Feb 14, 2024
3d02b57
[IMP] base_tier_validation: Test created notification body
bosd Feb 14, 2024
63fc4ba
Incorrect displayed timezone for tier review validation date
evanomnisoft Jan 24, 2024
9332c26
Update CONTRIBUTORS.rst
evanomnisoft Jan 24, 2024
2730578
Renamed variables for logical consistentcy
evanomnisoft Feb 9, 2024
2abdecb
[BOT] post-merge updates
OCA-git-bot Feb 15, 2024
89a7394
[BOT] post-merge updates
OCA-git-bot Feb 15, 2024
5f23e49
Translated using Weblate (Dutch (nl_NL))
bosd Feb 18, 2024
43bb570
[FIX][17.0]base_tier_validation: Fixed selection not translated.
bizzappdev Mar 9, 2024
f4ddabd
[BOT] post-merge updates
OCA-git-bot Mar 11, 2024
a98b28d
Translated using Weblate (Italian)
mymage Mar 12, 2024
1a004aa
[17.0] [IMP] base_tier_validation: Block notifications
manuelregidor Feb 28, 2024
b83796f
[BOT] post-merge updates
OCA-git-bot Mar 22, 2024
18fe172
Translated using Weblate (Italian)
mymage Mar 25, 2024
b5db837
[FIX] base_tier_validation: prevent useless loop
fmdl Feb 23, 2024
3869f9b
[BOT] post-merge updates
OCA-git-bot Apr 22, 2024
fc3a20b
Translated using Weblate (Spanish)
Ivorra78 Apr 23, 2024
a39fb42
Translated using Weblate (Italian)
mymage May 2, 2024
7a350a2
Translated using Weblate (Swedish)
jakobkrabbe Jun 12, 2024
6453fe9
Translated using Weblate (Italian)
mymage Jun 26, 2024
46724c0
base_tier_validation: multiple comment with approve_sequence_bypass
mathben Aug 2, 2023
3deebc9
[ADD] set all form fields readonly when under validation
hbrunn Aug 29, 2023
85c993f
[IMP] configurable domain for readonly fields in validation
Kev-Roche May 24, 2024
bc853c1
[FIX] base_tier_validation: Tier Validation Exceptions
Shide Jun 27, 2024
ffdf296
[FIX] base_tier_validation: Invalidate review model on tests
Shide Jul 2, 2024
1aeb024
[FIX] base_tier_validation: Fix how readonly modifiers are built
Shide Jul 15, 2024
af73ead
[16.0][FIX] base_tier_validation, add sudo call to models without exp…
ChrisOForgeFlow Jul 10, 2024
01062e1
[BOT] post-merge updates
OCA-git-bot Jul 16, 2024
9d8c6d7
Translated using Weblate (Italian)
mymage Jul 16, 2024
a2fd2db
[16.0][FIX] base_tier_validation, search only active definitions
ChrisOForgeFlow Jun 20, 2024
05745c1
[BOT] post-merge updates
OCA-git-bot Jul 22, 2024
6058a51
[FIX] base_tier_validation: Tier Validation Exception Groups
Shide Jul 5, 2024
b514675
[IMP] base_tier_validation: label
bosd Jul 24, 2024
e999ab3
[BOT] post-merge updates
OCA-git-bot Jul 24, 2024
a2a8c8e
[BOT] post-merge updates
OCA-git-bot Jul 24, 2024
5fe8db4
Translated using Weblate (Italian)
mymage Jul 29, 2024
1c4149e
[FIX] base_tier_validation: Field merge in view
houzefa-abba Mar 15, 2024
60dbe70
[BOT] post-merge updates
OCA-git-bot Jul 30, 2024
57f3452
[RFC]base_tier_validation: remove unused code
bosd Feb 11, 2024
2431b2c
[BOT] post-merge updates
OCA-git-bot Aug 29, 2024
da17004
[IMP] base_tier_validation: support computed state field
StefanRijnhart Oct 3, 2024
e9add1b
[BOT] post-merge updates
OCA-git-bot Oct 25, 2024
4c411f2
[FIX] base_tier_validation: amend authors
LoisRForgeFlow Oct 25, 2024
60bbd9f
[BOT] post-merge updates
OCA-git-bot Oct 25, 2024
d277256
[14.0][IMP] base_tier_validation: Add hook for state transition
rousseldenis Dec 17, 2021
f6339b4
[IMP] base_tier_validation: improve error message.
LoisRForgeFlow Feb 26, 2021
767aa5c
[base_tier_validation][fix] Allow to search for validated=False and r…
JordiBForgeFlow Jun 17, 2021
4e36f61
[FIX] base_tier_validation: error on reviews after uninstalling Tier …
dreispt Feb 15, 2022
e3bc6bc
[IMP] base_tier_validation: group_erp_manager can edit tier definitions.
ilyasProgrammer Jan 23, 2023
075e83f
[14.0][IMP] add write possibility for reviewers
Kev-Roche Jul 3, 2023
939bf74
[IMP] base_tier_validation: Add reminder option
TDu Apr 29, 2024
645ab59
Fix base_tier_validation reminder option
TDu Oct 28, 2024
27f636d
[FIX] base_tier_validation: forward porting fixes
henrybackman Nov 8, 2024
721771b
[BOT] post-merge updates
OCA-git-bot Nov 26, 2024
a0d2bd3
Translated using Weblate (Italian)
mymage Nov 26, 2024
1643ae0
[IMP] base_tier_validation: add icon
AlexPForgeFlow Dec 2, 2024
43e7888
[BOT] post-merge updates
OCA-git-bot Dec 4, 2024
d01313f
[IMP] base_tier_validation: pre-commit auto fixes
kevinkhao Nov 1, 2024
0aa0517
[IMP] base_tier_validation: odoo upgrade_code fixes
kevinkhao Nov 1, 2024
a79b6fe
[MIG] base_tier_validation: Migration to 18.0
kevinkhao Nov 1, 2024
7effef6
[IMP] base_tier_validation: using _read_group for better performance
xaviedoanhduy Feb 3, 2025
10b538d
[UPD] Update base_tier_validation.pot
Feb 4, 2025
b9ac817
[BOT] post-merge updates
OCA-git-bot Feb 4, 2025
17b31d1
Update translation files
weblate Feb 4, 2025
4987338
Added translation using Weblate (Dutch)
bosd Feb 4, 2025
68555a4
Translated using Weblate (Dutch (nl_NL))
bosd Feb 4, 2025
de31984
Translated using Weblate (Dutch)
bosd Feb 4, 2025
9dac96b
Translated using Weblate (Dutch)
bosd Feb 4, 2025
58acbad
Translated using Weblate (Italian)
mymage Feb 5, 2025
3c6d14f
[FIX] base_tier_validation: review table key undefined
miikanissi Feb 5, 2025
d9d03ef
[BOT] post-merge updates
OCA-git-bot Feb 7, 2025
72b348d
[FIX] base_tier_validation: Do not update the counter if it is not po…
victoralmau Mar 10, 2025
2410765
[FIX] base_tier_validation: Do not update the counter when restarting…
victoralmau Mar 13, 2025
da9be48
[BOT] post-merge updates
OCA-git-bot Mar 13, 2025
a5fcea5
[FIX] base_tier_validation: Improve multi-company support
Saran440 Mar 17, 2025
9e76b86
[BOT] post-merge updates
OCA-git-bot Mar 25, 2025
ce71611
Added translation using Weblate (Vietnamese (vi_VN))
DucTruongKomit Mar 28, 2025
f58a3bc
Translated using Weblate (Vietnamese (vi_VN))
DucTruongKomit Mar 28, 2025
daec764
Translated using Weblate (Vietnamese (vi_VN))
DucTruongKomit Mar 28, 2025
078bc20
Translated using Weblate (Vietnamese (vi_VN))
DucTruongKomit Apr 4, 2025
40c4074
Translated using Weblate (Turkish)
bo-eska Apr 15, 2025
e70aade
[UPD] Update base_tier_validation.pot
May 7, 2025
3cca518
Update translation files
weblate May 7, 2025
a582335
[FIX] base_tier_validation: Ensure valid recordset assignment in _com…
Saran440 Mar 17, 2025
6ee917d
[BOT] post-merge updates
OCA-git-bot May 8, 2025
51d8b3e
[IMP]base_tier_validation: Allow attachment generation after validation
bosd May 8, 2025
793f8dd
[BOT] post-merge updates
OCA-git-bot May 12, 2025
b51aa83
[FIX] base_tier_validation readonly overrides
EmileNoppeSomko Apr 17, 2025
72481c2
[BOT] post-merge updates
OCA-git-bot May 22, 2025
a0fa6c1
Translated using Weblate (Dutch)
bosd Jun 20, 2025
50096ba
[FIX] base_tier_validation: add field attrs references
hbrunn Jun 24, 2025
46a6dc2
[BOT] post-merge updates
OCA-git-bot Jun 30, 2025
c14d9fd
[FIX] base_tier_validation: Proper notifications on reviews
victoralmau May 20, 2025
a12902f
[BOT] post-merge updates
OCA-git-bot Jul 1, 2025
0635573
[FIX] base_tier_validation: make ReviewsTable widget work with manual
MaxyMoos Jun 20, 2025
a33eb73
[BOT] post-merge updates
OCA-git-bot Jul 2, 2025
316400f
Translated using Weblate (Italian)
mymage Jul 23, 2025
97d54e4
[IMP] base_tier_validation: Make the validation_status field store so…
victoralmau May 22, 2025
9775d37
[BOT] post-merge updates
OCA-git-bot Aug 6, 2025
0df693f
[FIX] base_tier_validation: Prevent errors in migration script
carlos-lopez-tecnativa Aug 6, 2025
8a928f6
[IMP] base_tier_validation: support res.groups in addition to res.use…
kevinkhao Aug 7, 2025
dfee280
[FIX] base_tier_validation: prevent error when trying to access revie…
celm1990 Sep 25, 2025
30fd9f0
[BOT] post-merge updates
OCA-git-bot Oct 16, 2025
2b337c4
[UPD] Update base_tier_validation.pot
Oct 20, 2025
a37a291
[BOT] post-merge updates
OCA-git-bot Oct 20, 2025
ec1fabc
Update translation files
weblate Oct 20, 2025
7563e98
Translated using Weblate (Italian)
mymage Oct 21, 2025
7442ab9
Added translation using Weblate (German)
didierdonze Oct 28, 2025
6ccd8ac
Translated using Weblate (Turkish)
bo-eska Oct 30, 2025
6906257
Translated using Weblate (Italian)
mymage Nov 6, 2025
af46e4b
[IMP] base_tier_validation: pre-commit auto fixes
em230418 Dec 9, 2025
d081f82
[MIG] base_tier_validation: migration to 19.0
JayramJ-Serpentcs Dec 9, 2025
cf01108
[REM] base_tier_validation: remove 18.0 migration scripts
em230418 Jan 13, 2026
94211ee
[REM] base_tier_validation: remove module installation via settings
em230418 Jan 13, 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
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:3e44413fd72f8949deba313c3f31047cbf30ba3b17d78342590d2376001d905f
!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!

.. |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