mirror of
https://gitlab.com/hibou-io/hibou-odoo/suite.git
synced 2025-01-20 12:37:31 +02:00
[FIX] connector_opencart: error text output
This commit is contained in:
@@ -451,7 +451,7 @@ class SaleImportRule(Component):
|
|||||||
|
|
||||||
def _rule_check_status(self, record, method):
|
def _rule_check_status(self, record, method):
|
||||||
if record['order_status'] in self._status_import_later:
|
if record['order_status'] in self._status_import_later:
|
||||||
raise RetryableJobError('Order %s is in %s and will be re-tried later.')
|
raise RetryableJobError('Order %s is in %s and will be re-tried later.' % (order_id, order_status))
|
||||||
return True
|
return True
|
||||||
|
|
||||||
def _rule_never(self, record, method):
|
def _rule_never(self, record, method):
|
||||||
|
|||||||
Reference in New Issue
Block a user