Skip to content
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 #990

Closed
Closed
Show file tree
Hide file tree
Changes from all commits
Commits
Show all changes
252 commits
Select commit Hold shift + click to select a range
54595b1
[9.0][IMP] base_tier_validation: tries automatically request validati…
LoisRForgeFlow Mar 2, 2018
35a54ce
[9.0][IMP] base_tier_validation: filter out reviews not pending
LoisRForgeFlow Mar 2, 2018
2afb3a8
make possible to filter by validated records
LoisRForgeFlow Mar 2, 2018
1564267
allow to add exceptions for fields that can be written on under valid…
LoisRForgeFlow Mar 15, 2018
7fb0a90
[9.0][IMP] base_tier_validation:
LoisRForgeFlow Mar 23, 2018
869cdc4
[10.0][MIG] base_tier_validation
LoisRForgeFlow Mar 26, 2018
9d717a7
[11.0][MIG] base_tier_validation
LoisRForgeFlow May 9, 2018
80df625
[11.0][IMP] base_tier_validation: add tests
LoisRForgeFlow May 10, 2018
dd3b585
add 'can_review' to tier.validation so that the buttons approve
JordiBForgeFlow Jul 3, 2018
8110431
[11.0][IMP] base_tier_validation: enhance views and register who does…
LoisRForgeFlow Jan 15, 2019
bba9fbe
[11.0][FIX] base_tier_validation
AdriaGForgeFlow Feb 15, 2019
77123ae
Add name attribute to filter
AdriaGForgeFlow Feb 15, 2019
61b5deb
[MIG] base_tier_validation: Migration to 12.0
Feb 18, 2019
7213804
[ADD] icon.png
OCA-git-bot May 27, 2019
1024d1c
[11.0][IMP] base_tier_validation
AdriaGForgeFlow Feb 25, 2019
42d8ae6
[IMP] base_tier_validation: Pass parameters as functions
etobella Apr 10, 2019
9e5510e
[IMP] base_tier_validation: Add a chatter message if the model has it
etobella May 8, 2019
06bc2a3
[11.0][FIX] base_tier_validation: make name translatable and display …
LoisRForgeFlow May 15, 2019
8973b96
[11.0][UPD] base_tier_validation: roadmap.
LoisRForgeFlow May 15, 2019
13251e4
[12.0][MIG] base_tier_validation: adapt systray to v12.
LoisRForgeFlow May 28, 2019
8ba8dab
Added translation using Weblate (Spanish)
LoisRForgeFlow May 29, 2019
10d2d9a
[12.0][FIX] dropdown style width and position
AdriaGForgeFlow May 29, 2019
6736a37
[12.0][IMP] base_tier_validation module
AdriaGForgeFlow Jun 14, 2019
afefc4f
[FIX] base_tier_validation : singleton error
fmdl Jul 4, 2019
99636b5
Added translation using Weblate (Chinese (Simplified))
liweijie0812 Sep 2, 2019
ef985d1
Translated using Weblate (Chinese (Simplified))
digitalsatori Oct 21, 2019
fc2420a
[11.0][IMP] base_tier_validation: add an optional email
LoisRForgeFlow Nov 12, 2019
f4e4d45
[11.0][FIX] base_tier_validation: singleton issue
LoisRForgeFlow Nov 22, 2019
1def481
[12.0][FIX] base_tier_validation: message_subscribe_users removed in v12
LoisRForgeFlow Nov 26, 2019
fe30a00
[12.0][IMP] base_tier_validation
ps-tubtim Nov 26, 2019
48c9e16
[IMP] base_tier_validation: black, isort
pegonzalezspesol Dec 1, 2019
4d718c6
[MIG] 13.0 base_tier_validation
pegonzalezspesol Dec 1, 2019
bd17c9f
[12.0][fix] base_tier_validation
ps-tubtim Dec 2, 2019
666d65e
[13.0][UPD] base_tier_validation:
LoisRForgeFlow Dec 18, 2019
0d0cecc
[13.0][UPD] base_tier_validation: update copyrights information after…
LoisRForgeFlow Dec 18, 2019
a3bbe61
Added translation using Weblate (Dutch)
Jan 15, 2020
108de2e
[IMP] solve pre commit warnings
jimhoefnagels Jan 22, 2020
d9c8d56
[FIX] When accepting or rejecting a review followers should not be no…
Feb 13, 2020
6b6f1cb
[12.0][FIX] base_tier_validation: Unlink reviews when unlink a valida…
etobella Mar 18, 2020
9eed8f7
Translated using Weblate (Chinese (Simplified))
dong-z Mar 23, 2020
f6fc8ce
[FIX] tier_validation: Fix usage of can_review on tier.review
etobella Mar 31, 2020
58a7734
[FIX] tier_validation: Security issues with record permissions
etobella Mar 31, 2020
4ca5a5a
pre-commit update
sbidoul Apr 22, 2020
d23b744
Translated using Weblate (Spanish)
eantones May 6, 2020
679d105
[FIX] base_tier_validation: All models are visible when create a new …
sergio-teruel May 26, 2020
dab3188
[IMP] base_tier_validation: notification hook
Jun 30, 2020
d49207f
[IMP] base_tier_validation: Make test more resilient with sales and p…
sergio-teruel Jul 13, 2020
f249e16
Update base_tier_validation/tests/test_tier_validation.py
sergio-teruel Jul 14, 2020
fbc0e3e
[FIX] base_tier_validation: Remove test to avoid crash tests with oth…
sergio-teruel Jul 21, 2020
c8262af
[13.0][FIX] base_tier_validation, fix approve by sequence problem
kittiu Aug 29, 2020
5c33ee4
[12.0][FIX] base_tier_validation : convert datetime timezone
Saran440 Mar 25, 2020
11287e3
Translated using Weblate (Chinese (Simplified))
dong-z Sep 24, 2020
d9f28c6
[IMP] : black, isort, prettier
kittiu Oct 26, 2020
4f37825
[14.0][MIG] base_tier_validation
kittiu Oct 26, 2020
6ad93d9
[IMP] base_tier_validation: state check
yostashiro Nov 2, 2020
1e0b29e
[13.0][IMP] base_tier_validation: make module multi-company compatible.
LoisRForgeFlow Nov 10, 2020
39c7d64
Enhance definition's view, add Tabs
kittiu Nov 19, 2020
e6efba7
[14.0][UPD] base_tier_validation: update readme
LoisRForgeFlow Nov 19, 2020
a19f603
[IMP] base_tier_validation: Remove unnecessary modification of views
etobella Dec 13, 2020
964f5ec
[FIX] fix test error, by separate test view into another class
kittiu Dec 17, 2020
e8bb53d
[FIX] tier_validation: Fix views from template as state was not used
etobella Jan 28, 2021
09eda69
[14.0][FIX] base_tier_validation, improve accuracy of systray
kittiu Feb 5, 2021
540f09b
[14.0][IMP] base_tier_validation, add 'Todo by' column in review table
kittiu Feb 9, 2021
8a1a1cc
[14.0][FIX] base_tier_validation, access_token as exception field
kittiu Feb 18, 2021
31d60af
[FIX] base_tier_validation: correct fusion of domains
MiquelRForgeFlow Mar 10, 2021
8f8f25f
Translated using Weblate (Spanish)
anasuarez1 Mar 16, 2021
0b073ea
[IMP] base_tier_validation: support to search for records where valid…
JordiBForgeFlow Apr 19, 2021
7782d38
[FIX] base_tier_validation: External users receive the internal notif…
sergio-teruel Apr 16, 2021
717cbff
Added translation using Weblate (French)
Yvesldff May 14, 2021
1220890
[14.0][IMP] base_tier_validation, use sudo to post message
kittiu Jul 3, 2021
ab41279
[14.0][ENH] Nootification message on restart tier
newtratip Jul 15, 2021
752eae9
[FIX] base_tier_validation: avoid singleton error
JordiBForgeFlow Jul 5, 2021
e2c1f95
[14.0][IMP] base_tier_validation: add new review type
MateuGForgeFlow Jul 28, 2021
709fedb
Added translation using Weblate (Italian)
alessandro-fiorino Aug 11, 2021
a8dd423
Added translation using Weblate (Spanish (Mexico))
alan196 Aug 16, 2021
212db8e
[13.0][IMP] base_tier_validation: review_user_count perfromance
AdriaGForgeFlow Sep 27, 2021
f4edb26
[14.0][IMP] base_tier_validation, add tier description on stripe
kittiu Aug 6, 2021
521cf37
[14.0][ENH] base_tier_validation, add configuration
kittiu Nov 12, 2021
3f14759
Added translation using Weblate (Swedish)
simonstromb Nov 24, 2021
69b7add
[IMP] base_tier_validation: black, isort, prettier
JasminSForgeFlow Dec 20, 2021
ab942b5
[MIG] base_tier_validation: Migration to 15.0
JasminSForgeFlow Dec 20, 2021
16b6cc8
[UPD] Update base_tier_validation.pot
Dec 22, 2021
8c41fd1
[UPD] README.rst
OCA-git-bot Dec 22, 2021
e9f942d
[FIX+IMP] base_tier_validation: Don't mess searches with NewId + non …
pedrobaeza Mar 8, 2022
29b23b6
base_tier_validation 15.0.1.0.1
OCA-git-bot Mar 9, 2022
e69a5f9
[IMP] base_tier_validation: introduce new fields for validation messa…
JordiBForgeFlow Apr 10, 2022
188cd3a
[UPD] Update base_tier_validation.pot
Apr 12, 2022
a8fe433
base_tier_validation 15.0.1.1.0
OCA-git-bot Apr 12, 2022
e8cb0f7
Update translation files
oca-transbot Apr 12, 2022
0878a05
[FIX] base_tier_validation: Icon error when validated
CarlosRoca13 Jul 5, 2022
e8f8d32
base_tier_validation 15.0.1.2.0
OCA-git-bot Aug 9, 2022
b723bac
[UPD] Update base_tier_validation.pot
Sep 21, 2022
e05560c
Update translation files
oca-transbot Sep 21, 2022
0371769
[MIG]: base_tier_validation: Migration to 16
bizzappdev Oct 19, 2022
abb9e34
[UPD] Update base_tier_validation.pot
Dec 30, 2022
02a79d3
[UPD] README.rst
OCA-git-bot Dec 30, 2022
dfd888d
[UPD] Update base_tier_validation.pot
Dec 30, 2022
cb3f362
Update translation files
weblate Dec 30, 2022
8e224d3
Translated using Weblate (Italian)
francesco-ooops Jan 2, 2023
591f2ad
Added translation using Weblate (Turkish)
tate11 Feb 7, 2023
b0a4710
[FIX] pre-commit warnings
CRogos Feb 16, 2023
65fb558
base_tier_validation 16.0.1.0.1
OCA-git-bot Feb 17, 2023
9ed330e
Translated using Weblate (Italian)
mymage Apr 5, 2023
45c78aa
base_tier_validation: skip_validation_check
ilyasProgrammer Mar 9, 2023
3e7f893
base_tier_validation: Use domain for filtering values
etobella Apr 12, 2023
4e63ef3
base_tier_validation 16.0.1.0.2
OCA-git-bot Apr 20, 2023
5f3e9a0
base_tier_validation 16.0.1.0.3
OCA-git-bot Apr 20, 2023
e027fa4
[FIX] base_tier_validation: Detect if model has active field
etobella Apr 20, 2023
20f4824
base_tier_validation 16.0.1.0.4
OCA-git-bot Apr 24, 2023
385c2fa
Translated using Weblate (Italian)
mymage May 22, 2023
8adc283
Translated using Weblate (Italian)
francesco-ooops May 24, 2023
907e2ab
Translated using Weblate (Italian)
mymage May 29, 2023
09cefa6
[UPD] Update base_tier_validation.pot
May 29, 2023
fe97db0
[IMP] base_tier_validation: Misc changes
victoralmau May 16, 2023
cd03f35
base_tier_validation 16.0.1.0.5
OCA-git-bot Jun 30, 2023
0afeab4
Translated using Weblate (Italian)
mymage Jun 7, 2023
a0da88d
Translated using Weblate (Spanish)
Ivorra78 Aug 27, 2023
5b3c397
[UPD] README.rst
OCA-git-bot Sep 3, 2023
e08ca82
[IMP] base_tier_validation: show in res.config.settings already migra…
alan196 Sep 6, 2023
0c68364
[IMP] base_tier_validation: Add method to allow remove reviews.
victoralmau Aug 31, 2023
49ae11e
base_tier_validation 16.0.1.0.6
OCA-git-bot Sep 11, 2023
76b0767
[UPD] README.rst
OCA-git-bot Sep 11, 2023
481c2be
oca-github-bot post-merge updates
OCA-git-bot Sep 18, 2023
41dbba4
[UPD] Update base_tier_validation.pot
Sep 18, 2023
db77330
Translated using Weblate (Spanish)
Ivorra78 Oct 3, 2023
661e5f5
[FIX] base_tier_validation: Exclude cancel records from pending count
OpenCode Oct 10, 2023
323398c
[BOT] post-merge updates
OCA-git-bot Oct 10, 2023
8b03e85
Translated using Weblate (French)
houzefa-abba Oct 19, 2023
7874780
[IMP] base_tier_validation: Add validation_status field to tier.valid…
victoralmau Oct 17, 2023
2e6e2e4
[IMP] base_tier_validation: Add tier.validation.tester models to _get…
victoralmau Oct 24, 2023
a720a9e
[UPD] Update base_tier_validation.pot
Oct 24, 2023
f76996d
[BOT] post-merge updates
OCA-git-bot Oct 24, 2023
4376849
Update translation files
weblate Oct 28, 2023
a7b2f80
[PERF] base_tier_validation: filter records with reviews before compu…
celm1990 Oct 27, 2023
468e16a
Translated using Weblate (Italian)
mymage Nov 2, 2023
297c42b
[IMP] base_tier_validation: update tests to support messages
bosd Oct 22, 2023
0742743
[IMP] base_tier_validation: use sudo to post message
bosd Oct 22, 2023
34d3102
base_tier_validation, approve by sequence with option to bypass for s…
kittiu Nov 5, 2021
9efc32d
[BOT] post-merge updates
OCA-git-bot Nov 6, 2023
124b592
Translated using Weblate (Italian)
mymage Nov 12, 2023
0e35077
[IMP] base_tier_validation: filter tier definition for the current co…
celm1990 Nov 11, 2023
19766fc
[BOT] post-merge updates
OCA-git-bot Nov 14, 2023
d2e9ea2
[UPD] Update base_tier_validation.pot
Nov 17, 2023
2076f44
[BOT] post-merge updates
OCA-git-bot Nov 17, 2023
681cebd
Update translation files
weblate Nov 17, 2023
576b345
Translated using Weblate (Spanish)
Ivorra78 Nov 18, 2023
a8ed42c
[BOT] post-merge updates
OCA-git-bot Nov 21, 2023
beb0fc2
[IMP] base_tier_validation: test performance improvement
bosd Nov 29, 2023
4dfd4f8
[BOT] post-merge updates
OCA-git-bot Nov 30, 2023
dece3b7
[IMP] base_tier_validation: Add _prepare_tier_review_vals() methot to…
victoralmau Nov 15, 2023
b5295f7
[BOT] post-merge updates
OCA-git-bot Nov 30, 2023
f84b966
[IMP] base_tier_validation: pre-commit stuff
rven Dec 5, 2023
c8b39da
[MIG] base_tier_validation: Migration to 17.0
rven Dec 5, 2023
1efbab8
base_tier_validation: only post notifications to reciepients
bosd Oct 22, 2023
a00b5b4
[FIX] base_tier_validation: field is edtitable
fmdl Sep 15, 2023
ce4394e
[UPD] Update base_tier_validation.pot
Jan 10, 2024
0a2bf5d
[BOT] post-merge updates
OCA-git-bot Jan 10, 2024
c01f65c
[MIG] base_tier_validation_formula: Migrate to version 17.0
Jan 8, 2024
5837828
[IMP] base_tier_validation: pre-commit stuff
bosd Jan 10, 2024
84c50e6
[BOT] post-merge updates
OCA-git-bot Jan 10, 2024
0781204
[IMP] base_tier_validation: Merge with base_tier_validation_waiting
bosd Jan 10, 2024
bfbbdbf
[IMP] base_tier_validation: review comments
bosd Jan 11, 2024
af4c5ff
[UPD] Update base_tier_validation.pot
Jan 25, 2024
3ffa0a4
[FIX] base_tier_validation: Change web_ribbon text to title to make i…
victoralmau Jan 31, 2024
a74a561
[UPD] Update base_tier_validation.pot
Jan 31, 2024
f3e0698
[BOT] post-merge updates
OCA-git-bot Jan 31, 2024
b7cd253
Update translation files
weblate Feb 3, 2024
e5435de
[UPD] Update base_tier_validation.pot
Feb 8, 2024
9ae2606
[BOT] post-merge updates
OCA-git-bot Feb 8, 2024
54e1eea
Update translation files
weblate Feb 8, 2024
d0fbeb6
[IMP]base_tier_validation: UI Improvements
bosd Jan 14, 2024
ed64878
[UPD] Update base_tier_validation.pot
Feb 12, 2024
480dfe0
[BOT] post-merge updates
OCA-git-bot Feb 12, 2024
7293a80
Update translation files
weblate Feb 12, 2024
ddb6c8c
Translated using Weblate (Spanish)
Ivorra78 Feb 12, 2024
eb99f92
Translated using Weblate (Italian)
mymage Feb 13, 2024
95d9255
Translated using Weblate (Italian)
mymage Feb 14, 2024
0388f1d
Translated using Weblate (Italian)
mymage Feb 14, 2024
7a1c594
Translated using Weblate (Italian)
mymage Feb 14, 2024
da409e9
[FIX] base_tier_validation: Do not write review fields in pending state
bosd Feb 14, 2024
3c23d7b
[IMP] base_tier_validation: Test created notification body
bosd Feb 14, 2024
5d584b7
Incorrect displayed timezone for tier review validation date
evanomnisoft Jan 24, 2024
507168f
Update CONTRIBUTORS.rst
evanomnisoft Jan 24, 2024
81f6b88
Renamed variables for logical consistentcy
evanomnisoft Feb 9, 2024
30d266a
[BOT] post-merge updates
OCA-git-bot Feb 15, 2024
9255846
[BOT] post-merge updates
OCA-git-bot Feb 15, 2024
90a48d3
Translated using Weblate (Dutch (nl_NL))
bosd Feb 18, 2024
6af1e58
[FIX][17.0]base_tier_validation: Fixed selection not translated.
bizzappdev Mar 9, 2024
9c99c7a
[UPD] Update base_tier_validation.pot
Mar 11, 2024
59709b4
[BOT] post-merge updates
OCA-git-bot Mar 11, 2024
6898bdd
Update translation files
weblate Mar 11, 2024
d5950f6
Translated using Weblate (Italian)
mymage Mar 12, 2024
f13283c
[17.0] [IMP] base_tier_validation: Block notifications
manuelregidor Feb 28, 2024
6cad947
[UPD] Update base_tier_validation.pot
Mar 22, 2024
25a24be
[BOT] post-merge updates
OCA-git-bot Mar 22, 2024
24e2bb4
Update translation files
weblate Mar 22, 2024
e52936f
Translated using Weblate (Italian)
mymage Mar 25, 2024
02bfec4
[FIX] base_tier_validation: prevent useless loop
fmdl Feb 23, 2024
83e99f0
[BOT] post-merge updates
OCA-git-bot Apr 22, 2024
d125714
Translated using Weblate (Spanish)
Ivorra78 Apr 23, 2024
563f663
Translated using Weblate (Italian)
mymage May 2, 2024
3f1d5cd
Translated using Weblate (Swedish)
jakobkrabbe Jun 12, 2024
e6aa7f5
Translated using Weblate (Italian)
mymage Jun 26, 2024
1ec1e12
base_tier_validation: multiple comment with approve_sequence_bypass
mathben Aug 2, 2023
d1fed05
[ADD] set all form fields readonly when under validation
hbrunn Aug 29, 2023
aa84352
[IMP] configurable domain for readonly fields in validation
Kev-Roche May 24, 2024
daaeccc
[FIX] base_tier_validation: Tier Validation Exceptions
Shide Jun 27, 2024
20aaa82
[FIX] base_tier_validation: Invalidate review model on tests
Shide Jul 2, 2024
1282cd8
[FIX] base_tier_validation: Fix how readonly modifiers are built
Shide Jul 15, 2024
1e3aed1
[16.0][FIX] base_tier_validation, add sudo call to models without exp…
ChrisOForgeFlow Jul 10, 2024
7f1703f
[UPD] Update base_tier_validation.pot
Jul 16, 2024
fada458
[BOT] post-merge updates
OCA-git-bot Jul 16, 2024
1feb01e
Update translation files
weblate Jul 16, 2024
ce73cb7
Translated using Weblate (Italian)
mymage Jul 16, 2024
c166048
[16.0][FIX] base_tier_validation, search only active definitions
ChrisOForgeFlow Jun 20, 2024
a34c2df
[BOT] post-merge updates
OCA-git-bot Jul 22, 2024
ed59483
[FIX] base_tier_validation: Tier Validation Exception Groups
Shide Jul 5, 2024
06a6860
[IMP] base_tier_validation: label
bosd Jul 24, 2024
63fbce1
[UPD] Update base_tier_validation.pot
Jul 24, 2024
acbae2a
[BOT] post-merge updates
OCA-git-bot Jul 24, 2024
b86f433
Update translation files
weblate Jul 24, 2024
47de493
[UPD] Update base_tier_validation.pot
Jul 24, 2024
dffd6e3
[BOT] post-merge updates
OCA-git-bot Jul 24, 2024
8749628
Update translation files
weblate Jul 24, 2024
f12360f
Translated using Weblate (Italian)
mymage Jul 29, 2024
8cb099e
[FIX] base_tier_validation: Field merge in view
houzefa-abba Mar 15, 2024
30ace81
[BOT] post-merge updates
OCA-git-bot Jul 30, 2024
f738aa3
[RFC]base_tier_validation: remove unused code
bosd Feb 11, 2024
434dd5f
[BOT] post-merge updates
OCA-git-bot Aug 29, 2024
a8e9266
[IMP] base_tier_validation: support computed state field
StefanRijnhart Oct 3, 2024
e9d1a8b
[BOT] post-merge updates
OCA-git-bot Oct 25, 2024
a43c25f
[FIX] base_tier_validation: amend authors
LoisRForgeFlow Oct 25, 2024
70d1a2e
[BOT] post-merge updates
OCA-git-bot Oct 25, 2024
74fd3cb
[14.0][IMP] base_tier_validation: Add hook for state transition
rousseldenis Dec 17, 2021
51f3e8d
[IMP] base_tier_validation: improve error message.
LoisRForgeFlow Feb 26, 2021
da512ad
[base_tier_validation][fix] Allow to search for validated=False and r…
JordiBForgeFlow Jun 17, 2021
24b9f35
[FIX] base_tier_validation: error on reviews after uninstalling Tier …
dreispt Feb 15, 2022
6d64f3e
[IMP] base_tier_validation: group_erp_manager can edit tier definitions.
ilyasProgrammer Jan 23, 2023
cb44861
[14.0][IMP] add write possibility for reviewers
Kev-Roche Jul 3, 2023
607a3ec
[IMP] base_tier_validation: Add reminder option
TDu Apr 29, 2024
324a824
Fix base_tier_validation reminder option
TDu Oct 28, 2024
dd1de42
[FIX] base_tier_validation: forward porting fixes
henrybackman Nov 8, 2024
fbb9177
[UPD] Update base_tier_validation.pot
Nov 26, 2024
52c2a7e
[BOT] post-merge updates
OCA-git-bot Nov 26, 2024
f8db98e
Update translation files
weblate Nov 26, 2024
8cc0187
Translated using Weblate (Italian)
mymage Nov 26, 2024
a6eca73
[IMP] base_tier_validation: add icon
AlexPForgeFlow Dec 2, 2024
e6f7f5e
[BOT] post-merge updates
OCA-git-bot Dec 4, 2024
713d5c3
[18.0][MIG] FW 17.0
Jan 16, 2025
16735b3
[18.0][MIG] Menu Display and Color Table
Jan 16, 2025
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
297 changes: 297 additions & 0 deletions base_tier_validation/README.rst
Original file line number Diff line number Diff line change
@@ -0,0 +1,297 @@
====================
Base Tier Validation
====================

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

