From bc299dfbe502795d93743f37deacf812eaec107c Mon Sep 17 00:00:00 2001 From: David Date: Wed, 6 Sep 2023 13:37:05 +0200 Subject: [PATCH] [FIX] rma: _get_sequence_values signature Respect the orignal method signature https://github.com/odoo/odoo/blame/6bb68d9f3263c2154eb87ec22559d142e880c084/addons/stock/models/stock_warehouse.py#L1017 --- rma/README.rst | 2 +- rma/__manifest__.py | 2 +- rma/models/stock_warehouse.py | 4 ++-- rma/static/description/index.html | 2 +- 4 files changed, 5 insertions(+), 5 deletions(-) diff --git a/rma/README.rst b/rma/README.rst index a229daba..2e928f8e 100644 --- a/rma/README.rst +++ b/rma/README.rst @@ -7,7 +7,7 @@ Return Merchandise Authorization Management !! This file is generated by oca-gen-addon-readme !! !! changes will be overwritten. !! !!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!! - !! source digest: sha256:4b518f08c3f67013102d103bf4cfa29044b508456a38a8405d92ae01faa8d88e + !! source digest: sha256:d52a3b34c6923f1a427f0fedf32b0c140b2dc555636444355e1bdc4e51f59d95 !!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!! .. |badge1| image:: https://img.shields.io/badge/maturity-Production%2FStable-green.png diff --git a/rma/__manifest__.py b/rma/__manifest__.py index 9b3d4a1d..5a8bdedf 100644 --- a/rma/__manifest__.py +++ b/rma/__manifest__.py @@ -5,7 +5,7 @@ { "name": "Return Merchandise Authorization Management", "summary": "Return Merchandise Authorization (RMA)", - "version": "16.0.1.0.0", + "version": "16.0.1.0.1", "development_status": "Production/Stable", "category": "RMA", "website": "https://github.com/OCA/rma", diff --git a/rma/models/stock_warehouse.py b/rma/models/stock_warehouse.py index 1398faec..f3759274 100644 --- a/rma/models/stock_warehouse.py +++ b/rma/models/stock_warehouse.py @@ -56,8 +56,8 @@ class StockWarehouse(models.Model): "location_id": self.env.ref("rma.stock_location_rma").id, } - def _get_sequence_values(self): - values = super()._get_sequence_values() + def _get_sequence_values(self, name=False, code=False): + values = super()._get_sequence_values(name=name, code=code) values.update( { "rma_in_type_id": { diff --git a/rma/static/description/index.html b/rma/static/description/index.html index 1d2e9679..38915bf9 100644 --- a/rma/static/description/index.html +++ b/rma/static/description/index.html @@ -367,7 +367,7 @@ ul.auto-toc { !! This file is generated by oca-gen-addon-readme !! !! changes will be overwritten. !! !!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!! -!! source digest: sha256:4b518f08c3f67013102d103bf4cfa29044b508456a38a8405d92ae01faa8d88e +!! source digest: sha256:d52a3b34c6923f1a427f0fedf32b0c140b2dc555636444355e1bdc4e51f59d95 !!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!! -->

Production/Stable License: AGPL-3 OCA/rma Translate me on Weblate Try me on Runboat

This module allows you to manage Return Merchandise Authorization (RMA).