Skip to content

Commit

Permalink
[MIG] rma_repair_refurbish: Migration to 17.0
Browse files Browse the repository at this point in the history
  • Loading branch information
JasminSForgeFlow committed Feb 3, 2025
1 parent 29e25fc commit 5b87dec
Show file tree
Hide file tree
Showing 3 changed files with 7 additions and 18 deletions.
19 changes: 4 additions & 15 deletions rma_repair_refurbish/README.rst
Original file line number Diff line number Diff line change
@@ -1,11 +1,11 @@
.. image:: https://img.shields.io/badge/licence-AGPL--3-blue.svg
:alt: License AGPL-3

==========
RMA Repair
==========
====================
RMA Repair Refurbish
====================

This module allows you to create repairs from one or more RMA lines.
Links RMA with Repairs and Refurbish.

Installation
============
Expand All @@ -16,13 +16,6 @@ This module depends on ``repair_refurbish`` which is available at
Usage
=====

To create repairs from RMA lines:

#. Go to an approved RMA.
#. Click on *Create Repair Order*.
#. Fill the required information in the lines.
#. Hit *Create Repair Orders*.

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

Expand All @@ -37,11 +30,7 @@ Credits
Contributors
------------

* Jordi Ballester Alomar <jordi.ballester@forgeflow.com>
* Aaron Henriquez <ahenriquez@forgeflow.com>
* Lois Rilo <lois.rilo@forgeflow.com>
* Akim Juillerat <akim.juillerat@camptocamp.com>
* Bhavesh Odedra <bodedra@opensourceintegrators.com>

Maintainer
----------
Expand Down
2 changes: 1 addition & 1 deletion rma_repair_refurbish/__manifest__.py
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@
# License AGPL-3.0 or later (https://www.gnu.org/licenses/agpl.html).
{
"name": "RMA Repair Refurbish",
"version": "15.0.1.0.0",
"version": "17.0.1.0.0",
"license": "AGPL-3",
"category": "RMA",
"summary": "Links RMA with Repairs and Refurbish.",
Expand Down
4 changes: 2 additions & 2 deletions rma_repair_refurbish/wizards/rma_order_line_make_repair.py
Original file line number Diff line number Diff line change
Expand Up @@ -9,7 +9,7 @@ class RmaLineMakeRepair(models.TransientModel):

@api.model
def _prepare_item(self, line):
res = super(RmaLineMakeRepair, self)._prepare_item(line)
res = super()._prepare_item(line)
if line.product_id.refurbish_product_id:
to_refurbish = True
refurbish_product_id = line.product_id.refurbish_product_id.id
Expand Down Expand Up @@ -43,7 +43,7 @@ def _onchange_to_refurbish(self):
)

def _prepare_repair_order(self, rma_line):
res = super(RmaLineMakeRepairItem, self)._prepare_repair_order(rma_line)
res = super()._prepare_repair_order(rma_line)
location_dest = (
self.location_dest_id
if not self.to_refurbish
Expand Down

0 comments on commit 5b87dec

Please sign in to comment.