Skip to content

Commit 9b69358

Browse files
committed
Merge PR #84 into 17.0
Signed-off-by LoisRForgeFlow
2 parents 9b11219 + b90603c commit 9b69358

26 files changed

+1479
-0
lines changed

repair_refurbish/README.rst

Lines changed: 113 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,113 @@
1+
====================
2+
MRP Repair Refurbish
3+
====================
4+
5+
..
6+
!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!
7+
!! This file is generated by oca-gen-addon-readme !!
8+
!! changes will be overwritten. !!
9+
!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!
10+
!! source digest: sha256:0acba43525de1eaa69dd5c1333cd31d16618e3340b639b1f12066b4e7dec4410
11+
!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!
12+
13+
.. |badge1| image:: https://img.shields.io/badge/maturity-Beta-yellow.png
14+
:target: https://odoo-community.org/page/development-status
15+
:alt: Beta
16+
.. |badge2| image:: https://img.shields.io/badge/licence-AGPL--3-blue.png
17+
:target: http://www.gnu.org/licenses/agpl-3.0-standalone.html
18+
:alt: License: AGPL-3
19+
.. |badge3| image:: https://img.shields.io/badge/github-OCA%2Frepair-lightgray.png?logo=github
20+
:target: https://github.com/OCA/repair/tree/17.0/repair_refurbish
21+
:alt: OCA/repair
22+
.. |badge4| image:: https://img.shields.io/badge/weblate-Translate%20me-F47D42.png
23+
:target: https://translation.odoo-community.org/projects/repair-17-0/repair-17-0-repair_refurbish
24+
:alt: Translate me on Weblate
25+
.. |badge5| image:: https://img.shields.io/badge/runboat-Try%20me-875A7B.png
26+
:target: https://runboat.odoo-community.org/builds?repo=OCA/repair&target_branch=17.0
27+
:alt: Try me on Runboat
28+
29+
|badge1| |badge2| |badge3| |badge4| |badge5|
30+
31+
This module adds the ability to obtain refurbished product as a
32+
consequence of the repair of a product that was defective.
33+
34+
**Table of contents**
35+
36+
.. contents::
37+
:local:
38+
39+
Configuration
40+
=============
41+
42+
1. For each product that can potentially be refurbished, define the
43+
refurbished version in the product form.
44+
2. A default 'Refurbished' virtual location is created during module
45+
install, and proposed by default on each product.
46+
47+
Usage
48+
=====
49+
50+
1. Create an MRP repair.
51+
2. Indicate a product to repair, If the product has a proposed
52+
refurbished version, it will be proposed to be used. The destination
53+
location
54+
3. Add operations if needed.
55+
4. Complete the repair.
56+
57+
The initial product will be moved to the 'Scrap' location, and the
58+
refurbished product will be moved from a 'Refurbish' location to the
59+
desired destination location.
60+
61+
The components that were added to the repair order will be moved to the
62+
'Refurbish' location.
63+
64+
Bug Tracker
65+
===========
66+
67+
Bugs are tracked on `GitHub Issues <https://github.com/OCA/repair/issues>`_.
68+
In case of trouble, please check there if your issue has already been reported.
69+
If you spotted it first, help us to smash it by providing a detailed and welcomed
70+
`feedback <https://github.com/OCA/repair/issues/new?body=module:%20repair_refurbish%0Aversion:%2017.0%0A%0A**Steps%20to%20reproduce**%0A-%20...%0A%0A**Current%20behavior**%0A%0A**Expected%20behavior**>`_.
71+
72+
Do not contact contributors directly about support or help with technical issues.
73+
74+
Credits
75+
=======
76+
77+
Authors
78+
-------
79+
80+
* ForgeFlow S.L.
81+
82+
Contributors
83+
------------
84+
85+
- Jordi Ballester Alomar <jordi.ballester@forgeflow.com>
86+
- Lois Rilo <lois.rilo@forgeflow.com>
87+
- Akim Juillerat <akim.juillerat@camptocamp.com>
88+
- Bhavesh Odedra <bodedra@opensourceintegrators.com>
89+
90+
Other credits
91+
-------------
92+
93+
The initial development of this module has been financially supported
94+
by:
95+
96+
- Aleph Objects, Inc.
97+
98+
Maintainers
99+
-----------
100+
101+
This module is maintained by the OCA.
102+
103+
.. image:: https://odoo-community.org/logo.png
104+
:alt: Odoo Community Association
105+
:target: https://odoo-community.org
106+
107+
OCA, or the Odoo Community Association, is a nonprofit organization whose
108+
mission is to support the collaborative development of Odoo features and
109+
promote its widespread use.
110+
111+
This module is part of the `OCA/repair <https://github.com/OCA/repair/tree/17.0/repair_refurbish>`_ project on GitHub.
112+
113+
You are welcome to contribute. To learn how please visit https://odoo-community.org/page/Contribute.

