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

[17.0][MIG] base_tier_validation: Migration to 17.0 #787

Merged
merged 157 commits into from
Jan 10, 2024
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
Show all changes
157 commits
Select commit Hold shift + click to select a range
5b6e60b
[9.0][ADD] base_tier_validation
LoisRForgeFlow Dec 1, 2017
840861c
fix: blocking unneded records
LoisRForgeFlow Feb 28, 2018
a6e1598
[9.0][IMP] base_tier_validation: tries automatically request validati…
LoisRForgeFlow Mar 2, 2018
a294f41
[9.0][IMP] base_tier_validation: filter out reviews not pending
LoisRForgeFlow Mar 2, 2018
5abdbe9
make possible to filter by validated records
LoisRForgeFlow Mar 2, 2018
4e878db
allow to add exceptions for fields that can be written on under valid…
LoisRForgeFlow Mar 15, 2018
4de7df7
[9.0][IMP] base_tier_validation:
LoisRForgeFlow Mar 23, 2018
860ff11
[10.0][MIG] base_tier_validation
LoisRForgeFlow Mar 26, 2018
6a5e008
[11.0][MIG] base_tier_validation
LoisRForgeFlow May 9, 2018
ea6d573
[11.0][IMP] base_tier_validation: add tests
LoisRForgeFlow May 10, 2018
79fc665
add 'can_review' to tier.validation so that the buttons approve
JordiBForgeFlow Jul 3, 2018
2afa769
[11.0][IMP] base_tier_validation: enhance views and register who does…
LoisRForgeFlow Jan 15, 2019
205ef3f
[11.0][FIX] base_tier_validation
AdriaGForgeFlow Feb 15, 2019
50c049a
Add name attribute to filter
AdriaGForgeFlow Feb 15, 2019
a3c6278
[MIG] base_tier_validation: Migration to 12.0
Feb 18, 2019
59a5986
[ADD] icon.png
OCA-git-bot May 27, 2019
d8dc652
[11.0][IMP] base_tier_validation
AdriaGForgeFlow Feb 25, 2019
2b8a6dd
[IMP] base_tier_validation: Pass parameters as functions
etobella Apr 10, 2019
f69529a
[IMP] base_tier_validation: Add a chatter message if the model has it
etobella May 8, 2019
47a4fc1
[11.0][FIX] base_tier_validation: make name translatable and display …
LoisRForgeFlow May 15, 2019
529d834
[11.0][UPD] base_tier_validation: roadmap.
LoisRForgeFlow May 15, 2019
82abb84
[12.0][MIG] base_tier_validation: adapt systray to v12.
LoisRForgeFlow May 28, 2019
d4577ce
Added translation using Weblate (Spanish)
LoisRForgeFlow May 29, 2019
b05c17b
[12.0][FIX] dropdown style width and position
AdriaGForgeFlow May 29, 2019
82deb4d
[12.0][IMP] base_tier_validation module
AdriaGForgeFlow Jun 14, 2019
f997b5b
[FIX] base_tier_validation : singleton error
fmdl Jul 4, 2019
f175127
Added translation using Weblate (Chinese (Simplified))
liweijie0812 Sep 2, 2019
1b755f6
Translated using Weblate (Chinese (Simplified))
digitalsatori Oct 21, 2019
67b9633
[11.0][IMP] base_tier_validation: add an optional email
LoisRForgeFlow Nov 12, 2019
9faaac4
[11.0][FIX] base_tier_validation: singleton issue
LoisRForgeFlow Nov 22, 2019
561e6cd
[12.0][FIX] base_tier_validation: message_subscribe_users removed in v12
LoisRForgeFlow Nov 26, 2019
91e876e
[12.0][IMP] base_tier_validation
ps-tubtim Nov 26, 2019
dac6f50
[IMP] base_tier_validation: black, isort
pegonzalezspesol Dec 1, 2019
658a488
[MIG] 13.0 base_tier_validation
pegonzalezspesol Dec 1, 2019
afb4c78
[12.0][fix] base_tier_validation
ps-tubtim Dec 2, 2019
647cc28
[13.0][UPD] base_tier_validation:
LoisRForgeFlow Dec 18, 2019
eb456d7
[13.0][UPD] base_tier_validation: update copyrights information after…
LoisRForgeFlow Dec 18, 2019
f5f80b7
Added translation using Weblate (Dutch)
Jan 15, 2020
024905c
[IMP] solve pre commit warnings
jimhoefnagels Jan 22, 2020
db69c96
[FIX] When accepting or rejecting a review followers should not be no…
Feb 13, 2020
36d2300
[12.0][FIX] base_tier_validation: Unlink reviews when unlink a valida…
etobella Mar 18, 2020
c80617e
Translated using Weblate (Chinese (Simplified))
dong-z Mar 23, 2020
b167be1
[FIX] tier_validation: Fix usage of can_review on tier.review
etobella Mar 31, 2020
a28953c
[FIX] tier_validation: Security issues with record permissions
etobella Mar 31, 2020
a65ad22
pre-commit update
sbidoul Apr 22, 2020
8eb03c5
Translated using Weblate (Spanish)
eantones May 6, 2020
b7667bd
[FIX] base_tier_validation: All models are visible when create a new …
sergio-teruel May 26, 2020
77d062f
[IMP] base_tier_validation: notification hook
Jun 30, 2020
a1d2cba
[IMP] base_tier_validation: Make test more resilient with sales and p…
sergio-teruel Jul 13, 2020
de5ca55
Update base_tier_validation/tests/test_tier_validation.py
sergio-teruel Jul 14, 2020
ff4a4ed
[FIX] base_tier_validation: Remove test to avoid crash tests with oth…
sergio-teruel Jul 21, 2020
6050c8d
[13.0][FIX] base_tier_validation, fix approve by sequence problem
kittiu Aug 29, 2020
f1e43b9
[12.0][FIX] base_tier_validation : convert datetime timezone
Saran440 Mar 25, 2020
517f3f6
Translated using Weblate (Chinese (Simplified))
dong-z Sep 24, 2020
5211ed7
[IMP] : black, isort, prettier
kittiu Oct 26, 2020
85c0850
[14.0][MIG] base_tier_validation
kittiu Oct 26, 2020
bb0cedd
[IMP] base_tier_validation: state check
yostashiro Nov 2, 2020
78ab8fc
[13.0][IMP] base_tier_validation: make module multi-company compatible.
LoisRForgeFlow Nov 10, 2020
1abcf6d
Enhance definition's view, add Tabs
kittiu Nov 19, 2020
54da278
[14.0][UPD] base_tier_validation: update readme
LoisRForgeFlow Nov 19, 2020
be127d0
[IMP] base_tier_validation: Remove unnecessary modification of views
etobella Dec 13, 2020
0002c9b
[FIX] fix test error, by separate test view into another class
kittiu Dec 17, 2020
91a7a75
[FIX] tier_validation: Fix views from template as state was not used
etobella Jan 28, 2021
c2f5246
[14.0][FIX] base_tier_validation, improve accuracy of systray
kittiu Feb 5, 2021
afa6c43
[14.0][IMP] base_tier_validation, add 'Todo by' column in review table
kittiu Feb 9, 2021
807d89a
[14.0][FIX] base_tier_validation, access_token as exception field
kittiu Feb 18, 2021
e9671cb
[FIX] base_tier_validation: correct fusion of domains
MiquelRForgeFlow Mar 10, 2021
5862c31
Translated using Weblate (Spanish)
anasuarez1 Mar 16, 2021
0e08e71
[IMP] base_tier_validation: support to search for records where valid…
JordiBForgeFlow Apr 19, 2021
8e7eb2d
[FIX] base_tier_validation: External users receive the internal notif…
sergio-teruel Apr 16, 2021
a652945
Added translation using Weblate (French)
Yvesldff May 14, 2021
9f3b8c8
[14.0][IMP] base_tier_validation, use sudo to post message
kittiu Jul 3, 2021
7a8f0ee
[14.0][ENH] Nootification message on restart tier
newtratip Jul 15, 2021
a4756f1
[FIX] base_tier_validation: avoid singleton error
JordiBForgeFlow Jul 5, 2021
6ed34c7
[14.0][IMP] base_tier_validation: add new review type
MateuGForgeFlow Jul 28, 2021
93c19b5
Added translation using Weblate (Italian)
alessandro-fiorino Aug 11, 2021
76c1d44
Added translation using Weblate (Spanish (Mexico))
alan196 Aug 16, 2021
9352b91
[13.0][IMP] base_tier_validation: review_user_count perfromance
AdriaGForgeFlow Sep 27, 2021
500b273
[14.0][IMP] base_tier_validation, add tier description on stripe
kittiu Aug 6, 2021
156e5a0
[14.0][ENH] base_tier_validation, add configuration
kittiu Nov 12, 2021
7766269
Added translation using Weblate (Swedish)
simonstromb Nov 24, 2021
3cfff54
[IMP] base_tier_validation: black, isort, prettier
JasminSForgeFlow Dec 20, 2021
5cf07eb
[MIG] base_tier_validation: Migration to 15.0
JasminSForgeFlow Dec 20, 2021
b75b3a3
[UPD] Update base_tier_validation.pot
Dec 22, 2021
10ec6d0
[UPD] README.rst
OCA-git-bot Dec 22, 2021
df9abf6
[FIX+IMP] base_tier_validation: Don't mess searches with NewId + non …
pedrobaeza Mar 8, 2022
4cfe520
base_tier_validation 15.0.1.0.1
OCA-git-bot Mar 9, 2022
22604ea
[IMP] base_tier_validation: introduce new fields for validation messa…
JordiBForgeFlow Apr 10, 2022
4735c36
[UPD] Update base_tier_validation.pot
Apr 12, 2022
186322c
base_tier_validation 15.0.1.1.0
OCA-git-bot Apr 12, 2022
da8398e
Update translation files
oca-transbot Apr 12, 2022
8fbc459
[FIX] base_tier_validation: Icon error when validated
CarlosRoca13 Jul 5, 2022
dce8409
base_tier_validation 15.0.1.2.0
OCA-git-bot Aug 9, 2022
9fa08fa
[UPD] Update base_tier_validation.pot
Sep 21, 2022
193efda
Update translation files
oca-transbot Sep 21, 2022
d7d5d53
[MIG]: base_tier_validation: Migration to 16
bizzappdev Oct 19, 2022
ff8a3a6
[UPD] Update base_tier_validation.pot
Dec 30, 2022
679375d
[UPD] README.rst
OCA-git-bot Dec 30, 2022
b19124c
[UPD] Update base_tier_validation.pot
Dec 30, 2022
017510e
Update translation files
weblate Dec 30, 2022
743d420
Translated using Weblate (Italian)
francesco-ooops Jan 2, 2023
956e6b0
Added translation using Weblate (Turkish)
tate11 Feb 7, 2023
4edf440
[FIX] pre-commit warnings
CRogos Feb 16, 2023
36831f7
base_tier_validation 16.0.1.0.1
OCA-git-bot Feb 17, 2023
ed117bb
Translated using Weblate (Italian)
mymage Apr 5, 2023
f63d3cb
base_tier_validation: skip_validation_check
ilyasProgrammer Mar 9, 2023
3ff7dc5
base_tier_validation: Use domain for filtering values
etobella Apr 12, 2023
db4f033
base_tier_validation 16.0.1.0.2
OCA-git-bot Apr 20, 2023
97106be
base_tier_validation 16.0.1.0.3
OCA-git-bot Apr 20, 2023
75ddb0e
[FIX] base_tier_validation: Detect if model has active field
etobella Apr 20, 2023
2cd5584
base_tier_validation 16.0.1.0.4
OCA-git-bot Apr 24, 2023
ec4e1ed
Translated using Weblate (Italian)
mymage May 22, 2023
13ae96e
Translated using Weblate (Italian)
francesco-ooops May 24, 2023
e5189fe
Translated using Weblate (Italian)
mymage May 29, 2023
a37b677
[UPD] Update base_tier_validation.pot
May 29, 2023
b64324e
[IMP] base_tier_validation: Misc changes
victoralmau May 16, 2023
3c85536
base_tier_validation 16.0.1.0.5
OCA-git-bot Jun 30, 2023
c1a71ce
Translated using Weblate (Italian)
mymage Jun 7, 2023
b1518e9
Translated using Weblate (Spanish)
Ivorra78 Aug 27, 2023
b43969e
[UPD] README.rst
OCA-git-bot Sep 3, 2023
037ab01
[IMP] base_tier_validation: show in res.config.settings already migra…
alan196 Sep 6, 2023
d743ebb
[IMP] base_tier_validation: Add method to allow remove reviews.
victoralmau Aug 31, 2023
815f9df
base_tier_validation 16.0.1.0.6
OCA-git-bot Sep 11, 2023
ec95a79
[UPD] README.rst
OCA-git-bot Sep 11, 2023
b17dcf4
oca-github-bot post-merge updates
OCA-git-bot Sep 18, 2023
1826d79
[UPD] Update base_tier_validation.pot
Sep 18, 2023
3c16436
Translated using Weblate (Spanish)
Ivorra78 Oct 3, 2023
d407222
[FIX] base_tier_validation: Exclude cancel records from pending count
OpenCode Oct 10, 2023
d475134
[BOT] post-merge updates
OCA-git-bot Oct 10, 2023
e72fcb7
Translated using Weblate (French)
houzefa-abba Oct 19, 2023
fcfc7c2
[IMP] base_tier_validation: Add validation_status field to tier.valid…
victoralmau Oct 17, 2023
5d52b80
[IMP] base_tier_validation: Add tier.validation.tester models to _get…
victoralmau Oct 24, 2023
7c339fe
[UPD] Update base_tier_validation.pot
Oct 24, 2023
fc45cc9
[BOT] post-merge updates
OCA-git-bot Oct 24, 2023
caa8cfd
Update translation files
weblate Oct 28, 2023
469faa2
[PERF] base_tier_validation: filter records with reviews before compu…
celm1990 Oct 27, 2023
79072c8
Translated using Weblate (Italian)
mymage Nov 2, 2023
c91bcec
[IMP] base_tier_validation: update tests to support messages
bosd Oct 22, 2023
4a3782a
[IMP] base_tier_validation: use sudo to post message
bosd Oct 22, 2023
b3ef7fe
base_tier_validation, approve by sequence with option to bypass for s…
kittiu Nov 5, 2021
408825e
[BOT] post-merge updates
OCA-git-bot Nov 6, 2023
0fb3dfb
Translated using Weblate (Italian)
mymage Nov 12, 2023
f4429f8
[IMP] base_tier_validation: filter tier definition for the current co…
celm1990 Nov 11, 2023
ac6c6d0
[BOT] post-merge updates
OCA-git-bot Nov 14, 2023
1df47b8
[UPD] Update base_tier_validation.pot
Nov 17, 2023
2c05767
[BOT] post-merge updates
OCA-git-bot Nov 17, 2023
1bcd349
Update translation files
weblate Nov 17, 2023
507f919
Translated using Weblate (Spanish)
Ivorra78 Nov 18, 2023
604b107
[BOT] post-merge updates
OCA-git-bot Nov 21, 2023
b9171dd
[IMP] base_tier_validation: test performance improvement
bosd Nov 29, 2023
2a78669
[BOT] post-merge updates
OCA-git-bot Nov 30, 2023
d85c304
[IMP] base_tier_validation: Add _prepare_tier_review_vals() methot to…
victoralmau Nov 15, 2023
8c5c9dc
[BOT] post-merge updates
OCA-git-bot Nov 30, 2023
16ed501
[IMP] base_tier_validation: pre-commit stuff
rven Dec 5, 2023
b2be450
[MIG] base_tier_validation: Migration to 17.0
rven Dec 5, 2023
06101a9
base_tier_validation: only post notifications to reciepients
bosd Oct 22, 2023
5be3bb2
[FIX] base_tier_validation: field is edtitable
fmdl Sep 15, 2023
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
246 changes: 246 additions & 0 deletions base_tier_validation/README.rst
Original file line number Diff line number Diff line change
@@ -0,0 +1,246 @@
====================
Base Tier Validation
====================

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

