Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

[16.0][IMP] edi_oca: Don't run quick_exec if backend is not active #90

Merged
merged 1 commit into from
Jul 17, 2024
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
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
Loading