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_stock_request: Migration to 16.0 #1172

Merged
merged 32 commits into from
Jun 18, 2024
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
Show all changes
32 commits
Select commit Hold shift + click to select a range
235854a
[IMP] fieldservice_stock: Split stock request
brian10048 Nov 21, 2020
15b7216
[IMP] fieldservice_stock_request: Add tests
brian10048 Jan 15, 2021
42fe299
[ADD] icon.png
OCA-git-bot Mar 9, 2021
ebea8ae
fieldservice_stock_request 12.0.2.0.0
OCA-git-bot Mar 9, 2021
e7471e2
Translated using Weblate (Portuguese (Brazil))
marcelsavegnago Mar 15, 2021
b3a3881
[IMP] fieldservice_stock_request: black, isort, prettier
Jun 21, 2021
669d813
[MIG] fieldservice_stock_request: Migration to 13.0
Jun 22, 2021
f95a77b
[MIG] fieldservice_stock_request: migrated the module into v14
vimalpatelserpentcs Jun 28, 2021
29f75bf
[IMP]fieldservice_stock_request: once change direction on FSM order t…
vimalpatelserpentcs Mar 1, 2022
e906cac
Update stock_request.py
osi-scampbell Mar 1, 2022
58fa7d2
Update stock_request.py
osi-scampbell Mar 1, 2022
cb21410
[IMP]fieldservice_stock_request: Can't set Expected Date on Inventory…
vimalpatelserpentcs Mar 2, 2022
1fd939d
Update fsm_order.xml
osi-scampbell Mar 9, 2022
c6c920c
Update stock_request.py
osi-scampbell Mar 9, 2022
80959f3
[IMP] Tests
Freni-OSI Nov 3, 2022
d835929
[UPD] Update fieldservice_stock_request.pot
Nov 10, 2022
5f36948
[UPD] README.rst
OCA-git-bot Nov 10, 2022
370ca2d
Update translation files
weblate Nov 10, 2022
bbb45e6
Added translation using Weblate (Italian)
mymage Nov 16, 2022
a690c6a
Translated using Weblate (Italian)
mymage Nov 16, 2022
ccc7c83
[FIX] fieldservice_stock_request: Field must be present in view but i…
max3903 Jan 16, 2023
a10173e
fix
max3903 Jan 16, 2023
f7b2648
Added translation using Weblate (Spanish (Argentina))
ibuioli Jan 17, 2023
dd89937
Translated using Weblate (Spanish (Argentina))
ibuioli Jan 17, 2023
54aadfb
Translated using Weblate (Italian)
mymage Jun 14, 2023
9adc955
Translated using Weblate (Italian)
francesco-ooops Jul 12, 2023
ed7dd91
[UPD] README.rst
OCA-git-bot Sep 3, 2023
0ee5a35
Update translation files
weblate Oct 9, 2023
7397844
Added translation using Weblate (Spanish)
Ivorra78 Feb 22, 2024
0151606
Translated using Weblate (Spanish)
Ivorra78 Feb 22, 2024
ea37d54
[IMP] fieldservice_stock_request: pre-commit stuff
peluko00 Apr 12, 2024
ca7c651
[MIG] fieldservice_stock_request: Migration to 16.0
peluko00 Apr 12, 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
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
Loading