[FIX] connector_opencart: missing variable

This commit is contained in:
Jared Kipe
2022-12-16 01:34:25 +00:00
parent 43e266d779
commit 110550f68b

View File

@@ -451,6 +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:
order_id = record['order_id']
raise RetryableJobError('Order %s is in %s and will be re-tried later.' % (order_id, order_status)) raise RetryableJobError('Order %s is in %s and will be re-tried later.' % (order_id, order_status))
return True return True