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

[16.0][MIG] fieldservice_size: Migration to 16.0 #1106

Merged
merged 31 commits into from
Jul 11, 2023
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
Show all changes
31 commits
Select commit Hold shift + click to select a range
4360ce7
[ADD] fieldservice_size
brian10048 Jan 23, 2020
bc3392c
[UPD] Update fieldservice_size.pot
oca-travis Feb 27, 2020
2fc87b1
[UPD] README.rst
OCA-git-bot Feb 27, 2020
e84d178
[ADD] icon.png
OCA-git-bot Feb 27, 2020
65230c6
Added translation using Weblate (Spanish)
Mar 3, 2020
edc2947
Translated using Weblate (Spanish)
Mar 3, 2020
7982905
[FIX] fieldservice_size: Travis error
max3903 Mar 20, 2020
cd3d8ab
[UPD] Update fieldservice_size.pot
oca-travis Mar 25, 2020
4ae16c6
fieldservice_size 12.0.0.1.1
OCA-git-bot Mar 25, 2020
d1c5da6
Update translation files
oca-transbot Mar 25, 2020
f3b85bd
Added translation using Weblate (Portuguese (Brazil))
marcelsavegnago May 20, 2020
30fe4a1
Translated using Weblate (Portuguese (Brazil))
fcolus Jun 17, 2020
e79031d
Added translation using Weblate (Italian)
mymage Sep 16, 2021
74d7a2e
[IMP] fieldservice_size: black, isort, prettier
brian10048 Nov 9, 2021
60ee34e
[MIG] fieldservice_size: Migration to 14.0
brian10048 Nov 9, 2021
5d538ba
[UPD] Update fieldservice_size.pot
oca-travis Dec 3, 2021
8159956
[UPD] README.rst
OCA-git-bot Dec 3, 2021
5b8ffdf
fieldservice_size 14.0.1.0.1
OCA-git-bot Dec 3, 2021
346c90c
Added translation using Weblate (Spanish (Argentina))
ibuioli Dec 27, 2021
e5930d9
Translated using Weblate (Spanish (Argentina))
ibuioli Dec 27, 2021
6661fb7
[15.0][FIX] Travis
Freni-OSI Feb 8, 2022
0d64686
[15.0][MIG] fieldservice_size
Freni-OSI Feb 11, 2022
0457a6b
[UPD] Update fieldservice_size.pot
Oct 21, 2022
cf46f34
[UPD] README.rst
OCA-git-bot Oct 21, 2022
cae0bca
Update translation files
weblate Oct 21, 2022
d3f0c7a
Translated using Weblate (Italian)
mymage Oct 27, 2022
463bd57
Translated using Weblate (Italian)
mymage Nov 4, 2022
f0e7cce
Translated using Weblate (Italian)
francesco-ooops Dec 30, 2022
7263120
Translated using Weblate (Italian)
mymage Jun 7, 2023
c6d61f3
[IMP] fieldservice_size: black, isort, prettier
kaynnan Jul 10, 2023
ae50adb
[MIG] fieldservice_size: Migration to 16.0
kaynnan Jul 10, 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
127 changes: 127 additions & 0 deletions fieldservice_size/README.rst
Original file line number Diff line number Diff line change
@@ -0,0 +1,127 @@
===================
Field Service Sizes
===================

.. !!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!
!! This file is generated by oca-gen-addon-readme !!
!! changes will be overwritten. !!
!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!

.. |badge1| image:: https://img.shields.io/badge/maturity-Beta-yellow.png
:target: https://odoo-community.org/page/development-status
:alt: Beta
.. |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%2Ffield--service-lightgray.png?logo=github
:target: https://github.com/OCA/field-service/tree/15.0/fieldservice_size
:alt: OCA/field-service
.. |badge4| image:: https://img.shields.io/badge/weblate-Translate%20me-F47D42.png
:target: https://translation.odoo-community.org/projects/field-service-15-0/field-service-15-0-fieldservice_size
:alt: Translate me on Weblate
.. |badge5| image:: https://img.shields.io/badge/runbot-Try%20me-875A7B.png
:target: https://runbot.odoo-community.org/runbot/264/15.0
:alt: Try me on Runbot

|badge1| |badge2| |badge3| |badge4| |badge5|

Some field service operations may need to track the size of a field
service location and its orders.

Examples of sizes might be:
- Area measure of a location
- Count of service or maintenance items at a location

Once established, sizes can be useful for route capacity planning,
time estimation for orders, or for planning stock and inventory moves.

This module allows you to establish sizes for your field service orders.
Multiple sizes can be configured and established for a location. Order
size will be updated based on its location and order type.

**Table of contents**

.. contents::
:local:

Configuration
=============

To configure field service sizes, go to Configuration > Sizes.

Set the size name, type of orders to which the size will apply,
and unit of measure for the size. If this size is the default
size to be used for orders of the designated type, select the
option for 'Is Order Size'.

