Skip to content

[18.0][IMP] edi_core_oca: Auto cancel exchange records that cannot be sent#301

Open
grindtildeath wants to merge 1 commit into
OCA:18.0from
camptocamp:18.0-imp-edi_core_oca_auto_cancel
Open

[18.0][IMP] edi_core_oca: Auto cancel exchange records that cannot be sent#301
grindtildeath wants to merge 1 commit into
OCA:18.0from
camptocamp:18.0-imp-edi_core_oca_auto_cancel

Conversation

@grindtildeath

Copy link
Copy Markdown
Contributor

This allows to set outgoing exchange records as canceled in case they cannot be sent by customizing edi.backend._output_check_send.

This allows to set outgoing exchange records as canceled in case
they cannot be sent by customizing edi.backend._output_check_send.
@OCA-git-bot

Copy link
Copy Markdown
Contributor

Hi @simahawk, @etobella,
some modules you are maintaining are being modified, check this out!

@simahawk simahawk left a comment

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

what is your final goal / use case?

check = self._output_check_send(exchange_record)
if not check:
return self._failed_output_check_send_msg()
message = self._failed_output_check_send_msg(exchange_record=exchange_record)

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

This would work only for exchanges implementing check handlers.
Is that what you want?

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants