Skip to content

Commit

Permalink
Merge PR #1172 into 16.0
Browse files Browse the repository at this point in the history
Signed-off-by max3903
  • Loading branch information
OCA-git-bot committed Jun 18, 2024
2 parents 6d4bac2 + ca7c651 commit cdc74dc
Show file tree
Hide file tree
Showing 30 changed files with 2,456 additions and 0 deletions.
145 changes: 145 additions & 0 deletions fieldservice_stock_request/README.rst
Original file line number Diff line number Diff line change
@@ -0,0 +1,145 @@
=============================
Field Service - Stock Request
=============================

..
!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!
!! This file is generated by oca-gen-addon-readme !!
!! changes will be overwritten. !!
!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!
!! source digest: sha256:814fcea97c78db0a0d9f0de05677ba2b6a1a64c55a1404934702e65f3835b431
!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!
.. |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/16.0/fieldservice_stock_request
: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-16-0/field-service-16-0-fieldservice_stock_request
: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=16.0
:alt: Try me on Runboat

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

This module is an add-on for the Field Service application in Odoo.
It provides stock requests in field service orders.

**Table of contents**

.. contents::
:local:

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

To configure this module, you need to:

* Go to Inventory > Configuration > Routes
* Select the routes that you want to use from a FSM order
* Check the box 'FSM Order Line' for outbound transfer
* Check the box 'FSM Return Line' for inbound transfer

The route 'Receipt in 1 step' has no procurement rule so if you want items to be
returned from the service location to your warehouse, you need to create a new
procurement rule for that route:

* Name: YourCompany: Return
* Action: Move From Another Location
* Procurement Location: WH/Stock
* Served Warehouse: YourCompany
* Source Location: Partner Locations/Customers
* Move Supply Method: Take From Stock
* Operation Type: YourCompany: Receipts

Usage
=====

To use this module, you need to:

* Create a new service order
* Under the Inventory tab, select the warehouse and add products with quantity
* Confirm the order to create the delivery orders
* Validate the transfers in the Inventory app. Quantities delivered on FSM
Order Line will be updated.

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_stock_request%0Aversion:%2016.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
~~~~~~~

* Open Source Integrators
* Brian McMaster

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

