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] repair_refurbish: Migration to 16.0 #23

Merged
merged 36 commits into from
Mar 26, 2024
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
Show all changes
36 commits
Select commit Hold shift + click to select a range
0cde167
[MIG] repair_refurbish (mrp_repair_refurbish): Migration to 12.0
grindtildeath Mar 12, 2019
0639ca3
fixup! [MIG] repair_refurbish (mrp_repair_refurbish): Migration to 12.0
grindtildeath Mar 12, 2019
1cfa657
[UPD] README.rst
OCA-git-bot Mar 28, 2019
c3efe6b
[UPD] Update repair_refurbish.pot
oca-travis Mar 28, 2019
1b6b0d5
[FIX] repair_refurbish, product with tracking show error when end rep…
Apr 12, 2019
509c2f7
[UPD] README.rst
OCA-git-bot Apr 22, 2019
f21dac1
Fix pyflakes issue
remi-filament Apr 29, 2019
bc98eae
[UPD] README.rst
OCA-git-bot Jul 29, 2019
fd41ab3
[FIX]repair_refurbish. Set correct destination location in stock move…
AaronHForgeFlow Sep 12, 2019
366b1c6
[UPD] Update repair_refurbish.pot
oca-travis Sep 17, 2019
6a726c0
repair_refurbish 12.0.1.1.2
OCA-git-bot Sep 17, 2019
64fe6c3
Update translation files
oca-transbot Sep 17, 2019
1058e88
[FIX]do not set destination location for no refurbish repair
AaronHForgeFlow Sep 27, 2019
2653516
repair_refurbish 12.0.1.1.3
OCA-git-bot Oct 1, 2019
e752b9b
[IMP] : black, isort
AaronHForgeFlow Mar 19, 2020
9908342
[UPT]rebranding
AaronHForgeFlow Mar 19, 2020
392c82a
[MIG]repair_refurbish v13
AaronHForgeFlow Mar 19, 2020
720e9cc
[UPD] Update repair_refurbish.pot
oca-travis Mar 24, 2020
83e2c72
[UPD] README.rst
OCA-git-bot Mar 24, 2020
bdd6ad6
[UPD] Eficent -> ForgeFlow
MiquelRForgeFlow Sep 30, 2020
6a0efee
[UPD] README.rst
OCA-git-bot Oct 1, 2020
abc832e
[UPD] README.rst
OCA-git-bot Dec 17, 2020
5d29c65
[UPD] README.rst
OCA-git-bot Dec 17, 2020
5f85888
[MIG] repair_refurbish: Migration to 14.0
MateuGForgeFlow Jan 29, 2021
e686f9d
[UPD] Update repair_refurbish.pot
oca-travis Feb 1, 2021
25444f9
[UPD] README.rst
OCA-git-bot Feb 1, 2021
d822c09
[IMP] repair_refurbish: black, isort, prettier
JasminSForgeFlow Jan 19, 2022
319ae54
[MIG] repair_refurbish: Migration to 15.0
JasminSForgeFlow Jan 19, 2022
9aa7f5d
[UPD] Update repair_refurbish.pot
Jan 19, 2022
4a3d474
[UPD] README.rst
OCA-git-bot Jan 19, 2022
e99b9e3
[IMP] repair_refurbish: company default in lots
AaronHForgeFlow May 4, 2023
0d28f07
[FIX] repair_refurbish: link refurbish move to the repair order
AaronHForgeFlow Jul 25, 2023
bf00766
repair_refurbish 15.0.1.0.1
OCA-git-bot Jul 31, 2023
599fb6f
[IMP] repair_refurbish: pre-commit stuff
AlexPForgeFlow Aug 3, 2023
e0d6b59
[MIG] repair_refurbish: Migration to 16.0
AlexPForgeFlow Aug 3, 2023
d688c44
[FIX] repair_refurbish: refurbish should not be the default option ev…
AaronHForgeFlow Aug 4, 2023
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
105 changes: 105 additions & 0 deletions repair_refurbish/README.rst
Original file line number Diff line number Diff line change
@@ -0,0 +1,105 @@
====================
MRP Repair Refurbish
====================

