diff --git a/sale_exception_portal/__manifest__.py b/sale_exception_portal/__manifest__.py index 9002214e..b41d9142 100644 --- a/sale_exception_portal/__manifest__.py +++ b/sale_exception_portal/__manifest__.py @@ -1,7 +1,7 @@ { 'name': 'Sale Exception Portal', 'summary': 'Display sale exceptions on customer portal', - 'version': '14.0.1.0.0', + 'version': '15.0.1.0.0', 'author': "Hibou Corp.", 'category': 'Sale', 'license': 'AGPL-3', diff --git a/sale_exception_portal/tests/test_check_so_exceptions.py b/sale_exception_portal/tests/test_check_so_exceptions.py index daf7d1af..7c0c3bae 100644 --- a/sale_exception_portal/tests/test_check_so_exceptions.py +++ b/sale_exception_portal/tests/test_check_so_exceptions.py @@ -13,7 +13,7 @@ class TestCheckSOExceptions(TransactionCase): 'active': True, 'model': 'sale.order', 'exception_type': 'by_py_code', - 'code': 'failed = sale.partner_id and sale.partner_id.id == %d' % self.azure_customer.id + 'code': 'failed = object.partner_id and object.partner_id.id == %d' % self.azure_customer.id }) self.sale_product = self.browse_ref('product.product_product_5')