.. |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/licence-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%2Fserver--ux-lightgray.png?logo=github
:target: https://github.com/OCA/server-ux/tree/18.0/base_tier_validation
:alt: OCA/server-ux
.. |badge4| image:: https://img.shields.io/badge/weblate-Translate%20me-F47D42.png
:target: https://translation.odoo-community.org/projects/server-ux-18-0/server-ux-18-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/server-ux&target_branch=18.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/server-ux/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/server-ux/issues/new?body=module:%20base_tier_validation%0Aversion:%2018.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 <[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]>
- Carlos Lopez <[email protected]>
- Javier Colmeiro <[email protected]>
- bosd
- Evan Soh <[email protected]>
- Manuel Regidor <[email protected]>
- Eduardo de Miguel <[email protected]>
- `XCG Consulting <https://xcg-consulting.fr>`__:

- Houzéfa Abbasbhay

- Stefan Rijnhart <[email protected]>

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/server-ux <https://github.com/OCA/server-ux/tree/18.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
38 changes: 38 additions & 0 deletions base_tier_validation/__manifest__.py
Original file line number Diff line number Diff line change
@@ -0,0 +1,38 @@
# 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": "18.0.1.0.0",
"development_status": "Mature",
"maintainers": ["LoisRForgeFlow"],
"category": "Tools",
"website": "https://github.com/OCA/server-ux",
"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/res_config_settings_views.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/tier_review_menu/tier_review_menu.esm.js",
"/base_tier_validation/static/src/components/tier_review_menu/tier_review_menu.xml",
"/base_tier_validation/static/src/components/tier_review_widget/tier_review_widget.esm.js",
"/base_tier_validation/static/src/components/tier_review_widget/tier_review_widget.scss",
"/base_tier_validation/static/src/components/tier_review_widget/tier_review_widget.xml",
"/base_tier_validation/static/src/js/services/tier_review_service.esm.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