repair_refurbish/__init__.py

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1 @@
1+
from . import models

repair_refurbish/__manifest__.py

Lines changed: 19 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,19 @@
1+
# Copyright 2020 ForgeFlow S.L.
2+
# License AGPL-3.0 or later (https://www.gnu.org/licenses/agpl.html).
3+
{
4+
"name": "MRP Repair Refurbish",
5+
"summary": "Create refurbished products during repair",
6+
"version": "17.0.1.0.0",
7+
"category": "Manufacturing",
8+
"website": "https://github.com/OCA/repair",
9+
"author": "ForgeFlow S.L., Odoo Community Association (OCA)",
10+
"license": "AGPL-3",
11+
"installable": True,
12+
"depends": ["repair"],
13+
"data": [
14+
"views/repair_view.xml",
15+
"data/stock_data.xml",
16+
"views/product_template_view.xml",
17+
"views/product_product_view.xml",
18+
],
19+
}

repair_refurbish/data/stock_data.xml

Lines changed: 24 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,24 @@
1+
<?xml version="1.0" encoding="utf-8" ?>
2+
<odoo>
3+
<data>
4+
<record id="stock_location_refurbish" model="stock.location">
5+
<field name="name">Refurbish</field>
6+
<field name="location_id" ref="stock.stock_location_locations_virtual" />
7+
<field name="usage">production</field>
8+
<field name="company_id" />
9+
</record>
10+
</data>
11+
<data noupdate="1">
12+
<record forcecreate="True" id="property_stock_refurbish" model="ir.property">
13+
<field name="name">property_stock_refurbish</field>
14+
<field
15+
name="fields_id"
16+
search="[('model','=','product.template'),('name','=','property_stock_refurbish')]"
17+
/>
18+
<field
19+
eval="'stock.location,'+str(stock_location_refurbish)"
20+
name="value"
21+
/>
22+
</record>
23+
</data>
24+
</odoo>

repair_refurbish/i18n/de.po

