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_stock_request #1249

Open
wants to merge 38 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
38 commits
Select commit Hold shift + click to select a range
a7818a6
[IMP] fieldservice_stock: Split stock request
brian10048 Nov 21, 2020
538edfa
[IMP] fieldservice_stock_request: Add tests
brian10048 Jan 15, 2021
2343fbf
[ADD] icon.png
OCA-git-bot Mar 9, 2021
66cf742
fieldservice_stock_request 12.0.2.0.0
OCA-git-bot Mar 9, 2021
67add91
Translated using Weblate (Portuguese (Brazil))
marcelsavegnago Mar 15, 2021
d22fd07
[IMP] fieldservice_stock_request: black, isort, prettier
Jun 21, 2021
ec6959a
[MIG] fieldservice_stock_request: Migration to 13.0
Jun 22, 2021
084d7c1
[MIG] fieldservice_stock_request: migrated the module into v14
vimalpatelserpentcs Jun 28, 2021
d9154c6
[IMP]fieldservice_stock_request: once change direction on FSM order t…
vimalpatelserpentcs Mar 1, 2022
218ad25
Update stock_request.py
osi-scampbell Mar 1, 2022
a2ccd46
Update stock_request.py
osi-scampbell Mar 1, 2022
7b08c34
[IMP]fieldservice_stock_request: Can't set Expected Date on Inventory…
vimalpatelserpentcs Mar 2, 2022
b89fc39
Update fsm_order.xml
osi-scampbell Mar 9, 2022
6620f0f
Update stock_request.py
osi-scampbell Mar 9, 2022
56b987c
[IMP] Tests
Freni-OSI Nov 3, 2022
74ea022
[UPD] Update fieldservice_stock_request.pot
Nov 10, 2022
1403c25
[UPD] README.rst
OCA-git-bot Nov 10, 2022
df7836c
Update translation files
weblate Nov 10, 2022
87e14f5
Added translation using Weblate (Italian)
mymage Nov 16, 2022
72358ce
Translated using Weblate (Italian)
mymage Nov 16, 2022
da7103b
[FIX] fieldservice_stock_request: Field must be present in view but i…
max3903 Jan 16, 2023
b65ff12
fix
max3903 Jan 16, 2023
2f9c4e9
Added translation using Weblate (Spanish (Argentina))
ibuioli Jan 17, 2023
d9b075b
Translated using Weblate (Spanish (Argentina))
ibuioli Jan 17, 2023
8fac043
Translated using Weblate (Italian)
mymage Jun 14, 2023
929a6d7
Translated using Weblate (Italian)
francesco-ooops Jul 12, 2023
e7f2cf6
[UPD] README.rst
OCA-git-bot Sep 3, 2023
b9092e6
Update translation files
weblate Oct 9, 2023
f21125e
Added translation using Weblate (Spanish)
Ivorra78 Feb 22, 2024
b07eda9
Translated using Weblate (Spanish)
Ivorra78 Feb 22, 2024
8ec8c2e
[MIG] fieldservice_stock_request: Migration to 16.0
peluko00 Apr 12, 2024
0ab461d
[UPD] Update fieldservice_stock_request.pot
Jun 18, 2024
2896880
[IMP] fieldservice_stock_request: pre-commit auto fixes
peluko00 Jun 19, 2024
4dc5f19
[MIG] fieldservice_stock_request: Migration to 17.0
peluko00 Jun 19, 2024
debd27f
[UPD] Update fieldservice_stock_request.pot
Jul 9, 2024
52c4609
[BOT] post-merge updates
OCA-git-bot Jul 9, 2024
31b5089
Update translation files
weblate Jul 9, 2024
1e4ef23
[MIG] fieldservice_stock_request: 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
147 changes: 147 additions & 0 deletions fieldservice_stock_request/README.rst
Original file line number Diff line number Diff line change
@@ -0,0 +1,147 @@
=============================
Field Service - Stock Request
=============================

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

.. |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/17.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-17-0/field-service-17-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=17.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:%2017.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 <[email protected]>
- Sandip Mangukiya <[email protected]>
- Serpent Consulting Services Pvt. Ltd. <[email protected]>
- [APSL](https://apsl.tech):

- Antoni Marroig <[email protected]>

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/17.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": "18.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"],
}
144 changes: 144 additions & 0 deletions fieldservice_stock_request/i18n/es.po
Original file line number Diff line number Diff line change
@@ -0,0 +1,144 @@
# 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 <[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_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.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.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__stock_request_ids
msgid "Order Lines"
msgstr "Líneas de Pedido"

#. module: fieldservice_stock_request
#. odoo-python
#: 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
#. odoo-python
#: 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
#. odoo-python
#: 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."

#~ msgid "Display Name"
#~ msgstr "Mostrar Nombre"

#~ msgid "ID"
#~ msgstr "ID"

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

#~ msgid "Order"
#~ msgstr "Orden"
Loading
Loading