Skip to content

[18.0][IMP] edi_oca: add edi.configuration#6

Open
thienvh332 wants to merge 364 commits into18.0from
18.0-mig-edi_oca
Open

[18.0][IMP] edi_oca: add edi.configuration#6
thienvh332 wants to merge 364 commits into18.0from
18.0-mig-edi_oca

Conversation

@thienvh332
Copy link
Owner

Based on:

  • https://github.com/OCA/edi-framework/pull/115

OCA-git-bot and others added 30 commits October 24, 2024 10:49
Currently translated at 56.5% (78 of 138 strings)

Translation: edi-14.0/edi-14.0-edi_oca
Translate-URL: https://translation.odoo-community.org/projects/edi-14-0/edi-14-0-edi_oca/fr/
Updated by "Update PO files to match POT (msgmerge)" hook in Weblate.

Translation: edi-14.0/edi-14.0-edi_oca
Translate-URL: https://translation.odoo-community.org/projects/edi-14-0/edi-14-0-edi_oca/
use `_notify_*` methods when processing a exchange record. This
will allow the use of listeners based on this events.
This action allows to re-schedule the record for the action that failed
depending on its current state and direction.
Updated by "Update PO files to match POT (msgmerge)" hook in Weblate.

Translation: edi-14.0/edi-14.0-edi_oca
Translate-URL: https://translation.odoo-community.org/projects/edi-14-0/edi-14-0-edi_oca/
simahawk and others added 25 commits October 24, 2024 10:52
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.
this field can be used in backend views to show/hide configuration elements depending on the backend type
Currently when we receive an empty file:

- Receive step doesn't end up in state error_on_receive : that's because we just ignore the content here
- But the process step will raise an error
- So this commit goal tries to improve that
- By default, this option is disabled so we still consider that an empty file is an error case
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.