* Brian McMaster <brian@mcmpest.com>
* Sandip Mangukiya <smangukiya@opensourceintegrators.com>
* Serpent Consulting Services Pvt. Ltd. <support@serpentcs.com>
* [APSL](https://apsl.tech):
* Antoni Marroig <amarroig@apsl.net>

Other credits
~~~~~~~~~~~~~

The development of this module has been financially supported by:

* Open Source Integrators <https://opensourceintegrators.com>

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
.. |maintainer-wolfhall| image:: https://github.com/wolfhall.png?size=40px
:target: https://github.com/wolfhall
:alt: wolfhall
.. |maintainer-max3903| image:: https://github.com/max3903.png?size=40px
:target: https://github.com/max3903
:alt: max3903
.. |maintainer-smangukiya| image:: https://github.com/smangukiya.png?size=40px
:target: https://github.com/smangukiya
:alt: smangukiya

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

|maintainer-brian10048| |maintainer-wolfhall| |maintainer-max3903| |maintainer-smangukiya|

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

You are welcome to contribute. To learn how please visit https://odoo-community.org/page/Contribute.
4 changes: 4 additions & 0 deletions fieldservice_stock_request/__init__.py
Original file line number Diff line number Diff line change
@@ -0,0 +1,4 @@
# Copyright (C) 2021 - TODAY, Brian McMaster
# License AGPL-3.0 or later (http://www.gnu.org/licenses/agpl).

from . import models
29 changes: 29 additions & 0 deletions fieldservice_stock_request/__manifest__.py
Original file line number Diff line number Diff line change
@@ -0,0 +1,29 @@
# Copyright (C) 2021 - TODAY, Brian McMaster
# License AGPL-3.0 or later (http://www.gnu.org/licenses/agpl).

{
"name": "Field Service - Stock Request",
"summary": "Integrate Stock Requests with Field Service Orders",
"version": "16.0.1.0.0",
"category": "Field Service",
"author": "Open Source Integrators, "
"Brian McMaster, "
"Odoo Community Association (OCA)",
"website": "https://github.com/OCA/field-service",
"depends": [
"fieldservice_stock",
"stock_request_direction",
"stock_request_picking_type",
"stock_request_submit",
],
"data": [
"security/ir.model.access.csv",
"views/fsm_order.xml",
"views/stock.xml",
"views/stock_request.xml",
"views/stock_request_order.xml",
],
"license": "AGPL-3",
"development_status": "Beta",
"maintainers": ["brian10048", "wolfhall", "max3903", "smangukiya"],
}
160 changes: 160 additions & 0 deletions fieldservice_stock_request/i18n/es.po
Original file line number Diff line number Diff line change
@@ -0,0 +1,160 @@
# Translation of Odoo Server.
# This file contains the translation of the following modules:
# * fieldservice_stock_request
#
msgid ""
msgstr ""
"Project-Id-Version: Odoo Server 14.0\n"
"Report-Msgid-Bugs-To: \n"
"PO-Revision-Date: 2024-02-22 19:34+0000\n"
"Last-Translator: Ivorra78 <informatica@totmaterial.es>\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_stock_request
#: model_terms:ir.ui.view,arch_db:fieldservice_stock_request.view_fsm_order_form_inherit_stock_request
msgid "Cancel"
msgstr "Cancelar"

#. module: fieldservice_stock_request
#: model:ir.model.fields.selection,name:fieldservice_stock_request.selection__fsm_order__request_stage__cancel
msgid "Cancelled"
msgstr "Cancelado"

#. module: fieldservice_stock_request
#: model:ir.model.fields,field_description:fieldservice_stock_request.field_stock_move_line__display_name
#: model:ir.model.fields,field_description:fieldservice_stock_request.field_stock_request__display_name
#: model:ir.model.fields,field_description:fieldservice_stock_request.field_stock_request_order__display_name
msgid "Display Name"
msgstr "Mostrar Nombre"

#. module: fieldservice_stock_request
#: model:ir.model.fields.selection,name:fieldservice_stock_request.selection__fsm_order__request_stage__done
msgid "Done"
msgstr "Realizado"

#. module: fieldservice_stock_request
#: model:ir.model.fields.selection,name:fieldservice_stock_request.selection__fsm_order__request_stage__draft
msgid "Draft"
msgstr "Borrador"

#. module: fieldservice_stock_request
#: model:ir.model.fields,field_description:fieldservice_stock_request.field_stock_request__fsm_order_id
#: model:ir.model.fields,field_description:fieldservice_stock_request.field_stock_request_order__fsm_order_id
#: model_terms:ir.ui.view,arch_db:fieldservice_stock_request.stock_request_order_fsm_order_search
msgid "FSM Order"
msgstr "Orden FSM"

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

#. module: fieldservice_stock_request
#: model:ir.model.fields,field_description:fieldservice_stock_request.field_fsm_order__id
#: model:ir.model.fields,field_description:fieldservice_stock_request.field_stock_move_line__id
#: model:ir.model.fields,field_description:fieldservice_stock_request.field_stock_request__id
#: model:ir.model.fields,field_description:fieldservice_stock_request.field_stock_request_order__id
msgid "ID"
msgstr "ID"

#. module: fieldservice_stock_request
#: model:ir.model.fields.selection,name:fieldservice_stock_request.selection__fsm_order__request_stage__open
msgid "In progress"
msgstr "En progreso"

#. module: fieldservice_stock_request
#: model:ir.model.fields,field_description:fieldservice_stock_request.field_fsm_order____last_update
#: model:ir.model.fields,field_description:fieldservice_stock_request.field_stock_move_line____last_update
#: model:ir.model.fields,field_description:fieldservice_stock_request.field_stock_request____last_update
#: model:ir.model.fields,field_description:fieldservice_stock_request.field_stock_request_order____last_update
msgid "Last Modified on"
msgstr "Última Modificación el"

#. module: fieldservice_stock_request
#: model:ir.model.fields,field_description:fieldservice_stock_request.field_fsm_order__display_name
msgid "Order"
msgstr "Orden"

#. module: fieldservice_stock_request
#: model:ir.model.fields,field_description:fieldservice_stock_request.field_fsm_order__stock_request_ids
msgid "Order Lines"
msgstr "Líneas de Pedido"

#. module: fieldservice_stock_request
#: code:addons/fieldservice_stock_request/models/fsm_order.py:0
#: code:addons/fieldservice_stock_request/models/fsm_order.py:0
#: code:addons/fieldservice_stock_request/models/fsm_order.py:0
#, python-format
msgid "Please create a stock request."
msgstr "Por favor, cree una solicitud de existencias."

#. module: fieldservice_stock_request
#: model:ir.model,name:fieldservice_stock_request.model_stock_move_line
msgid "Product Moves (Stock Move Line)"
msgstr "Movimientos de producto (línea de movimiento de existencias)"

#. module: fieldservice_stock_request
#: model:ir.model.fields,field_description:fieldservice_stock_request.field_fsm_order__request_stage
msgid "Request State"
msgstr "Estado de la Solicitud"

#. module: fieldservice_stock_request
#: model_terms:ir.ui.view,arch_db:fieldservice_stock_request.view_fsm_order_form_inherit_stock_request
msgid "Set to Draft"
msgstr "Establecer a Borrador"

#. module: fieldservice_stock_request
#: model:ir.model,name:fieldservice_stock_request.model_stock_request
msgid "Stock Request"
msgstr "Solicitud de Existencias"

#. module: fieldservice_stock_request
#: model:ir.model,name:fieldservice_stock_request.model_stock_request_order
msgid "Stock Request Order"
msgstr "Solicitud de Pedido de Existencias"

#. module: fieldservice_stock_request
#: model:ir.ui.menu,name:fieldservice_stock_request.menu_fsm_stock_request
msgid "Stock Requests"
msgstr "Solicitudes de Existencias"

#. module: fieldservice_stock_request
#: model_terms:ir.ui.view,arch_db:fieldservice_stock_request.view_fsm_order_form_inherit_stock_request
msgid "Submit"
msgstr "Confirmar"

#. module: fieldservice_stock_request
#: model:ir.model.fields.selection,name:fieldservice_stock_request.selection__fsm_order__request_stage__submitted
msgid "Submitted"
msgstr "Enviado"

#. module: fieldservice_stock_request
#: code:addons/fieldservice_stock_request/models/stock_request.py:0
#, python-format
msgid ""
"There is already a Stock Request Order "
"with the same Field Service Order and "
"Warehouse that is in Draft state. Please "
"add this Stock Request there. (%s)"
msgstr ""
"Ya existe un Pedido de Existencias con el mismo Pedido de Servicio de Campo y"
" "
" Almacén que está en estado Borrador. Por favor, "
"añada esta Solicitud de Existencias allí. "
"(%s)"

#. module: fieldservice_stock_request
#: code:addons/fieldservice_stock_request/models/stock_request.py:0
#, python-format
msgid ""
"There is no any inventory Operations Type:stock_request_order record for %s "
"Warehouse."
msgstr ""
"No hay ningún registro de operaciones de inventario Tipo:stock_request_order "
"para %s Almacén."
Loading

0 comments on commit cdc74dc

Please sign in to comment.