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

RFC fleshing out attachment_synchronize exports #2619

Open
kevinkhao opened this issue Apr 28, 2023 · 0 comments
Open

RFC fleshing out attachment_synchronize exports #2619

kevinkhao opened this issue Apr 28, 2023 · 0 comments

Comments

@kevinkhao
Copy link
Contributor

case: we need to import some files on an FTP server, run them through some process. Same for exporting some models from Odoo to the FTP server in a certain format

Basically, some kind of EDI-lite.

Currently, attachment_synchronize is adapted for our use case in import but there is limited exporting functionality.

Here is a module that we are about to use.

akretion/ak-odoo-incubator#268

Two things it helps organize:

  • Exporting: we use mixins on our model, implement these methods and just call synchronize_export to have the formatted file generated and put on the backend
  • Flag a model for exporting when some fields are modified on it

Functionality is currently a bit all over the place and not clearly delineated. Maybe someone has some ideas about how to better generalize or organize the code, functionality and module split.

Related issues and PRs:
akretion/ak-odoo-incubator#268
#2562
#2508

@florian-dacosta @bealdav

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

No branches or pull requests

1 participant