.. |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/17.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-17-0/server-ux-17-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=17.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.

**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 *Comment*, reviewers can comment after click Validate or
Reject.
- If check *Approve by sequence*, reviewers is forced to review by
specified sequence.

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

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:%2017.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]>

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/17.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
36 changes: 36 additions & 0 deletions base_tier_validation/__manifest__.py
Original file line number Diff line number Diff line change
@@ -0,0 +1,36 @@
# Copyright 2017-19 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": "17.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/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",
"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",
],
},
}
43 changes: 43 additions & 0 deletions base_tier_validation/data/mail_data.xml
Original file line number Diff line number Diff line change
@@ -0,0 +1,43 @@
<?xml version="1.0" encoding="utf-8" ?>
<odoo noupdate="1">
<record
id="mt_tier_validation_requested"
model="mail.message.subtype"
forcecreate="1"
>
<field name="name">Tier Validation Requested</field>
<field name="default" eval="True" />
<field name="internal" eval="True" />
<field name="hidden" eval="True" />
</record>
<record
id="mt_tier_validation_accepted"
model="mail.message.subtype"
forcecreate="1"
>
<field name="name">Tier Validation Accepted Notification</field>
<field name="default" eval="True" />
<field name="internal" eval="True" />
<field name="hidden" eval="True" />
</record>
<record
id="mt_tier_validation_rejected"
model="mail.message.subtype"
forcecreate="1"
>
<field name="name">Tier Validation Rejected Notification</field>
<field name="default" eval="True" />
<field name="internal" eval="True" />
<field name="hidden" eval="True" />
</record>
<record
id="mt_tier_validation_restarted"
model="mail.message.subtype"
forcecreate="1"
>
<field name="name">Tier Validation Restarted</field>
<field name="default" eval="True" />
<field name="internal" eval="True" />
<field name="hidden" eval="True" />
</record>
</odoo>
Loading