Merge branch '15.0' into 15.0-test

This commit is contained in:
Jared Kipe
2022-12-16 01:35:51 +00:00

View File

@@ -451,6 +451,7 @@ class SaleImportRule(Component):
def _rule_check_status(self, record, method):
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))
return True