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

[18.0][MIG] fieldservice_size #1246

Open
wants to merge 41 commits into
base: 18.0
Choose a base branch
from
Open
Show file tree
Hide file tree
Changes from all commits
Commits
Show all changes
41 commits
Select commit Hold shift + click to select a range
7937670
[ADD] fieldservice_size
brian10048 Jan 23, 2020
4a02a7c
[UPD] Update fieldservice_size.pot
oca-travis Feb 27, 2020
ae2bd9f
[UPD] README.rst
OCA-git-bot Feb 27, 2020
528dcb0
[ADD] icon.png
OCA-git-bot Feb 27, 2020
5eed6d0
Added translation using Weblate (Spanish)
Mar 3, 2020
d7a33cf
Translated using Weblate (Spanish)
Mar 3, 2020
d696053
[FIX] fieldservice_size: Travis error
max3903 Mar 20, 2020
f08ccd4
[UPD] Update fieldservice_size.pot
oca-travis Mar 25, 2020
5219149
fieldservice_size 12.0.0.1.1
OCA-git-bot Mar 25, 2020
629fcb2
Update translation files
oca-transbot Mar 25, 2020
f34bc2b
Added translation using Weblate (Portuguese (Brazil))
marcelsavegnago May 20, 2020
bfbe014
Translated using Weblate (Portuguese (Brazil))
fcolus Jun 17, 2020
61c3378
Added translation using Weblate (Italian)
mymage Sep 16, 2021
9d3777e
[IMP] fieldservice_size: black, isort, prettier
brian10048 Nov 9, 2021
1302c5f
[MIG] fieldservice_size: Migration to 14.0
brian10048 Nov 9, 2021
31a2f8a
[UPD] Update fieldservice_size.pot
oca-travis Dec 3, 2021
3343646
[UPD] README.rst
OCA-git-bot Dec 3, 2021
c7920b8
fieldservice_size 14.0.1.0.1
OCA-git-bot Dec 3, 2021
2435941
Added translation using Weblate (Spanish (Argentina))
ibuioli Dec 27, 2021
f458478
Translated using Weblate (Spanish (Argentina))
ibuioli Dec 27, 2021
0ad94a6
[15.0][FIX] Travis
Freni-OSI Feb 8, 2022
cca9839
[15.0][MIG] fieldservice_size
Freni-OSI Feb 11, 2022
77d3d38
[UPD] Update fieldservice_size.pot
Oct 21, 2022
41092cc
[UPD] README.rst
OCA-git-bot Oct 21, 2022
73dbe44
Update translation files
weblate Oct 21, 2022
23f7ebf
Translated using Weblate (Italian)
mymage Oct 27, 2022
8fc75c2
Translated using Weblate (Italian)
mymage Nov 4, 2022
6f4a091
Translated using Weblate (Italian)
francesco-ooops Dec 30, 2022
48efd4c
Translated using Weblate (Italian)
mymage Jun 7, 2023
3fb63e9
[MIG] fieldservice_size: Migration to 16.0
kaynnan Jul 10, 2023
38d43d4
[UPD] Update fieldservice_size.pot
Jul 11, 2023
f2c9290
[UPD] README.rst
OCA-git-bot Jul 11, 2023
f26f8ad
Update translation files
weblate Jul 11, 2023
f8cb21b
Translated using Weblate (Spanish)
Ivorra78 Jul 22, 2023
021bfe8
[UPD] README.rst
OCA-git-bot Sep 3, 2023
94f70c9
[IMP] fieldservice_size: pre-commit auto fixes
peluko00 Apr 18, 2024
dcd7387
[MIG] fieldservice_size: Migration to 17.0
peluko00 Apr 18, 2024
dedf131
[UPD] Update fieldservice_size.pot
Apr 24, 2024
87ec34d
[BOT] post-merge updates
OCA-git-bot Apr 24, 2024
e1cb405
Update translation files
weblate Apr 25, 2024
a3a04f9
[MIG] fieldservice_size: Migration to 18.0
EdgarRetes Oct 21, 2024
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
131 changes: 131 additions & 0 deletions fieldservice_size/README.rst
Original file line number Diff line number Diff line change
@@ -0,0 +1,131 @@
===================
Field Service Sizes
===================

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

.. |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/18.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-18-0/field-service-18-0-fieldservice_size
: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/field-service&target_branch=18.0
:alt: Try me on Runboat

|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

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

## Use Order Sizes

1. Select or create a field service order.
2. Set a location on the order.
3. Set a type on the order.
4. 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 to smash it by providing a detailed and welcomed
`feedback <https://github.com/OCA/field-service/issues/new?body=module:%20fieldservice_size%0Aversion:%2018.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]>
- `APSL <https://apsl.tech>`__:

- Antoni Marroig <[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/18.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": "18.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",
],
}
169 changes: 169 additions & 0 deletions fieldservice_size/i18n/es.po
Original file line number Diff line number Diff line change
@@ -0,0 +1,169 @@
# 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: 2023-07-22 21:08+0000\n"
"Last-Translator: Ivorra78 <[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 4.17\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 "ID (identificación)"

#. 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__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
#. odoo-python
#: code:addons/fieldservice_size/models/fsm_size.py:0
#, python-format
msgid "Only one default order size per type is allowed."
msgstr "Sólo se permite por defecto un tamaño de pedido por tipo."

#. 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"

#~ msgid "Last Modified on"
#~ msgstr "Última modificación el"
Loading
Loading