Lines changed: 112 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,112 @@
1+
# Translation of Odoo Server.
2+
# This file contains the translation of the following modules:
3+
# * mrp_repair_refurbish
4+
#
5+
msgid ""
6+
msgstr ""
7+
"Project-Id-Version: Odoo Server 11.0\n"
8+
"Report-Msgid-Bugs-To: \n"
9+
"PO-Revision-Date: 2018-12-09 10:43+0000\n"
10+
"Last-Translator: Maria Sparenberg <maria.sparenberg@gmx.net>\n"
11+
"Language-Team: none\n"
12+
"Language: de\n"
13+
"MIME-Version: 1.0\n"
14+
"Content-Type: text/plain; charset=UTF-8\n"
15+
"Content-Transfer-Encoding: \n"
16+
"Plural-Forms: nplurals=2; plural=n != 1;\n"
17+
"X-Generator: Weblate 3.3\n"
18+
19+
#. module: repair_refurbish
20+
#: model:ir.model.fields,field_description:repair_refurbish.field_repair_order__location_dest_id
21+
#, fuzzy
22+
msgid "Delivery Location"
23+
msgstr "Auslieferungslagerort"
24+
25+
#. module: repair_refurbish
26+
#: model:ir.model,name:repair_refurbish.model_product_template
27+
msgid "Product"
28+
msgstr "Produkt"
29+
30+
#. module: repair_refurbish
31+
#: model:ir.model,name:repair_refurbish.model_stock_move_line
32+
msgid "Product Moves (Stock Move Line)"
33+
msgstr ""
34+
35+
#. module: repair_refurbish
36+
#: model:ir.model,name:repair_refurbish.model_product_product
37+
msgid "Product Variant"
38+
msgstr ""
39+
40+
#. module: repair_refurbish
41+
#: model_terms:ir.ui.view,arch_db:repair_refurbish.product_normal_form_view
42+
#: model_terms:ir.ui.view,arch_db:repair_refurbish.product_template_only_form_view
43+
msgid "Refurbish"
44+
msgstr "Wiederaufbereiten"
45+
46+
#. module: repair_refurbish
47+
#: model:ir.model.fields,field_description:repair_refurbish.field_product_product__property_stock_refurbish
48+
#: model:ir.model.fields,field_description:repair_refurbish.field_product_template__property_stock_refurbish
49+
msgid "Refurbish Location"
50+
msgstr "Lagerort für Wiederaufbereitung"
51+
52+
#. module: repair_refurbish
53+
#: model:ir.model.fields,field_description:repair_refurbish.field_repair_order__refurbish_location_dest_id
54+
msgid "Refurbished Delivery Location"
55+
msgstr "Auslieferungslagerort"
56+
57+
#. module: repair_refurbish
58+
#: model:ir.model.fields,field_description:repair_refurbish.field_repair_order__refurbish_move_id
59+
msgid "Refurbished Inventory Move"
60+
msgstr "Lagerbewegung"
61+
62+
#. module: repair_refurbish
63+
#: model:ir.model.fields,field_description:repair_refurbish.field_repair_order__refurbish_lot_id
64+
msgid "Refurbished Lot"
65+
msgstr "Wiederaufbereitetes Los"
66+
67+
#. module: repair_refurbish
68+
#: model:ir.model.fields,field_description:repair_refurbish.field_product_product__refurbish_product_id
69+
#: model:ir.model.fields,field_description:repair_refurbish.field_product_template__refurbish_product_id
70+
msgid "Refurbished Product"
71+
msgstr "Wiederaufbereitetes Produkt"
72+
73+
#. module: repair_refurbish
74+
#: model:ir.model.fields,field_description:repair_refurbish.field_repair_order__refurbish_product_id
75+
msgid "Refurbished product"
76+
msgstr "Wiederaufbereitetes Produkt"
77+
78+
#. module: repair_refurbish
79+
#: model:ir.model,name:repair_refurbish.model_repair_line
80+
#, fuzzy
81+
msgid "Repair Line (parts)"
82+
msgstr "Instandsetzungslinie"
83+
84+
#. module: repair_refurbish
85+
#: model:ir.model,name:repair_refurbish.model_repair_order
86+
msgid "Repair Order"
87+
msgstr "Reparaturauftrag"
88+
89+
#. module: repair_refurbish
90+
#: model:ir.model,name:repair_refurbish.model_stock_move
91+
msgid "Stock Move"
92+
msgstr ""
93+
94+
#. module: repair_refurbish
95+
#: model:ir.model.fields,help:repair_refurbish.field_product_product__property_stock_refurbish
96+
#: model:ir.model.fields,help:repair_refurbish.field_product_template__property_stock_refurbish
97+
msgid ""
98+
"This stock location will be used, instead of the default one, as the source "
99+
"location for stock moves generated by repair orders when refurbishing takes "
100+
"place."
101+
msgstr ""
102+
"Dieser Lagerort wird anstatt des Standardlagerortes als Quelllager für "
103+
"Lagerbewegungen verwendet, die durch Reparaturaufträge bei der "
104+
"Wiederaufbereitung erzeugt werden."
105+
106+
#. module: repair_refurbish
107+
#: model:ir.model.fields,field_description:repair_refurbish.field_repair_order__to_refurbish
108+
msgid "To Refurbish"
109+
msgstr "Wiederaufbereiten"
110+
111+
#~ msgid "Product Template"
112+
#~ msgstr "Produktvorlage"

repair_refurbish/i18n/it.po

