-
-
Notifications
You must be signed in to change notification settings - Fork 110
19.0 mig fleet vehicle stock #216
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
stferraro
wants to merge
42
commits into
OCA:19.0
Choose a base branch
from
Jenrax-git:19.0-mig-fleet_vehicle_stock
base: 19.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
42 commits
Select commit
Hold shift + click to select a range
3d61235
[ADD] add fleet_vehicle_stock
marcelsavegnago e957db4
[UPD] README.rst
OCA-git-bot d907ae2
[UPD] Update fleet_vehicle_stock.pot
oca-travis 4bfaa72
Added translation using Weblate (Portuguese (Brazil))
marcelsavegnago 17b0410
Translated using Weblate (Portuguese (Brazil))
marcelsavegnago 836cf5a
[IMP] fleet_vehicle_stock: black, isort, prettier
marcelsavegnago 65acabb
[MIG] fleet_vehicle_stock: Migration to 13.0
marcelsavegnago e1d256b
[RFC] fleet_vehicle_stock: test refactor
marcelsavegnago 1e4d344
[UPD] Update fleet_vehicle_stock.pot
oca-travis 2cab293
[UPD] README.rst
OCA-git-bot 8294850
[IMP] fleet_vehicle_stock: black, isort, prettier
marcelsavegnago 25ab653
[MIG] fleet_vehicle_stock: Migration to 14.0
marcelsavegnago 21f9771
[UPD] Update fleet_vehicle_stock.pot
oca-travis ee0dfef
[UPD] README.rst
OCA-git-bot 472c61c
[MIG] fleet_vehicle_stock: Migration to 15.0
rodrigonevest 9218120
[UPD] Update fleet_vehicle_stock.pot
d86832c
[UPD] README.rst
OCA-git-bot 6ad2478
Update translation files
weblate 8637d86
[MIG] fleet_vehicle_stock: Migration to 16.0
kaynnan 5d69044
[IMP] fleet_vehicle_stock: add tests
kaynnan f37258b
[IMP] fleet_vehicle_stock: add contributing name
kaynnan f3437e3
[UPD] Update fleet_vehicle_stock.pot
1f3072f
[UPD] README.rst
OCA-git-bot 70d770f
Update translation files
weblate 10fa648
Added translation using Weblate (Italian)
mymage 3e420b7
Translated using Weblate (Italian)
mymage 05f00c1
Translated using Weblate (Italian)
mymage e442a08
Translated using Weblate (Italian)
francesco-ooops d088c0e
Added translation using Weblate (Spanish)
Ivorra78 004cd7f
Translated using Weblate (Spanish)
Ivorra78 7fa8aaa
[UPD] README.rst
OCA-git-bot 614e768
Update translation files
weblate 8ebfdcc
Translated using Weblate (Italian)
mymage 15941bb
Translated using Weblate (Portuguese (Brazil))
b98118f
Translated using Weblate (Italian)
mymage f45db06
Added translation using Weblate (Dutch)
bosd f1e9aa4
[IMP] fleet_vehicle_stock: pre-commit stuff
JulioFabio 4a11b4a
[MIG] fleet_vehicle_stock: Migration to 18.0
JulioFabio 5a0899c
[IMP] fleet_vehicle_stock: pre-commit auto fixes
stferraro 5e16943
[MIG] fleet_vehicle_stock: Migration to 19.0
stferraro abb199c
[FIX] remove and change pylintrc
stferraro 2eb24c6
[FIX] changes minimal pylintrc failed pre-commit
stferraro 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
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 |
|---|---|---|
| @@ -1,4 +1,3 @@ | ||
|
|
||
| [MASTER] | ||
| load-plugins=pylint_odoo | ||
| score=n | ||
|
|
||
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 @@ | ||
| .. image:: https://odoo-community.org/readme-banner-image | ||
| :target: https://odoo-community.org/get-involved?utm_source=readme | ||
| :alt: Odoo Community Association | ||
|
|
||
| =================== | ||
| Fleet Vehicle Stock | ||
| =================== | ||
|
|
||
| .. | ||
| !!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!! | ||
| !! This file is generated by oca-gen-addon-readme !! | ||
| !! changes will be overwritten. !! | ||
| !!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!! | ||
| !! source digest: sha256:52066aeb1aedb8fb23bdebae9ebcd9e48527a0712bae5ba48563be41d5668f2a | ||
| !!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!! | ||
|
|
||
| .. |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/license-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%2Ffleet-lightgray.png?logo=github | ||
| :target: https://github.com/OCA/fleet/tree/19.0/fleet_vehicle_stock | ||
| :alt: OCA/fleet | ||
| .. |badge4| image:: https://img.shields.io/badge/weblate-Translate%20me-F47D42.png | ||
| :target: https://translation.odoo-community.org/projects/fleet-19-0/fleet-19-0-fleet_vehicle_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/fleet&target_branch=19.0 | ||
| :alt: Try me on Runboat | ||
|
|
||
| |badge1| |badge2| |badge3| |badge4| |badge5| | ||
|
|
||
| This module is an add-on for the Fleet application in Odoo. It allows | ||
| you to track your Fleet Vehicles in stock moves. | ||
|
|
||
| **Table of contents** | ||
|
|
||
| .. contents:: | ||
| :local: | ||
|
|
||
| Configuration | ||
| ============= | ||
|
|
||
| Products can be automatically converted into Fleet Vehicle. This is only | ||
| available only for products tracked by serial number. This needs to be | ||
| enabled both on Operation Types and Products. For example, we may want | ||
| to create the Fleet Vehicle on Delivery, or on Receipts. | ||
|
|
||
| To enable on Products: | ||
|
|
||
| - Go to Inventory > Master Data > Products | ||
| - Open the Product form, Inventory tab | ||
| - On the "Traceability" section, make sure "Tracking" is set to "By | ||
| Unique Serial Number" | ||
| - Enable the "Creates Fleet Vehicle" checkbox | ||
| - Open Fleet tab | ||
| - Select Fleet Vehicle Model | ||
|
|
||
| To enable on Operation Types: | ||
|
|
||
| - Go to Inventory > Configuration > Operation Types | ||
| - Select the intended Operation Type ("Receipts" for example) | ||
| - On the "Traceability" section, enable the "Create Fleet Vehicle" | ||
| checkbox | ||
|
|
||
| Usage | ||
| ===== | ||
|
|
||
| A completed stock move for a properly configured Product on a configured | ||
| stock Operation Type will automatically create a fleet vehicle. | ||
|
|
||
| Bug Tracker | ||
| =========== | ||
|
|
||
| Bugs are tracked on `GitHub Issues <https://github.com/OCA/fleet/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/fleet/issues/new?body=module:%20fleet_vehicle_stock%0Aversion:%2019.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 | ||
| ------- | ||
|
|
||
| * Escodoo | ||
|
|
||
| Contributors | ||
| ------------ | ||
|
|
||
| - Marcel Savegnago <marcel.savegnago@escodoo.com.br> | ||
| - Kaynnan Lemes <kaynnan.lemes@escodoo.com.br> | ||
|
|
||
| Other credits | ||
| ------------- | ||
|
|
||
| The development of this module has been financially supported by: | ||
|
|
||
| - Escodoo - https://www.escodoo.com.br | ||
|
|
||
| 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-marcelsavegnago| image:: https://github.com/marcelsavegnago.png?size=40px | ||
| :target: https://github.com/marcelsavegnago | ||
| :alt: marcelsavegnago | ||
|
|
||
| Current `maintainer <https://odoo-community.org/page/maintainer-role>`__: | ||
|
|
||
| |maintainer-marcelsavegnago| | ||
|
|
||
| This module is part of the `OCA/fleet <https://github.com/OCA/fleet/tree/19.0/fleet_vehicle_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,26 @@ | ||
| # Copyright 2021 - TODAY, Escodoo | ||
| # License AGPL-3.0 or later (http://www.gnu.org/licenses/agpl). | ||
|
|
||
|
|
||
| { | ||
| "name": "Fleet Vehicle Stock", | ||
| "summary": """ | ||
| This module is an add-on for the Fleet application in Odoo. It allows | ||
| you to track your Fleet Vehicles in stock moves.""", | ||
| "version": "19.0.1.0.0", | ||
| "license": "AGPL-3", | ||
| "author": "Escodoo,Odoo Community Association (OCA)", | ||
| "website": "https://github.com/OCA/fleet", | ||
| "category": "Human Resources/Fleet", | ||
| "maintainers": ["marcelsavegnago"], | ||
| "depends": ["stock", "fleet"], | ||
| "data": [ | ||
| "views/stock_production_lot.xml", | ||
| "views/stock_picking_type.xml", | ||
| "views/product_template.xml", | ||
| "views/product_product.xml", | ||
| "views/fleet_vehicle.xml", | ||
| "views/fleet_vehicle_model.xml", | ||
| ], | ||
| "demo": [], | ||
| } |
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,131 @@ | ||
| # Translation of Odoo Server. | ||
| # This file contains the translation of the following modules: | ||
| # * fleet_vehicle_stock | ||
| # | ||
| msgid "" | ||
| msgstr "" | ||
| "Project-Id-Version: Odoo Server 16.0\n" | ||
| "Report-Msgid-Bugs-To: \n" | ||
| "PO-Revision-Date: 2023-08-03 21:10+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: fleet_vehicle_stock | ||
| #: model:ir.model.fields,field_description:fleet_vehicle_stock.field_stock_picking_type__create_fleet_vehicle | ||
| msgid "Create Fleet Vehicle" | ||
| msgstr "Crear flota de vehículos" | ||
|
|
||
| #. module: fleet_vehicle_stock | ||
| #: model:ir.model.fields,field_description:fleet_vehicle_stock.field_product_product__create_fleet_vehicle | ||
| #: model:ir.model.fields,field_description:fleet_vehicle_stock.field_product_template__create_fleet_vehicle | ||
| msgid "Creates a Fleet Vehicle" | ||
| msgstr "Crear una flota de vehículos" | ||
|
|
||
| #. module: fleet_vehicle_stock | ||
| #: model:ir.model.fields,field_description:fleet_vehicle_stock.field_fleet_vehicle__current_stock_location_id | ||
| msgid "Current Inventory Location" | ||
| msgstr "Ubicación actual del inventario" | ||
|
|
||
| #. module: fleet_vehicle_stock | ||
| #: model:ir.model.fields,field_description:fleet_vehicle_stock.field_fleet_vehicle_model__product_id | ||
| msgid "Default Product" | ||
| msgstr "Producto por defecto" | ||
|
|
||
| #. module: fleet_vehicle_stock | ||
| #: model_terms:ir.ui.view,arch_db:fleet_vehicle_stock.product_template_form_view | ||
| #: model_terms:ir.ui.view,arch_db:fleet_vehicle_stock.product_variant_easy_edit_view | ||
| msgid "Fleet" | ||
| msgstr "Flota" | ||
|
|
||
| #. module: fleet_vehicle_stock | ||
| #: model:ir.model.fields,field_description:fleet_vehicle_stock.field_stock_lot__fleet_vehicle_id | ||
| msgid "Fleet Vehicle" | ||
| msgstr "Vehículo de Flota" | ||
|
|
||
| #. module: fleet_vehicle_stock | ||
| #: model_terms:ir.ui.view,arch_db:fleet_vehicle_stock.fleet_vehicle_form_view | ||
| #: model_terms:ir.ui.view,arch_db:fleet_vehicle_stock.fleet_vehicle_model_form_view | ||
| msgid "Inventory" | ||
| msgstr "Inventario" | ||
|
|
||
| #. module: fleet_vehicle_stock | ||
| #: model:ir.model.constraint,message:fleet_vehicle_stock.constraint_product_template_non_product_tracking_for_vehicle_model | ||
| msgid "" | ||
| "It is mandatory to configure the traceability by serial number in order to " | ||
| "be able to configure the vehicle model of the fleet in this product." | ||
| msgstr "" | ||
| "Es obligatorio configurar la trazabilidad por número de serie para poder " | ||
| "configurar el modelo de vehículo de la flota en este producto." | ||
|
|
||
| #. module: fleet_vehicle_stock | ||
| #: model:ir.model,name:fleet_vehicle_stock.model_stock_lot | ||
| msgid "Lot/Serial" | ||
| msgstr "Lote/Serie" | ||
|
|
||
| #. module: fleet_vehicle_stock | ||
| #: model:ir.model,name:fleet_vehicle_stock.model_fleet_vehicle_model | ||
| msgid "Model of a vehicle" | ||
| msgstr "Modelo de vehículo" | ||
|
|
||
| #. module: fleet_vehicle_stock | ||
| #: model:ir.model,name:fleet_vehicle_stock.model_stock_picking_type | ||
| msgid "Picking Type" | ||
| msgstr "Tipo de recogida" | ||
|
|
||
| #. module: fleet_vehicle_stock | ||
| #: model:ir.model,name:fleet_vehicle_stock.model_product_template | ||
| #: model:ir.model.fields,field_description:fleet_vehicle_stock.field_fleet_vehicle__product_id | ||
| msgid "Product" | ||
| msgstr "Producto" | ||
|
|
||
| #. module: fleet_vehicle_stock | ||
| #: model:ir.model,name:fleet_vehicle_stock.model_product_product | ||
| msgid "Product Variant" | ||
| msgstr "Variante de Producto" | ||
|
|
||
| #. module: fleet_vehicle_stock | ||
| #: model:ir.model.fields,help:fleet_vehicle_stock.field_stock_picking_type__create_fleet_vehicle | ||
| msgid "" | ||
| "Products with the \"Creates a Fleet Vehicle\" flagwill automatically be " | ||
| "converted to an Fleet Vehicle." | ||
| msgstr "" | ||
| "Los productos con la bandera \"Crea un Vehículo de Flota\" se convertirán " | ||
| "automáticamente en un Vehículo de Flota." | ||
|
|
||
| #. module: fleet_vehicle_stock | ||
| #: model:ir.model.fields,field_description:fleet_vehicle_stock.field_fleet_vehicle__lot_id | ||
| msgid "Serial #" | ||
| msgstr "Número de serie #" | ||
|
|
||
| #. module: fleet_vehicle_stock | ||
| #: model:ir.model,name:fleet_vehicle_stock.model_stock_move | ||
| msgid "Stock Move" | ||
| msgstr "Movimiento de existencias" | ||
|
|
||
| #. module: fleet_vehicle_stock | ||
| #. odoo-python | ||
| #: code:addons/fleet_vehicle_stock/models/stock_move.py:0 | ||
| #, python-format | ||
| msgid "" | ||
| "The product '%s' is configure to create a fleet vehicle but vehicle model is " | ||
| "not configured in the product." | ||
| msgstr "" | ||
| "El producto '%s' está configurado para crear un vehículo de flota pero el " | ||
| "modelo de vehículo no está configurado en el producto." | ||
|
|
||
| #. module: fleet_vehicle_stock | ||
| #: model:ir.model,name:fleet_vehicle_stock.model_fleet_vehicle | ||
| msgid "Vehicle" | ||
| msgstr "Vehículo" | ||
|
|
||
| #. module: fleet_vehicle_stock | ||
| #: model:ir.model.fields,field_description:fleet_vehicle_stock.field_product_product__fleet_vehicle_model_id | ||
| #: model:ir.model.fields,field_description:fleet_vehicle_stock.field_product_template__fleet_vehicle_model_id | ||
| msgid "Vehicle Model" | ||
| msgstr "Modelo del vehículo" |
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.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Can you remove this change here?
Uh oh!
There was an error while loading. Please reload this page.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
No ! with minimal pylintrc failed pre-commit