AnyBlok / anyblok-edi-management

Manage Tasks related to EDI exchagnes
Mozilla Public License 2.0
0 stars 0 forks source link

Mixin pour faciliter l'export des données `Mixins.ExportRecords` #7

Open petrus-v opened 4 years ago

petrus-v commented 4 years ago

l'idée est de fournir un outils plus légé que dans la proposition #6 pour faciliter l'export de données pour un modèle donné

Création de la mixin Mixins.ExportRecords qui apport:

GohuHQ commented 3 years ago

I talked a bit with jssuzanne and he told me to look at your work. I have a project to do which the purpose is to query the db, export data in a specific format (csv) and finally send this file on a ftp server. I think that this could work for me, coupled with the anyblok-background-tasks repository.

For my specific case, the export won't be on one model only but it will be something custom because i have to generate a CSV file for SageX3. But it shouldn't be a problem.

Did you started something already ?

petrus-v commented 3 years ago

No I haven't start anything on this topic only this PR https://github.com/AnyBlok/anyblok-background-tasks/pull/10

If you plan to use anyblok-background-tasks there is still some works to achieve cf https://github.com/AnyBlok/anyblok-background-tasks/milestone/1

I'm not sure to understand your use case and if this mixins would be benefit in your case do you needs to track exported record with a last_exported_date field ?