Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
Show all changes
26 commits
Select commit Hold shift + click to select a range
d392d6c
[ADD] base_warn_option
Shide Apr 11, 2024
8cf7fa1
[IMP] base_warn_option: pre-commit auto fixes
sabrinaRMartin Dec 15, 2025
6a1fb36
[MIG] base_warn_option: Migration to 18.0
sabrinaRMartin Dec 15, 2025
f63cdf8
[IMP] date_range: Set multicompanies support for the date.range model
Oct 16, 2025
56124fd
[IMP] base_warn_option: Improvement of help text for allowed_warning_…
sabrinaRMartin Jan 8, 2026
1c31c92
[IMP] base_tier_validation: Adjustment to improve inheritance
CILC98 Nov 17, 2025
008a01d
Merge PR #1199 into 18.0
OCA-git-bot Jan 15, 2026
b7b271b
[BOT] post-merge updates
OCA-git-bot Jan 15, 2026
3e21eca
[IMP] base_tier_validation_forward: preserve add_comment return
ArnauCForgeFlow Jan 15, 2026
42d02c4
Merge PR #1217 into 18.0
OCA-git-bot Jan 15, 2026
afe1d89
[BOT] post-merge updates
OCA-git-bot Jan 15, 2026
d3df650
Translated using Weblate (Italian)
mymage Jan 15, 2026
baca3fa
Translated using Weblate (Italian)
mymage Jan 19, 2026
ab2315a
Translated using Weblate (Italian)
mymage Jan 19, 2026
1f1d390
Merge PR #1172 into 18.0
OCA-git-bot Jan 20, 2026
def6628
[UPD] Update date_range.pot
Jan 20, 2026
13b8528
[BOT] post-merge updates
OCA-git-bot Jan 20, 2026
32b4606
Update translation files
weblate Jan 20, 2026
9a6e586
[FIX] base_tier_validation: Duplicate t-key error when multiple revie…
jaydeep32 Sep 8, 2025
f771433
Merge PR #1204 into 18.0
OCA-git-bot Jan 21, 2026
ee9c98f
[UPD] Update base_warn_option.pot
Jan 21, 2026
ea3c0fc
[BOT] post-merge updates
OCA-git-bot Jan 21, 2026
92ce27a
Merge PR #1225 into 18.0
OCA-git-bot Jan 21, 2026
c70d6f9
[BOT] post-merge updates
OCA-git-bot Jan 21, 2026
d808e12
Translated using Weblate (Italian)
mymage Jan 21, 2026
d617d86
Added translation using Weblate (Italian)
mymage Jan 21, 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
7 changes: 4 additions & 3 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -33,13 +33,14 @@ addon | version | maintainers | summary
[base_search_custom_field_filter](base_search_custom_field_filter/) | 18.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/) | 18.0.1.0.1 | | Base Sub State
[base_technical_features](base_technical_features/) | 18.0.1.0.2 | | Access to technical features without activating debug mode
[base_tier_validation](base_tier_validation/) | 18.0.3.1.0 | <a href='https://github.com/LoisRForgeFlow'><img src='https://github.com/LoisRForgeFlow.png' width='32' height='32' style='border-radius:50%;' alt='LoisRForgeFlow'/></a> | Implement a validation process based on tiers.
[base_tier_validation](base_tier_validation/) | 18.0.3.1.2 | <a href='https://github.com/LoisRForgeFlow'><img src='https://github.com/LoisRForgeFlow.png' width='32' height='32' style='border-radius:50%;' alt='LoisRForgeFlow'/></a> | Implement a validation process based on tiers.
[base_tier_validation_correction](base_tier_validation_correction/) | 18.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> | Correct tier.review data after it has been created.
[base_tier_validation_formula](base_tier_validation_formula/) | 18.0.1.0.0 | | Formulas for Base tier validation
[base_tier_validation_forward](base_tier_validation_forward/) | 18.0.2.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> | Forward option for base tiers
[base_tier_validation_forward](base_tier_validation_forward/) | 18.0.2.0.1 | <a href='https://github.com/kittiu'><img src='https://github.com/kittiu.png' width='32' height='32' style='border-radius:50%;' alt='kittiu'/></a> | Forward option for base tiers
[base_tier_validation_server_action](base_tier_validation_server_action/) | 18.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> | Add option to call server action when a tier is validated
[base_warn_option](base_warn_option/) | 18.0.1.0.0 | <a href='https://github.com/Shide'><img src='https://github.com/Shide.png' width='32' height='32' style='border-radius:50%;' alt='Shide'/></a> <a href='https://github.com/rafaelbn'><img src='https://github.com/rafaelbn.png' width='32' height='32' style='border-radius:50%;' alt='rafaelbn'/></a> | Add Options to Warn Messages
[chained_swapper](chained_swapper/) | 18.0.1.0.0 | | Chained Swapper
[date_range](date_range/) | 18.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
[date_range](date_range/) | 18.0.3.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
[date_range_account](date_range_account/) | 18.0.1.0.0 | <a href='https://github.com/alexis-via'><img src='https://github.com/alexis-via.png' width='32' height='32' style='border-radius:50%;' alt='alexis-via'/></a> | Add Date Range menu entry in Invoicing app
[default_multi_user](default_multi_user/) | 18.0.1.0.0 | <a href='https://github.com/LoisRForgeFlow'><img src='https://github.com/LoisRForgeFlow.png' width='32' height='32' style='border-radius:50%;' alt='LoisRForgeFlow'/></a> | Allows to share user-defined defaults among several users.
[developer_menu](developer_menu/) | 18.0.1.1.0 | <a href='https://github.com/bealdav'><img src='https://github.com/bealdav.png' width='32' height='32' style='border-radius:50%;' alt='bealdav'/></a> | Menu Shortcut for developer usage
Expand Down
2 changes: 1 addition & 1 deletion base_tier_validation/README.rst
Original file line number Diff line number Diff line change
Expand Up @@ -11,7 +11,7 @@ Base Tier Validation
!! This file is generated by oca-gen-addon-readme !!
!! changes will be overwritten. !!
!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!
!! source digest: sha256:3e44413fd72f8949deba313c3f31047cbf30ba3b17d78342590d2376001d905f
!! source digest: sha256:9cc5960dec9b1355f4839a79c70c3b97249bf5bc0b33c22520b2c64fe007bed4
!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!