Lines changed: 107 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,107 @@
1+
# Translation of Odoo Server.
2+
# This file contains the translation of the following modules:
3+
# * repair_refurbish
4+
#
5+
msgid ""
6+
msgstr ""
7+
"Project-Id-Version: Odoo Server 16.0\n"
8+
"Report-Msgid-Bugs-To: \n"
9+
"PO-Revision-Date: 2024-04-03 12:35+0000\n"
10+
"Last-Translator: mymage <stefano.consolaro@mymage.it>\n"
11+
"Language-Team: none\n"
12+
"Language: it\n"
13+
"MIME-Version: 1.0\n"
14+
"Content-Type: text/plain; charset=UTF-8\n"
15+
"Content-Transfer-Encoding: \n"
16+
"Plural-Forms: nplurals=2; plural=n != 1;\n"
17+
"X-Generator: Weblate 4.17\n"
18+
19+
#. module: repair_refurbish
20+
#: model:ir.model.fields,field_description:repair_refurbish.field_repair_order__location_dest_id
21+
msgid "Delivery Location"
22+
msgstr "Ubicazione consegna"
23+
24+
#. module: repair_refurbish
25+
#: model:ir.model,name:repair_refurbish.model_product_template
26+
msgid "Product"
27+
msgstr "Prodotto"
28+
29+
#. module: repair_refurbish
30+
#: model:ir.model,name:repair_refurbish.model_stock_move_line
31+
msgid "Product Moves (Stock Move Line)"
32+
msgstr "Movimenti prodotto (riga movimento di magazzino)"
33+
34+
#. module: repair_refurbish
35+
#: model:ir.model,name:repair_refurbish.model_product_product
36+
msgid "Product Variant"
37+
msgstr "Variante prodotto"
38+
39+
#. module: repair_refurbish
40+
#: model_terms:ir.ui.view,arch_db:repair_refurbish.product_normal_form_view
41+
#: model_terms:ir.ui.view,arch_db:repair_refurbish.product_template_only_form_view
42+
msgid "Refurbish"
43+
msgstr "Ricondizionato"
44+
45+
#. module: repair_refurbish
46+
#: model:ir.model.fields,field_description:repair_refurbish.field_product_product__property_stock_refurbish
47+
#: model:ir.model.fields,field_description:repair_refurbish.field_product_template__property_stock_refurbish
48+
msgid "Refurbish Location"
49+
msgstr "Ubicazione ricondizionato"
50+
51+
#. module: repair_refurbish
52+
#: model:ir.model.fields,field_description:repair_refurbish.field_repair_order__refurbish_location_dest_id
53+
msgid "Refurbished Delivery Location"
54+
msgstr "Ubicazione consegna ricondizionato"
55+
56+
#. module: repair_refurbish
57+
#: model:ir.model.fields,field_description:repair_refurbish.field_repair_order__refurbish_move_id
58+
msgid "Refurbished Inventory Move"
59+
msgstr "Movimento di magazzino del ricondizionato"
60+
61+
#. module: repair_refurbish
62+
#: model:ir.model.fields,field_description:repair_refurbish.field_repair_order__refurbish_lot_id
63+
msgid "Refurbished Lot"
64+
msgstr "Lotto ricondizionato"
65+
66+
#. module: repair_refurbish
67+
#: model:ir.model.fields,field_description:repair_refurbish.field_product_product__refurbish_product_id
68+
#: model:ir.model.fields,field_description:repair_refurbish.field_product_template__refurbish_product_id
69+
msgid "Refurbished Product"
70+
msgstr "Prodotto ricondizionato"
71+
72+
#. module: repair_refurbish
73+
#: model:ir.model.fields,field_description:repair_refurbish.field_repair_order__refurbish_product_id
74+
msgid "Refurbished product"
75+
msgstr "Prodotto ricondizionato"
76+
77+
#. module: repair_refurbish
78+
#: model:ir.model,name:repair_refurbish.model_repair_line
79+
msgid "Repair Line (parts)"
80+
msgstr "Riga riparazione (componenti)"
81+
82+
#. module: repair_refurbish
83+
#: model:ir.model,name:repair_refurbish.model_repair_order
84+
msgid "Repair Order"
85+
msgstr "Ordine di riparazione"
86+
87+
#. module: repair_refurbish
88+
#: model:ir.model,name:repair_refurbish.model_stock_move
89+
msgid "Stock Move"
90+
msgstr "Movimento di magazzino"
91+
92+
#. module: repair_refurbish
93+
#: model:ir.model.fields,help:repair_refurbish.field_product_product__property_stock_refurbish
94+
#: model:ir.model.fields,help:repair_refurbish.field_product_template__property_stock_refurbish
95+
msgid ""
96+
"This stock location will be used, instead of the default one, as the source "
97+
"location for stock moves generated by repair orders when refurbishing takes "
98+
"place."
99+
msgstr ""
100+
"Questa ubicazione di magazzino verrà utilizzata, al posto della predefinita, "
101+
"come ubicazione origine per i movimenti di magazzino generati da ordini di "
102+
"riparazione con rigenerati."
103+
104+
#. module: repair_refurbish
105+
#: model:ir.model.fields,field_description:repair_refurbish.field_repair_order__to_refurbish
106+
msgid "To Refurbish"
107+
msgstr "Da ricondizionare"

0 commit comments

Comments
 (0)