Usage
=====

## Enter sizes for field service locations.
Go to Master Data > Locations

#. Select or create a location.
#. Go to the Sizes tab.
#. Select a Size. Enter the value for the size.

## Use Order Sizes

#. Select or create a field service order.
#. Set a location on the order.
#. Set a type on the order.
#. The size value will update to the location's size
value of the order type's default size.

Known issues / Roadmap
======================

The roadmap of the Field Service application is documented on
`Github <https://github.com/OCA/field-service/issues/1>`_.

Bug Tracker
===========

Bugs are tracked on `GitHub Issues <https://github.com/OCA/field-service/issues>`_.
In case of trouble, please check there if your issue has already been reported.
If you spotted it first, help us smashing it by providing a detailed and welcomed
`feedback <https://github.com/OCA/field-service/issues/new?body=module:%20fieldservice_size%0Aversion:%2015.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
~~~~~~~

* Brian McMaster

Contributors
~~~~~~~~~~~~

* Brian McMaster <[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-brian10048| image:: https://github.com/brian10048.png?size=40px
:target: https://github.com/brian10048
:alt: brian10048

Current `maintainer <https://odoo-community.org/page/maintainer-role>`__:

|maintainer-brian10048|

This module is part of the `OCA/field-service <https://github.com/OCA/field-service/tree/15.0/fieldservice_size>`_ project on GitHub.

You are welcome to contribute. To learn how please visit https://odoo-community.org/page/Contribute.
2 changes: 2 additions & 0 deletions fieldservice_size/__init__.py
Original file line number Diff line number Diff line change
@@ -0,0 +1,2 @@
# Copyright (C) 2020 Brian McMaster <[email protected]>
from . import models
26 changes: 26 additions & 0 deletions fieldservice_size/__manifest__.py
Original file line number Diff line number Diff line change
@@ -0,0 +1,26 @@
# Copyright (C) 2020 Brian McMaster <[email protected]>
# License AGPL-3.0 or later (http://www.gnu.org/licenses/agpl).
{
"name": "Field Service Sizes",
"summary": "Manage Sizes for Field Service Locations and Orders",
"version": "16.0.1.0.0",
"category": "Field Service",
"author": "Brian McMaster, Odoo Community Association (OCA)",
"website": "https://github.com/OCA/field-service",
"depends": [
"fieldservice",
"uom",
],
"data": [
"security/ir.model.access.csv",
"views/fsm_size.xml",
"views/fsm_location.xml",
"views/fsm_order.xml",
"views/menu.xml",
],
"license": "AGPL-3",
"development_status": "Beta",
"maintainers": [
"brian10048",
],
}
171 changes: 171 additions & 0 deletions fieldservice_size/i18n/es.po
Original file line number Diff line number Diff line change
@@ -0,0 +1,171 @@
# Translation of Odoo Server.
# This file contains the translation of the following modules:
# * fieldservice_size
#
msgid ""
msgstr ""
"Project-Id-Version: Odoo Server 12.0\n"
"Report-Msgid-Bugs-To: \n"
"PO-Revision-Date: 2020-03-04 00:14+0000\n"
"Last-Translator: Nelson Ramírez Sánchez <[email protected]>\n"
"Language-Team: none\n"
"Language: es\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 3.10\n"

#. module: fieldservice_size
#: model_terms:ir.actions.act_window,help:fieldservice_size.action_fsm_size
msgid "Configure a Field Service Size here."
msgstr "Configure un tamaño de servicio de campo aquí."

#. module: fieldservice_size
#: model:ir.model.fields,field_description:fieldservice_size.field_fsm_location_size__create_uid
#: model:ir.model.fields,field_description:fieldservice_size.field_fsm_size__create_uid
msgid "Created by"
msgstr "Creado por"

#. module: fieldservice_size
#: model:ir.model.fields,field_description:fieldservice_size.field_fsm_location_size__create_date
#: model:ir.model.fields,field_description:fieldservice_size.field_fsm_size__create_date
msgid "Created on"
msgstr "Creado en"

#. module: fieldservice_size
#: model:ir.model.fields,field_description:fieldservice_size.field_fsm_location_size__display_name
#: model:ir.model.fields,field_description:fieldservice_size.field_fsm_size__display_name
msgid "Display Name"
msgstr "Nombre para Mostrar"

#. module: fieldservice_size
#: model:ir.model,name:fieldservice_size.model_fsm_location
msgid "Field Service Location"
msgstr "Ubicación del Servicio de Campo"

#. module: fieldservice_size
#: model:ir.model,name:fieldservice_size.model_fsm_order
msgid "Field Service Order"
msgstr "Orden de Servicio de Campo"

#. module: fieldservice_size
#: model:ir.model,name:fieldservice_size.model_fsm_size
msgid "Field Service Size"
msgstr "Tamaño de Servicio de Campo"