.. !!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!
!! This file is generated by oca-gen-addon-readme !!
!! changes will be overwritten. !!
!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!

.. |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%2Frepair-lightgray.png?logo=github
:target: https://github.com/OCA/repair/tree/15.0/repair_refurbish
:alt: OCA/repair
.. |badge4| image:: https://img.shields.io/badge/weblate-Translate%20me-F47D42.png
:target: https://translation.odoo-community.org/projects/repair-15-0/repair-15-0-repair_refurbish
:alt: Translate me on Weblate

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

This module adds the ability to obtain refurbished product as a consequence
of the repair of a product that was defective.

**Table of contents**

.. contents::
:local:

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

#. For each product that can potentially be refurbished, define the
refurbished version in the product form.
#. A default 'Refurbished' virtual location is created during module install,
and proposed by default on each product.

Usage
=====

#. Create an MRP repair.
#. Indicate a product to repair, If the product has a proposed refurbished
version, it will be proposed to be used. The destination location
#. Add operations if needed.
#. Complete the repair.

The initial product will be moved to the 'Scrap' location, and the
refurbished product will be moved from a 'Refurbish' location to the desired
destination location.

The components that were added to the repair order will be moved to the
'Refurbish' location.

Bug Tracker
===========

Bugs are tracked on `GitHub Issues <https://github.com/OCA/repair/issues>`_.
In case of trouble, please check there if your issue has already been reported.
If you spotted it first, help us smashing it by providing a detailed and welcomed
`feedback <https://github.com/OCA/repair/issues/new?body=module:%20repair_refurbish%0Aversion:%2015.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
~~~~~~~

* ForgeFlow S.L.

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

* Jordi Ballester Alomar <[email protected]>
* Lois Rilo <[email protected]>
* Akim Juillerat <[email protected]>
* Bhavesh Odedra <[email protected]>

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

The initial development of this module has been financially supported by:

* Aleph Objects, Inc.

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/repair <https://github.com/OCA/repair/tree/15.0/repair_refurbish>`_ project on GitHub.

You are welcome to contribute. To learn how please visit https://odoo-community.org/page/Contribute.
1 change: 1 addition & 0 deletions repair_refurbish/__init__.py
Original file line number Diff line number Diff line change
@@ -0,0 +1 @@
from . import models
19 changes: 19 additions & 0 deletions repair_refurbish/__manifest__.py
Original file line number Diff line number Diff line change
@@ -0,0 +1,19 @@
# Copyright 2020 ForgeFlow S.L.
# License AGPL-3.0 or later (https://www.gnu.org/licenses/agpl.html).
{
"name": "MRP Repair Refurbish",
"summary": "Create refurbished products during repair",
"version": "16.0.1.0.0",
"category": "Manufacturing",
"website": "https://github.com/OCA/repair",
"author": "ForgeFlow S.L., Odoo Community Association (OCA)",
"license": "AGPL-3",
"installable": True,
"depends": ["repair"],
"data": [
"views/repair_view.xml",
"data/stock_data.xml",
"views/product_template_view.xml",
"views/product_product_view.xml",
],
}
24 changes: 24 additions & 0 deletions repair_refurbish/data/stock_data.xml
Original file line number Diff line number Diff line change
@@ -0,0 +1,24 @@
<?xml version="1.0" encoding="utf-8" ?>
<odoo>
<data>
<record id="stock_location_refurbish" model="stock.location">
<field name="name">Refurbish</field>
<field name="location_id" ref="stock.stock_location_locations_virtual" />
<field name="usage">production</field>
<field name="company_id" />
</record>
</data>
<data noupdate="1">
<record forcecreate="True" id="property_stock_refurbish" model="ir.property">
<field name="name">property_stock_refurbish</field>
<field
name="fields_id"
search="[('model','=','product.template'),('name','=','property_stock_refurbish')]"
/>
<field
eval="'stock.location,'+str(stock_location_refurbish)"
name="value"
/>
</record>
</data>
</odoo>
109 changes: 109 additions & 0 deletions repair_refurbish/i18n/de.po
Original file line number Diff line number Diff line change
@@ -0,0 +1,109 @@
# Translation of Odoo Server.
# This file contains the translation of the following modules:
# * mrp_repair_refurbish
#
msgid ""
msgstr ""
"Project-Id-Version: Odoo Server 11.0\n"
"Report-Msgid-Bugs-To: \n"
"PO-Revision-Date: 2018-12-09 10:43+0000\n"
"Last-Translator: Maria Sparenberg <[email protected]>\n"
"Language-Team: none\n"
"Language: de\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 3.3\n"