.. |badge1| image:: https://img.shields.io/badge/maturity-Mature-brightgreen.png
Expand Down
2 changes: 1 addition & 1 deletion base_tier_validation/__manifest__.py
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@
{
"name": "Base Tier Validation",
"summary": "Implement a validation process based on tiers.",
"version": "18.0.3.1.0",
"version": "18.0.3.1.2",
"development_status": "Mature",
"maintainers": ["LoisRForgeFlow"],
"category": "Tools",
Expand Down
6 changes: 3 additions & 3 deletions base_tier_validation/i18n/it.po
Original file line number Diff line number Diff line change
Expand Up @@ -6,15 +6,15 @@ msgid ""
msgstr ""
"Project-Id-Version: Odoo Server 14.0\n"
"Report-Msgid-Bugs-To: \n"
"PO-Revision-Date: 2025-11-06 13:42+0000\n"
"PO-Revision-Date: 2026-01-19 13:50+0000\n"
"Last-Translator: mymage <stefano.consolaro@mymage.it>\n"
"Language-Team: none\n"
"Language: it\n"
"MIME-Version: 1.0\n"
"Content-Type: text/plain; charset=UTF-8\n"
"Content-Transfer-Encoding: \n"
"Plural-Forms: nplurals=2; plural=n != 1;\n"
"X-Generator: Weblate 5.10.4\n"
"X-Generator: Weblate 5.15.2\n"

#. module: base_tier_validation
#: model_terms:ir.ui.view,arch_db:base_tier_validation.tier_validation_label
Expand Down Expand Up @@ -619,7 +619,7 @@ msgstr "Riavvia validazione"
#: code:addons/base_tier_validation/static/src/components/tier_review_menu/tier_review_menu.xml:0
#: model:ir.model.fields,field_description:base_tier_validation.field_comment_wizard__review_ids
msgid "Review"
msgstr "Approvazione"
msgstr "Revisione"

#. module: base_tier_validation
#: model:ir.model.fields,field_description:base_tier_validation.field_tier_definition__reviewer_id
Expand Down
10 changes: 7 additions & 3 deletions base_tier_validation/models/tier_validation.py
Original file line number Diff line number Diff line change
Expand Up @@ -274,10 +274,9 @@ def evaluate_tier(self, tier):
else:
return self

@api.model
def _get_validation_exceptions(self, extra_domain=None, add_base_exceptions=True):
def _get_exception_fields(self, extra_domain=None):
"""Return Tier Validation Exception field names that matchs custom domain."""
exception_fields = (
return (
self.env["tier.validation.exception"]
.sudo()
.search(
Expand All @@ -292,6 +291,11 @@ def _get_validation_exceptions(self, extra_domain=None, add_base_exceptions=True
)
.mapped("field_ids.name")
)

@api.model
def _get_validation_exceptions(self, extra_domain=None, add_base_exceptions=True):
"""Return Tier Validation Exception field names that matchs custom domain."""
exception_fields = self._get_exception_fields(extra_domain=extra_domain)
if add_base_exceptions:
exception_fields += BASE_EXCEPTION_FIELDS
return list(set(exception_fields))
Expand Down
2 changes: 1 addition & 1 deletion base_tier_validation/static/description/index.html
Original file line number Diff line number Diff line change
Expand Up @@ -372,7 +372,7 @@ <h1>Base Tier Validation</h1>
!! This file is generated by oca-gen-addon-readme !!
!! changes will be overwritten. !!
!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!
!! source digest: sha256:3e44413fd72f8949deba313c3f31047cbf30ba3b17d78342590d2376001d905f
!! source digest: sha256:9cc5960dec9b1355f4839a79c70c3b97249bf5bc0b33c22520b2c64fe007bed4
!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!! -->
<p><a class="reference external image-reference" href="https://odoo-community.org/page/development-status"><img alt="Mature" src="https://img.shields.io/badge/maturity-Mature-brightgreen.png" /></a> <a class="reference external image-reference" href="http://www.gnu.org/licenses/agpl-3.0-standalone.html"><img alt="License: AGPL-3" src="https://img.shields.io/badge/license-AGPL--3-blue.png" /></a> <a class="reference external image-reference" href="https://github.com/OCA/server-ux/tree/18.0/base_tier_validation"><img alt="OCA/server-ux" src="https://img.shields.io/badge/github-OCA%2Fserver--ux-lightgray.png?logo=github" /></a> <a class="reference external image-reference" href="https://translation.odoo-community.org/projects/server-ux-18-0/server-ux-18-0-base_tier_validation"><img alt="Translate me on Weblate" src="https://img.shields.io/badge/weblate-Translate%20me-F47D42.png" /></a> <a class="reference external image-reference" href="https://runboat.odoo-community.org/builds?repo=OCA/server-ux&amp;target_branch=18.0"><img alt="Try me on Runboat" src="https://img.shields.io/badge/runboat-Try%20me-875A7B.png" /></a></p>
<p>Validating some operations is a common need across different areas in a
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -47,7 +47,7 @@
<t
t-foreach="_getReviewData()"
t-as="review"
t-key="review.sequence"
t-key="review.id"
>
<t
t-if="review.status == 'waiting'"
Expand Down
1 change: 1 addition & 0 deletions base_tier_validation/tests/test_tier_validation.py
Original file line number Diff line number Diff line change
Expand Up @@ -947,6 +947,7 @@ def test_27_change_field_exception_validation(self):
# Able to write test_validation_field after validation
with mock.patch.multiple(
TV,
_get_exception_fields=mock.MagicMock(return_value=_tvf),
_get_validation_exceptions=mock.MagicMock(return_value=_tvf),
_get_after_validation_exceptions=mock.MagicMock(return_value=_rv),
):
Expand Down
Loading