#. module: fieldservice_size
#: model:ir.actions.act_window,name:fieldservice_size.action_fsm_size
msgid "Field Service Sizes"
msgstr "Tamaños de Servicio de Campo"

#. module: fieldservice_size
#: model:ir.model.fields,field_description:fieldservice_size.field_fsm_location_size__id
#: model:ir.model.fields,field_description:fieldservice_size.field_fsm_size__id
msgid "ID"
msgstr ""

#. module: fieldservice_size
#: model:ir.model.fields,field_description:fieldservice_size.field_fsm_size__is_order_size
msgid "Is the Order Size?"
msgstr "¿Es el tamaño del pedido?"

#. module: fieldservice_size
#: model:ir.model.fields,field_description:fieldservice_size.field_fsm_location_size____last_update
#: model:ir.model.fields,field_description:fieldservice_size.field_fsm_size____last_update
msgid "Last Modified on"
msgstr "Última modificación el"

#. module: fieldservice_size
#: model:ir.model.fields,field_description:fieldservice_size.field_fsm_location_size__write_uid
#: model:ir.model.fields,field_description:fieldservice_size.field_fsm_size__write_uid
msgid "Last Updated by"
msgstr "Última Actualización por"

#. module: fieldservice_size
#: model:ir.model.fields,field_description:fieldservice_size.field_fsm_location_size__write_date
#: model:ir.model.fields,field_description:fieldservice_size.field_fsm_size__write_date
msgid "Last Updated on"
msgstr "Última Actualización el"

#. module: fieldservice_size
#: model:ir.model.fields,field_description:fieldservice_size.field_fsm_location_size__location_id
msgid "Location"
msgstr "Ubicación"

#. module: fieldservice_size
#: model:ir.model.fields,field_description:fieldservice_size.field_fsm_location__location_size_ids
msgid "Location Sizes"
msgstr "Tamaños de Ubicación"

#. module: fieldservice_size
#: model:ir.model.fields,field_description:fieldservice_size.field_fsm_size__name
msgid "Name"
msgstr "Nombre"

#. module: fieldservice_size
#: code:addons/fieldservice_size/models/fsm_size.py:0
#, python-format
msgid "Only one default order size per type is allowed."
msgstr ""

#. module: fieldservice_size
#: model:ir.model.constraint,message:fieldservice_size.constraint_fsm_location_size_one_size_per_location
msgid "Only one size of same type allowed per location"
msgstr "Solo se permite un tamaño del mismo tipo por ubicación"

#. module: fieldservice_size
#: model:ir.model.fields,field_description:fieldservice_size.field_fsm_order__size_value
msgid "Order Size"
msgstr "Tamaño de la Orden"

#. module: fieldservice_size
#: model:ir.model.fields,field_description:fieldservice_size.field_fsm_location_size__type_id
#: model:ir.model.fields,field_description:fieldservice_size.field_fsm_size__type_id
msgid "Order Type"
msgstr "Tipo de Orden"

#. module: fieldservice_size
#: model:ir.model.fields,field_description:fieldservice_size.field_fsm_size__parent_id
msgid "Parent Size"
msgstr "Tamaño del Padre"

#. module: fieldservice_size
#: model:ir.model.fields,field_description:fieldservice_size.field_fsm_location_size__quantity
msgid "Quantity"
msgstr "Cantidad"

#. module: fieldservice_size
#: model:ir.model.fields,field_description:fieldservice_size.field_fsm_location_size__size_id
#: model:ir.model.fields,field_description:fieldservice_size.field_fsm_order__size_id
#: model_terms:ir.ui.view,arch_db:fieldservice_size.fsm_size_form_view
msgid "Size"
msgstr "Tamaño"

#. module: fieldservice_size
#: model:ir.model,name:fieldservice_size.model_fsm_location_size
msgid "Size for FSM Location"
msgstr "Tamaño Para la Ubicación FSM"

#. module: fieldservice_size
#: model:ir.model.constraint,message:fieldservice_size.constraint_fsm_size_name_uniq
msgid "Size name already exists!"
msgstr "¡El nombre del tamaño ya existe!"

#. module: fieldservice_size
#: model:ir.ui.menu,name:fieldservice_size.menu_fsm_size
#: model_terms:ir.ui.view,arch_db:fieldservice_size.fsm_location_form_view_inherit_size
msgid "Sizes"
msgstr "Tamaños"

#. module: fieldservice_size
#: model:ir.model.fields,help:fieldservice_size.field_fsm_size__is_order_size
msgid "The default size for orders of this type"
msgstr "El tamaño predeterminado para pedidos de este tipo"

#. module: fieldservice_size
#: model:ir.model.fields,field_description:fieldservice_size.field_fsm_location_size__uom_id
#: model:ir.model.fields,field_description:fieldservice_size.field_fsm_order__size_uom
#: model:ir.model.fields,field_description:fieldservice_size.field_fsm_size__uom_id
msgid "Unit of Measure"
msgstr "Unidad de Medida"
Loading