#. module: repair_refurbish
#: model:ir.model.fields,field_description:repair_refurbish.field_repair_order__location_dest_id
#, fuzzy
msgid "Delivery Location"
msgstr "Auslieferungslagerort"

#. module: repair_refurbish
#: model:ir.model,name:repair_refurbish.model_product_product
msgid "Product"
msgstr "Produkt"

#. module: repair_refurbish
#: model:ir.model,name:repair_refurbish.model_stock_move_line
msgid "Product Moves (Stock Move Line)"
msgstr ""

#. module: repair_refurbish
#: model:ir.model,name:repair_refurbish.model_product_template
msgid "Product Template"
msgstr "Produktvorlage"

#. module: repair_refurbish
#: model_terms:ir.ui.view,arch_db:repair_refurbish.product_normal_form_view
#: model_terms:ir.ui.view,arch_db:repair_refurbish.product_template_only_form_view
msgid "Refurbish"
msgstr "Wiederaufbereiten"

#. module: repair_refurbish
#: model:ir.model.fields,field_description:repair_refurbish.field_product_product__property_stock_refurbish
#: model:ir.model.fields,field_description:repair_refurbish.field_product_template__property_stock_refurbish
msgid "Refurbish Location"
msgstr "Lagerort für Wiederaufbereitung"

#. module: repair_refurbish
#: model:ir.model.fields,field_description:repair_refurbish.field_repair_order__refurbish_location_dest_id
msgid "Refurbished Delivery Location"
msgstr "Auslieferungslagerort"

#. module: repair_refurbish
#: model:ir.model.fields,field_description:repair_refurbish.field_repair_order__refurbish_move_id
msgid "Refurbished Inventory Move"
msgstr "Lagerbewegung"

#. module: repair_refurbish
#: model:ir.model.fields,field_description:repair_refurbish.field_repair_order__refurbish_lot_id
msgid "Refurbished Lot"
msgstr "Wiederaufbereitetes Los"

#. module: repair_refurbish
#: model:ir.model.fields,field_description:repair_refurbish.field_product_product__refurbish_product_id
#: model:ir.model.fields,field_description:repair_refurbish.field_product_template__refurbish_product_id
msgid "Refurbished Product"
msgstr "Wiederaufbereitetes Produkt"

#. module: repair_refurbish
#: model:ir.model.fields,field_description:repair_refurbish.field_repair_order__refurbish_product_id
msgid "Refurbished product"
msgstr "Wiederaufbereitetes Produkt"

#. module: repair_refurbish
#: model:ir.model,name:repair_refurbish.model_repair_line
#, fuzzy
msgid "Repair Line (parts)"
msgstr "Instandsetzungslinie"

#. module: repair_refurbish
#: model:ir.model,name:repair_refurbish.model_repair_order
msgid "Repair Order"
msgstr "Reparaturauftrag"

#. module: repair_refurbish
#: model:ir.model,name:repair_refurbish.model_stock_move
msgid "Stock Move"
msgstr ""

#. module: repair_refurbish
#: model:ir.model.fields,help:repair_refurbish.field_product_product__property_stock_refurbish
#: model:ir.model.fields,help:repair_refurbish.field_product_template__property_stock_refurbish
msgid ""
"This stock location will be used, instead of the default one, as the source "
"location for stock moves generated by repair orders when refurbishing takes "
"place."
msgstr ""
"Dieser Lagerort wird anstatt des Standardlagerortes als Quelllager für "
"Lagerbewegungen verwendet, die durch Reparaturaufträge bei der "
"Wiederaufbereitung erzeugt werden."

