mirror of
https://gitlab.com/hibou-io/hibou-odoo/suite.git
synced 2025-01-20 12:37:31 +02:00
[MIG] sale_exception_portal: bump version and fix test exception
This commit is contained in:
@@ -1,7 +1,7 @@
|
|||||||
{
|
{
|
||||||
'name': 'Sale Exception Portal',
|
'name': 'Sale Exception Portal',
|
||||||
'summary': 'Display sale exceptions on customer portal',
|
'summary': 'Display sale exceptions on customer portal',
|
||||||
'version': '14.0.1.0.0',
|
'version': '15.0.1.0.0',
|
||||||
'author': "Hibou Corp.",
|
'author': "Hibou Corp.",
|
||||||
'category': 'Sale',
|
'category': 'Sale',
|
||||||
'license': 'AGPL-3',
|
'license': 'AGPL-3',
|
||||||
|
|||||||
@@ -13,7 +13,7 @@ class TestCheckSOExceptions(TransactionCase):
|
|||||||
'active': True,
|
'active': True,
|
||||||
'model': 'sale.order',
|
'model': 'sale.order',
|
||||||
'exception_type': 'by_py_code',
|
'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')
|
self.sale_product = self.browse_ref('product.product_product_5')
|
||||||
|
|||||||
Reference in New Issue
Block a user