[MIG] sale_exception_portal: bump version and fix test exception

This commit is contained in:
Cedric Collins
2022-01-16 23:35:16 -06:00
parent 1c8d02e628
commit 0de8e097ee
2 changed files with 2 additions and 2 deletions

View File

@@ -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')