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][PORT] edi_oca + edi_exchange_template_oca: fwd port changes from edi/14.0 #63

Merged
merged 41 commits into from
Jan 31, 2024

Conversation

@QuocDuong1306 QuocDuong1306 marked this pull request as draft January 23, 2024 04:08
@OCA-git-bot
Copy link
Contributor

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

@simahawk
Copy link
Contributor

@QuocDuong1306 can you rebase?

petrus-v and others added 23 commits January 31, 2024 17:30
Avoid warning because of duplicated Model field name while installing this module
This reverts commit a5da7ac9a3ca1bdc82f8f8ed2e8afc23592fb286.
Archived rules were not visible on the exc type form.
You can now toggle archived/unarchived directly from exc type form
Send jobs might fail due to an external service being not responsive.
If the job is simply failed, a new one will be spawned and might encour in the same error again,
possibly leading to an high number of duplicated jobs for the same record.

Yet, when a RetryableJobError is raised, the job will be set back into pending state
and will be nicely retried based on jobs configuration.
When actions are automated, is nice to see that data has been generated for an exchange on the related record.
The recommended way to execute actions on records
is to call `action_exchange_*` on
Instead of waiting for the cron to pass again and send the file
chain the 2 jobs so that it gets sent right after generation.
* catch OSError
* add debug log
Prevents having duplicated jobs for the same record as far as possible.
Try to send out the file as fast as possible once the content is ready.
The origin record should never been copied.
Its values should always be set specifically by a framework action.
@QuocDuong1306
Copy link
Author

Hello @simahawk , I updated

Copy link
Contributor

@simahawk simahawk left a comment

Choose a reason for hiding this comment

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

LG

@simahawk simahawk changed the title [16.0][PORT] edi_exchange_template_oca: Port edi_exchange_template_oca from edi/14.0 [16.0][PORT] edi_oca + edi_exchange_template_oca: fwd port changes from edi/14.0 Jan 31, 2024
@simahawk
Copy link
Contributor

/ocabot merge minor

@OCA-git-bot
Copy link
Contributor

What a great day to merge this nice PR. Let's do it!
Prepared branch 16.0-ocabot-merge-pr-63-by-simahawk-bump-minor, awaiting test results.

@OCA-git-bot OCA-git-bot merged commit 878219d into OCA:16.0 Jan 31, 2024
6 of 7 checks passed
@OCA-git-bot
Copy link
Contributor

Congratulations, your PR was merged at 8e4655b. Thanks a lot for contributing to OCA. ❤️

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

Successfully merging this pull request may close these issues.

6 participants