-
-
Notifications
You must be signed in to change notification settings - Fork 722
[MIG] hr_personal_equipment_stock: Migration to 18.0 #1462
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
Open
Alexgars73
wants to merge
19
commits into
OCA:18.0
Choose a base branch
from
Studio73:18.0-mig-hr_personal_equipment_stock
base: 18.0
Could not load branches
Branch not found: {{ refName }}
Loading
Could not load tags
Nothing to show
Loading
Are you sure you want to change the base?
Some commits from the old base branch may be removed from the timeline,
and old review comments may become outdated.
Open
Changes from all commits
Commits
Show all changes
19 commits
Select commit
Hold shift + click to select a range
4c00d2c
hr_personal_equipment_stock
albariera 4a518b1
Added translation using Weblate (Spanish)
etobella e97efc6
Translated using Weblate (Spanish)
albariera 8c3a856
Added translation using Weblate (Spanish)
olgamarcocb 79839f0
hr_personal_equipment_stock: fix partner_id and origin when creating …
albariera b57dff3
[IMP] hr_personal_equipment_stock: black, isort, prettier
albariera e8b7a64
[MIG] hr_personal_equipment_stock: Migration to 14.0
albariera 9439d7a
[UPD] Update hr_personal_equipment_stock.pot
b9d0307
[UPD] README.rst
OCA-git-bot 09116a5
Added translation using Weblate (Italian)
francesco-ooops 63e7d69
Translated using Weblate (Italian)
mymage 1e3cbd6
Translated using Weblate (Italian)
primes2h ecf8b4c
Translated using Weblate (Spanish)
Ivorra78 7a73b39
[MIG] hr_personal_equipment_stock: Migration to 16.0
anusriNPS 3f514eb
[UPD] Update hr_personal_equipment_stock.pot
9bf227e
[BOT] post-merge updates
OCA-git-bot 8f1b9be
Update translation files
weblate 078fb12
[IMP] hr_personal_equipment_stock: pre-commit auto fixes
Alexgars73 a2d278f
[MIG] hr_personal_equipment_stock: Migration to 18.0
Alexgars73 File filter
Filter by extension
Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
There are no files selected for viewing
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| Original file line number | Diff line number | Diff line change |
|---|---|---|
| @@ -0,0 +1,106 @@ | ||
| =========================== | ||
| Hr Personal Equipment Stock | ||
| =========================== | ||
|
|
||
| .. | ||
| !!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!! | ||
| !! This file is generated by oca-gen-addon-readme !! | ||
| !! changes will be overwritten. !! | ||
| !!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!! | ||
| !! source digest: sha256:fc5b579fad57f746f95989e01349e102d240d01825132f2a8b935a5b2499ccfb | ||
| !!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!! | ||
|
|
||
| .. |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%2Fhr-lightgray.png?logo=github | ||
| :target: https://github.com/OCA/hr/tree/18.0/hr_personal_equipment_stock | ||
| :alt: OCA/hr | ||
| .. |badge4| image:: https://img.shields.io/badge/weblate-Translate%20me-F47D42.png | ||
| :target: https://translation.odoo-community.org/projects/hr-18-0/hr-18-0-hr_personal_equipment_stock | ||
| :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/hr&target_branch=18.0 | ||
| :alt: Try me on Runboat | ||
|
|
||
| |badge1| |badge2| |badge3| |badge4| |badge5| | ||
|
|
||
| This module integrates stock with hr_personal_equipment_request module. | ||
| When the equipment request is accepted, a stock request is generated and | ||
| a "stock.move" is created for each request line. If the "stock.move" is | ||
| marked as done, the corresponding allocations are marked as valid if the | ||
| quantity_delivered is equal to the requested quantity. In case a service | ||
| is added to the equipment request, it will skip the procurement method. | ||
| Instead, it has to be validated from the corresponding allocation. In | ||
| case a backorder is generated and cancelled afterwards, if qty_delivered | ||
| is not null, the allocation is marked as valid. If not, it is marked as | ||
| cancelled. | ||
|
|
||
| **Table of contents** | ||
|
|
||
| .. contents:: | ||
| :local: | ||
|
|
||
| Installation | ||
| ============ | ||
|
|
||
| This module is auto installed if the modules | ||
| "hr_personal_equipment_request" and "stock" are installed. | ||
|
|
||
| Configuration | ||
| ============= | ||
|
|
||
|
|
||
|
|
||
| Usage | ||
| ===== | ||
|
|
||
|
|
||
|
|
||
| Bug Tracker | ||
| =========== | ||
|
|
||
| Bugs are tracked on `GitHub Issues <https://github.com/OCA/hr/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/hr/issues/new?body=module:%20hr_personal_equipment_stock%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 | ||
| ------- | ||
|
|
||
| * Creu Blanca | ||
|
|
||
| Contributors | ||
| ------------ | ||
|
|
||
| - Alba Riera <alba.riera@creublanca.es> | ||
|
|
||
| Other credits | ||
| ------------- | ||
|
|
||
|
|
||
|
|
||
| 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. | ||
|
|
||
| This module is part of the `OCA/hr <https://github.com/OCA/hr/tree/18.0/hr_personal_equipment_stock>`_ project on GitHub. | ||
|
|
||
| You are welcome to contribute. To learn how please visit https://odoo-community.org/page/Contribute. |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| Original file line number | Diff line number | Diff line change |
|---|---|---|
| @@ -0,0 +1 @@ | ||
| from . import models |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| Original file line number | Diff line number | Diff line change |
|---|---|---|
| @@ -0,0 +1,24 @@ | ||
| # Copyright 2021 Creu Blanca | ||
| # License AGPL-3.0 or later (http://www.gnu.org/licenses/agpl). | ||
|
|
||
| { | ||
| "name": "Hr Personal Equipment Stock", | ||
| "summary": """ | ||
| This addon allows to integrate hr_personal_equipment_request with stock""", | ||
| "version": "18.0.1.0.0", | ||
| "license": "AGPL-3", | ||
| "author": "Creu Blanca,Odoo Community Association (OCA)", | ||
| "website": "https://github.com/OCA/hr", | ||
| "depends": ["hr_personal_equipment_request", "stock"], | ||
| "data": [ | ||
| "views/stock_location.xml", | ||
| "views/stock_move.xml", | ||
| "views/procurement_group.xml", | ||
| "views/hr_personal_equipment.xml", | ||
| "views/hr_personal_equipment_request.xml", | ||
| "views/stock_picking.xml", | ||
| ], | ||
| "auto_install": True, | ||
| "installable": True, | ||
| "application": False, | ||
| } | ||
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| Original file line number | Diff line number | Diff line change |
|---|---|---|
| @@ -0,0 +1,128 @@ | ||
| # Translation of Odoo Server. | ||
| # This file contains the translation of the following modules: | ||
| # * hr_personal_equipment_stock | ||
| # | ||
| msgid "" | ||
| msgstr "" | ||
| "Project-Id-Version: Odoo Server 13.0\n" | ||
| "Report-Msgid-Bugs-To: \n" | ||
| "PO-Revision-Date: 2024-02-18 21:33+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: hr_personal_equipment_stock | ||
| #: model:ir.model,name:hr_personal_equipment_stock.model_hr_personal_equipment | ||
| msgid "Adds personal equipment information and allocation" | ||
| msgstr "Agrega información y destribución de equipo personal" | ||
|
|
||
| #. module: hr_personal_equipment_stock | ||
| #: model:ir.model.fields,field_description:hr_personal_equipment_stock.field_hr_personal_equipment__qty_delivered | ||
| msgid "Delivered Quantity" | ||
| msgstr "Cantidad Entregada" | ||
|
|
||
| #. module: hr_personal_equipment_stock | ||
| #: model:ir.model.fields,field_description:hr_personal_equipment_stock.field_stock_move__personal_equipment_id | ||
| msgid "Employee Personal Equipment" | ||
| msgstr "Equipamiento Personal de Empleado" | ||
|
|
||
| #. module: hr_personal_equipment_stock | ||
| #: model:ir.model.fields,field_description:hr_personal_equipment_stock.field_procurement_group__equipment_request_id | ||
| #: model:ir.model.fields,field_description:hr_personal_equipment_stock.field_stock_picking__equipment_request_id | ||
| msgid "Equipment Request" | ||
| msgstr "Solicitud de equipamiento" | ||
|
|
||
| #. module: hr_personal_equipment_stock | ||
| #: model:ir.model,name:hr_personal_equipment_stock.model_stock_location | ||
| msgid "Inventory Locations" | ||
| msgstr "Ubicaciones de inventario" | ||
|
|
||
| #. module: hr_personal_equipment_stock | ||
| #: model:ir.model.fields,field_description:hr_personal_equipment_stock.field_stock_location__is_personal_equipment_location | ||
| msgid "Is personal equipment location?" | ||
| msgstr "Es una ubicación de equipamiento personal?" | ||
|
|
||
| #. module: hr_personal_equipment_stock | ||
| #: model:ir.model.fields,field_description:hr_personal_equipment_stock.field_hr_personal_equipment__location_id | ||
| #: model:ir.model.fields,field_description:hr_personal_equipment_stock.field_hr_personal_equipment_request__location_id | ||
| msgid "Location" | ||
| msgstr "Ubicación" | ||
|
|
||
| #. module: hr_personal_equipment_stock | ||
| #: model:ir.model.fields,help:hr_personal_equipment_stock.field_hr_personal_equipment__procurement_group_id | ||
| #: model:ir.model.fields,help:hr_personal_equipment_stock.field_hr_personal_equipment_request__procurement_group_id | ||
| msgid "" | ||
| "Moves created through this stock request will be put in this procurement " | ||
| "group. If none is given, the moves generated by procurement rules will be " | ||
| "grouped into one big picking." | ||
| msgstr "" | ||
| "Los movimientos creados a través de esta solicitud de existencias se " | ||
| "colocarán en este grupo de compras. Si no se proporciona ninguno, los " | ||
| "movimientos generados por las reglas de adquisición se agruparán en una gran " | ||
| "selección." | ||
|
|
||
| #. module: hr_personal_equipment_stock | ||
| #: model:ir.model.fields,field_description:hr_personal_equipment_stock.field_hr_personal_equipment_request__picking_ids | ||
| msgid "Picking" | ||
| msgstr "Transferencia" | ||
|
|
||
| #. module: hr_personal_equipment_stock | ||
| #: model:ir.model.fields,field_description:hr_personal_equipment_stock.field_hr_personal_equipment_request__picking_count | ||
| msgid "Picking Count" | ||
| msgstr "Cuenta de transferencias" | ||
|
|
||
| #. module: hr_personal_equipment_stock | ||
| #: model_terms:ir.ui.view,arch_db:hr_personal_equipment_stock.hr_personal_equipment_request_form_view_picking | ||
| msgid "Pickings" | ||
| msgstr "Transferencias" | ||
|
|
||
| #. module: hr_personal_equipment_stock | ||
| #: model:ir.model,name:hr_personal_equipment_stock.model_procurement_group | ||
| #: model:ir.model.fields,field_description:hr_personal_equipment_stock.field_hr_personal_equipment__procurement_group_id | ||
| #: model:ir.model.fields,field_description:hr_personal_equipment_stock.field_hr_personal_equipment_request__procurement_group_id | ||
| msgid "Procurement Group" | ||
| msgstr "Grupo de Adquisiciones" | ||
|
|
||
| #. module: hr_personal_equipment_stock | ||
| #: model:ir.model.fields,field_description:hr_personal_equipment_stock.field_hr_personal_equipment__skip_procurement | ||
| msgid "Skip Procurement" | ||
| msgstr "Saltar Adquisiciones" | ||
|
|
||
| #. module: hr_personal_equipment_stock | ||
| #: model:ir.model,name:hr_personal_equipment_stock.model_stock_move | ||
| msgid "Stock Move" | ||
| msgstr "Movimiento de stock" | ||
|
|
||
| #. module: hr_personal_equipment_stock | ||
| #: model:ir.model.fields,field_description:hr_personal_equipment_stock.field_hr_personal_equipment__move_ids | ||
| msgid "Stock Moves" | ||
| msgstr "Movimientos de existencias" | ||
|
|
||
| #. module: hr_personal_equipment_stock | ||
| #: model:ir.model,name:hr_personal_equipment_stock.model_stock_rule | ||
| msgid "Stock Rule" | ||
| msgstr "Regla de existencias" | ||
|
|
||
| #. module: hr_personal_equipment_stock | ||
| #: model:ir.model,name:hr_personal_equipment_stock.model_hr_personal_equipment_request | ||
| msgid "This model allows to create a personal equipment request" | ||
| msgstr "Este modelo permite crear solicitudes de equipamiento personal" | ||
|
|
||
| #. module: hr_personal_equipment_stock | ||
| #: model:ir.model,name:hr_personal_equipment_stock.model_stock_picking | ||
| msgid "Transfer" | ||
| msgstr "Transferencia" | ||
|
|
||
| #~ msgid "Display Name" | ||
| #~ msgstr "Mostrar Nombre" | ||
|
|
||
| #~ msgid "ID" | ||
| #~ msgstr "ID" | ||
|
|
||
| #~ msgid "Last Modified on" | ||
| #~ msgstr "Última Modificación el" |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| Original file line number | Diff line number | Diff line change |
|---|---|---|
| @@ -0,0 +1,113 @@ | ||
| # Translation of Odoo Server. | ||
| # This file contains the translation of the following modules: | ||
| # * hr_personal_equipment_stock | ||
| # | ||
| msgid "" | ||
| msgstr "" | ||
| "Project-Id-Version: Odoo Server 13.0\n" | ||
| "Report-Msgid-Bugs-To: \n" | ||
| "Last-Translator: Automatically generated\n" | ||
| "Language-Team: none\n" | ||
| "Language: es_PA\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" | ||
|
|
||
| #. module: hr_personal_equipment_stock | ||
| #: model:ir.model,name:hr_personal_equipment_stock.model_hr_personal_equipment | ||
| msgid "Adds personal equipment information and allocation" | ||
| msgstr "" | ||
|
|
||
| #. module: hr_personal_equipment_stock | ||
| #: model:ir.model.fields,field_description:hr_personal_equipment_stock.field_hr_personal_equipment__qty_delivered | ||
| msgid "Delivered Quantity" | ||
| msgstr "" | ||
|
|
||
| #. module: hr_personal_equipment_stock | ||
| #: model:ir.model.fields,field_description:hr_personal_equipment_stock.field_stock_move__personal_equipment_id | ||
| msgid "Employee Personal Equipment" | ||
| msgstr "" | ||
|
|
||
| #. module: hr_personal_equipment_stock | ||
| #: model:ir.model.fields,field_description:hr_personal_equipment_stock.field_procurement_group__equipment_request_id | ||
| #: model:ir.model.fields,field_description:hr_personal_equipment_stock.field_stock_picking__equipment_request_id | ||
| msgid "Equipment Request" | ||
| msgstr "" | ||
|
|
||
| #. module: hr_personal_equipment_stock | ||
| #: model:ir.model,name:hr_personal_equipment_stock.model_stock_location | ||
| msgid "Inventory Locations" | ||
| msgstr "" | ||
|
|
||
| #. module: hr_personal_equipment_stock | ||
| #: model:ir.model.fields,field_description:hr_personal_equipment_stock.field_stock_location__is_personal_equipment_location | ||
| msgid "Is personal equipment location?" | ||
| msgstr "" | ||
|
|
||
| #. module: hr_personal_equipment_stock | ||
| #: model:ir.model.fields,field_description:hr_personal_equipment_stock.field_hr_personal_equipment__location_id | ||
| #: model:ir.model.fields,field_description:hr_personal_equipment_stock.field_hr_personal_equipment_request__location_id | ||
| msgid "Location" | ||
| msgstr "" | ||
|
|
||
| #. module: hr_personal_equipment_stock | ||
| #: model:ir.model.fields,help:hr_personal_equipment_stock.field_hr_personal_equipment__procurement_group_id | ||
| #: model:ir.model.fields,help:hr_personal_equipment_stock.field_hr_personal_equipment_request__procurement_group_id | ||
| msgid "" | ||
| "Moves created through this stock request will be put in this procurement " | ||
| "group. If none is given, the moves generated by procurement rules will be " | ||
| "grouped into one big picking." | ||
| msgstr "" | ||
|
|
||
| #. module: hr_personal_equipment_stock | ||
| #: model:ir.model.fields,field_description:hr_personal_equipment_stock.field_hr_personal_equipment_request__picking_ids | ||
| msgid "Picking" | ||
| msgstr "" | ||
|
|
||
| #. module: hr_personal_equipment_stock | ||
| #: model:ir.model.fields,field_description:hr_personal_equipment_stock.field_hr_personal_equipment_request__picking_count | ||
| msgid "Picking Count" | ||
| msgstr "" | ||
|
|
||
| #. module: hr_personal_equipment_stock | ||
| #: model_terms:ir.ui.view,arch_db:hr_personal_equipment_stock.hr_personal_equipment_request_form_view_picking | ||
| msgid "Pickings" | ||
| msgstr "" | ||
|
|
||
| #. module: hr_personal_equipment_stock | ||
| #: model:ir.model,name:hr_personal_equipment_stock.model_procurement_group | ||
| #: model:ir.model.fields,field_description:hr_personal_equipment_stock.field_hr_personal_equipment__procurement_group_id | ||
| #: model:ir.model.fields,field_description:hr_personal_equipment_stock.field_hr_personal_equipment_request__procurement_group_id | ||
| msgid "Procurement Group" | ||
| msgstr "" | ||
|
|
||
| #. module: hr_personal_equipment_stock | ||
| #: model:ir.model.fields,field_description:hr_personal_equipment_stock.field_hr_personal_equipment__skip_procurement | ||
| msgid "Skip Procurement" | ||
| msgstr "" | ||
|
|
||
| #. module: hr_personal_equipment_stock | ||
| #: model:ir.model,name:hr_personal_equipment_stock.model_stock_move | ||
| msgid "Stock Move" | ||
| msgstr "" | ||
|
|
||
| #. module: hr_personal_equipment_stock | ||
| #: model:ir.model.fields,field_description:hr_personal_equipment_stock.field_hr_personal_equipment__move_ids | ||
| msgid "Stock Moves" | ||
| msgstr "" | ||
|
|
||
| #. module: hr_personal_equipment_stock | ||
| #: model:ir.model,name:hr_personal_equipment_stock.model_stock_rule | ||
| msgid "Stock Rule" | ||
| msgstr "" | ||
|
|
||
| #. module: hr_personal_equipment_stock | ||
| #: model:ir.model,name:hr_personal_equipment_stock.model_hr_personal_equipment_request | ||
| msgid "This model allows to create a personal equipment request" | ||
| msgstr "" | ||
|
|
||
| #. module: hr_personal_equipment_stock | ||
| #: model:ir.model,name:hr_personal_equipment_stock.model_stock_picking | ||
| msgid "Transfer" | ||
| msgstr "" |
Oops, something went wrong.
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
Uh oh!
There was an error while loading. Please reload this page.