Skip to content

Commit

Permalink
[MIG] fieldservice_stage_validation: Migration to 17.0
Browse files Browse the repository at this point in the history
  • Loading branch information
peluko00 committed Apr 19, 2024
1 parent 670032d commit b64bdf2
Show file tree
Hide file tree
Showing 5 changed files with 11 additions and 5 deletions.
3 changes: 3 additions & 0 deletions fieldservice_stage_validation/README.rst
Original file line number Diff line number Diff line change
Expand Up @@ -86,6 +86,9 @@ Contributors
------------

- Brian McMaster <[email protected]>
- `APSL <https://apsl.tech>`__:

- Antoni Marroig <[email protected]>

Maintainers
-----------
Expand Down
2 changes: 1 addition & 1 deletion fieldservice_stage_validation/__manifest__.py
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@
{
"name": "FSM Stage Validation",
"summary": "Validate input data when reaching a Field Service stage",
"version": "16.0.1.0.0",
"version": "17.0.1.0.0",
"category": "Field Service",
"author": "Brian McMaster, Odoo Community Association (OCA)",
"website": "https://github.com/OCA/field-service",
Expand Down
5 changes: 1 addition & 4 deletions fieldservice_stage_validation/models/validate_utils.py
Original file line number Diff line number Diff line change
Expand Up @@ -16,9 +16,6 @@ def validate_stage_fields(records):
if not values[0][name]:
raise ValidationError(
_(
'Cannot move to stage "%(stage_name)s" '
'until the "%(name)s" field is set.',
stage_name=stage.name,
name=name,
f"Cannot move to stage {stage.name} until the {name} field is set."
)
)
2 changes: 2 additions & 0 deletions fieldservice_stage_validation/readme/CONTRIBUTORS.md
Original file line number Diff line number Diff line change
@@ -1 +1,3 @@
- Brian McMaster \<<[email protected]>\>
- [APSL](https://apsl.tech):
- Antoni Marroig \<<[email protected]>\>
4 changes: 4 additions & 0 deletions fieldservice_stage_validation/static/description/index.html
Original file line number Diff line number Diff line change
Expand Up @@ -434,6 +434,10 @@ <h2><a class="toc-backref" href="#toc-entry-6">Authors</a></h2>
<h2><a class="toc-backref" href="#toc-entry-7">Contributors</a></h2>
<ul class="simple">
<li>Brian McMaster &lt;<a class="reference external" href="mailto:brian&#64;mcmpest.com">brian&#64;mcmpest.com</a>&gt;</li>
<li><a class="reference external" href="https://apsl.tech">APSL</a>:<ul>
<li>Antoni Marroig &lt;<a class="reference external" href="mailto:amarroig&#64;apsl.net">amarroig&#64;apsl.net</a>&gt;</li>
</ul>
</li>
</ul>
</div>
<div class="section" id="maintainers">
Expand Down

0 comments on commit b64bdf2

Please sign in to comment.