From d258a2b5e807fd706b765133f03df105d456d02c Mon Sep 17 00:00:00 2001 From: Lois Suarez Date: Wed, 11 Aug 2021 09:47:44 +0100 Subject: [PATCH] [MIG] product_warranty: Migration to 14.0 --- product_warranty/__manifest__.py | 2 +- product_warranty/tests/test_product_warranty.py | 8 ++++---- 2 files changed, 5 insertions(+), 5 deletions(-) diff --git a/product_warranty/__manifest__.py b/product_warranty/__manifest__.py index ef9b053a..8eab86cb 100644 --- a/product_warranty/__manifest__.py +++ b/product_warranty/__manifest__.py @@ -3,7 +3,7 @@ { "name": "Product Warranty", - "version": "13.0.1.0.0", + "version": "14.0.1.0.0", "category": "Generic Modules/Product", "author": "Akretion, Vauxoo, Odoo Community Association (OCA)", "website": "https://github.com/OCA/rma", diff --git a/product_warranty/tests/test_product_warranty.py b/product_warranty/tests/test_product_warranty.py index 11ee1f0f..cb1c265e 100644 --- a/product_warranty/tests/test_product_warranty.py +++ b/product_warranty/tests/test_product_warranty.py @@ -46,7 +46,7 @@ class TestProductWarranty(TransactionCase): "product_warranty." "return_instruction_1" ) - self.assertEquals( + self.assertEqual( self.supplierinfo_brw.return_instructions.id, return_instructions_id.id ) @@ -57,21 +57,21 @@ class TestProductWarranty(TransactionCase): """ self.create_product_supplierinfo() - self.assertEquals( + self.assertEqual( self.supplierinfo_brw.warranty_return_address.id, self.supplierinfo_brw.name.id, ) self.supplierinfo_brw.write({"warranty_return_partner": "company"}) - self.assertEquals( + self.assertEqual( self.supplierinfo_brw.warranty_return_address.id, self.supplierinfo_brw.company_id.crm_return_address_id.id, ) self.supplierinfo_brw.write({"warranty_return_partner": "other"}) - self.assertEquals( + self.assertEqual( self.supplierinfo_brw.warranty_return_address.id, self.supplierinfo_brw.warranty_return_other_address.id, )