Skip to content

Commit

Permalink
[IMP] edi_oca: Don't run quick_exec if backend is not active
Browse files Browse the repository at this point in the history
  • Loading branch information
HviorForgeFlow committed Jun 18, 2024
1 parent 9e9f5a4 commit 6abea97
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion edi_oca/models/edi_exchange_record.py
Original file line number Diff line number Diff line change
Expand Up @@ -265,7 +265,7 @@ def _get_identifier(self):
def _quick_exec_enabled(self):
if self.env.context.get("edi__skip_quick_exec"):
return False
return self.type_id.quick_exec
return self.type_id.quick_exec and self.backend_id.active

def _execute_next_action(self):
# The backend already knows how to handle records
Expand Down

0 comments on commit 6abea97

Please sign in to comment.