#. module: repair_refurbish
#: model:ir.model.fields,field_description:repair_refurbish.field_repair_order__to_refurbish
msgid "To Refurbish"
msgstr "Wiederaufbereiten"
85 changes: 85 additions & 0 deletions repair_refurbish/i18n/mrp_repair_refurbish.pot
Original file line number Diff line number Diff line change
@@ -0,0 +1,85 @@
# Translation of Odoo Server.
# This file contains the translation of the following modules:
# * mrp_repair_refurbish
#
msgid ""
msgstr ""
"Project-Id-Version: Odoo Server 11.0\n"
"Report-Msgid-Bugs-To: \n"
"Last-Translator: <>\n"
"Language-Team: \n"
"MIME-Version: 1.0\n"
"Content-Type: text/plain; charset=UTF-8\n"
"Content-Transfer-Encoding: \n"
"Plural-Forms: \n"

#. module: mrp_repair_refurbish
#: model:ir.model,name:mrp_repair_refurbish.model_product_product
msgid "Product"
msgstr ""

#. module: mrp_repair_refurbish
#: model:ir.model,name:mrp_repair_refurbish.model_product_template
msgid "Product Template"
msgstr ""

#. module: mrp_repair_refurbish
#: model:ir.ui.view,arch_db:mrp_repair_refurbish.product_normal_form_view
#: model:ir.ui.view,arch_db:mrp_repair_refurbish.product_template_only_form_view
#: model:stock.location,name:mrp_repair_refurbish.stock_location_refurbish
msgid "Refurbish"
msgstr ""

#. module: mrp_repair_refurbish
#: model:ir.model.fields,field_description:mrp_repair_refurbish.field_product_product_property_stock_refurbish
#: model:ir.model.fields,field_description:mrp_repair_refurbish.field_product_template_property_stock_refurbish
msgid "Refurbish Location"
msgstr ""

#. module: mrp_repair_refurbish
#: model:ir.model.fields,field_description:mrp_repair_refurbish.field_mrp_repair_refurbish_location_dest_id
msgid "Refurbished Delivery Location"
msgstr ""

#. module: mrp_repair_refurbish
#: model:ir.model.fields,field_description:mrp_repair_refurbish.field_mrp_repair_refurbish_move_id
msgid "Refurbished Inventory Move"
msgstr ""

#. module: mrp_repair_refurbish
#: model:ir.model.fields,field_description:mrp_repair_refurbish.field_mrp_repair_refurbish_lot_id
msgid "Refurbished Lot"
msgstr ""

#. module: mrp_repair_refurbish
#: model:ir.model.fields,field_description:mrp_repair_refurbish.field_product_product_refurbish_product_id
#: model:ir.model.fields,field_description:mrp_repair_refurbish.field_product_template_refurbish_product_id
msgid "Refurbished Product"
msgstr ""

#. module: mrp_repair_refurbish
#: model:ir.model.fields,field_description:mrp_repair_refurbish.field_mrp_repair_refurbish_product_id
msgid "Refurbished product"
msgstr ""

#. module: mrp_repair_refurbish
#: model:ir.model,name:mrp_repair_refurbish.model_mrp_repair_line
msgid "Repair Line"
msgstr ""

#. module: mrp_repair_refurbish
#: model:ir.model,name:mrp_repair_refurbish.model_mrp_repair
msgid "Repair Order"
msgstr ""

#. module: mrp_repair_refurbish
#: model:ir.model.fields,help:mrp_repair_refurbish.field_product_product_property_stock_refurbish
#: model:ir.model.fields,help:mrp_repair_refurbish.field_product_template_property_stock_refurbish
msgid "This stock location will be used, instead of the default one, as the source location for stock moves generated by repair orders when refurbishing takes place."
msgstr ""

#. module: mrp_repair_refurbish
#: model:ir.model.fields,field_description:mrp_repair_refurbish.field_mrp_repair_to_refurbish
msgid "To Refurbish"
msgstr ""

Loading
Loading