From 96d0cb61da4f09145dc6348d98419aeef23883fc Mon Sep 17 00:00:00 2001 From: JasminSForgeFlow Date: Fri, 29 Nov 2024 14:22:36 +0530 Subject: [PATCH] [MIG] rma_scrap: Migration to 18.0 --- rma_scrap/__manifest__.py | 2 +- rma_scrap/tests/test_rma_scrap.py | 6 +++--- rma_scrap/views/rma_operation_view.xml | 2 +- rma_scrap/views/rma_order_view.xml | 2 +- rma_scrap/wizards/rma_scrap_view.xml | 4 ++-- 5 files changed, 8 insertions(+), 8 deletions(-) diff --git a/rma_scrap/__manifest__.py b/rma_scrap/__manifest__.py index 16984e5a..860b3561 100644 --- a/rma_scrap/__manifest__.py +++ b/rma_scrap/__manifest__.py @@ -1,6 +1,6 @@ { "name": "RMA Scrap", - "version": "17.0.1.0.0", + "version": "18.0.1.0.0", "license": "LGPL-3", "category": "RMA", "summary": "Allows to scrap the received/ordered products in odoo", diff --git a/rma_scrap/tests/test_rma_scrap.py b/rma_scrap/tests/test_rma_scrap.py index e7f3656e..a363cc63 100644 --- a/rma_scrap/tests/test_rma_scrap.py +++ b/rma_scrap/tests/test_rma_scrap.py @@ -23,12 +23,12 @@ class TestRmaScrap(common.SingleTransactionCase): # Create products cls.product_1 = cls.product_obj.create( - {"name": "Test Product 1", "type": "product", "list_price": 100.0} + {"name": "Test Product 1", "is_storable": True, "list_price": 100.0} ) cls.product_2 = cls.product_obj.create( { "name": "Test Product 2", - "type": "product", + "is_storable": True, "list_price": 150.0, "tracking": "lot", } @@ -36,7 +36,7 @@ class TestRmaScrap(common.SingleTransactionCase): cls.product_3 = cls.product_obj.create( { "name": "Test Product 3", - "type": "product", + "is_storable": True, "list_price": 150.0, "tracking": "serial", } diff --git a/rma_scrap/views/rma_operation_view.xml b/rma_scrap/views/rma_operation_view.xml index c7a18ac4..e90a14ce 100644 --- a/rma_scrap/views/rma_operation_view.xml +++ b/rma_scrap/views/rma_operation_view.xml @@ -2,7 +2,7 @@ - rma.operation.tree + rma.operation.list rma.operation diff --git a/rma_scrap/views/rma_order_view.xml b/rma_scrap/views/rma_order_view.xml index b1134826..e1440936 100644 --- a/rma_scrap/views/rma_order_view.xml +++ b/rma_scrap/views/rma_order_view.xml @@ -17,7 +17,7 @@ - + diff --git a/rma_scrap/wizards/rma_scrap_view.xml b/rma_scrap/wizards/rma_scrap_view.xml index 9f5537d3..ecb29724 100644 --- a/rma_scrap/wizards/rma_scrap_view.xml +++ b/rma_scrap/wizards/rma_scrap_view.xml @@ -7,7 +7,7 @@
- + @@ -17,7 +17,7 @@ - +