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 6e5dfbf
Show file tree
Hide file tree
Showing 6 changed files with 22 additions and 18 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
25 changes: 10 additions & 15 deletions fieldservice_stage_validation/i18n/es.po
Original file line number Diff line number Diff line change
Expand Up @@ -4,27 +4,23 @@
#
msgid ""
msgstr ""
"Project-Id-Version: Odoo Server 15.0\n"
"Project-Id-Version: Odoo Server 17.0\n"
"Report-Msgid-Bugs-To: \n"
"PO-Revision-Date: 2023-03-02 20:22+0000\n"
"Last-Translator: Leonardo J. Caballero G. <[email protected]>\n"
"Language-Team: none\n"
"Language: es\n"
"POT-Creation-Date: 2024-04-19 06:49+0000\n"
"PO-Revision-Date: 2024-04-19 06:49+0000\n"
"Last-Translator: \n"
"Language-Team: \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 4.14.1\n"
"Plural-Forms: \n"

#. module: fieldservice_stage_validation
#. odoo-python
#: code:addons/fieldservice_stage_validation/models/validate_utils.py:0
#, python-format
msgid ""
"Cannot move to stage \"%(stage_name)s\" until the \"%(name)s\" field is set."
msgstr ""
"No se puede mover al escenario \"%(stage_name)s\" hasta que se establezca el "
"campo \"%(name)s\"."
msgid "Cannot move to stage %(stage_name)s until the %(name)s field is set."
msgstr "No se puede mover al escenario %(stage_name)s hasta que se establezca el campo %(name)s."

#. module: fieldservice_stage_validation
#: model:ir.model,name:fieldservice_stage_validation.model_fsm_equipment
Expand All @@ -34,7 +30,7 @@ msgstr "Equipo de Servicio de Campo"
#. module: fieldservice_stage_validation
#: model:ir.model,name:fieldservice_stage_validation.model_fsm_location
msgid "Field Service Location"
msgstr "Ubicación del Servicio de Campo"
msgstr "Ubicación de Servicio de Campo"

#. module: fieldservice_stage_validation
#: model:ir.model,name:fieldservice_stage_validation.model_fsm_order
Expand Down Expand Up @@ -64,8 +60,7 @@ msgstr "Modelo para la Etapa"
#. module: fieldservice_stage_validation
#: model:ir.model.fields,help:fieldservice_stage_validation.field_fsm_stage__validate_field_ids
msgid "Select fields which must be set on the document in this stage"
msgstr ""
"Seleccione los campos que se deben establecer en el documento en esta etapa"
msgstr "Seleccione los campos que se deben establecer en el documento en esta etapa"

#. module: fieldservice_stage_validation
#: model:ir.model.fields,help:fieldservice_stage_validation.field_fsm_stage__stage_type_model_id
Expand Down
4 changes: 2 additions & 2 deletions fieldservice_stage_validation/models/validate_utils.py
Original file line number Diff line number Diff line change
Expand Up @@ -16,8 +16,8 @@ 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.',
"Cannot move to stage %(stage_name)s "
"until the %(name)s field is set.",
stage_name=stage.name,
name=name,
)
Expand Down
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 6e5dfbf

Please sign in to comment.