Zum Inhalt springen
Menü
Sie müssen registriert sein, um mit der Community zu interagieren.
Diese Frage wurde gekennzeichnet
3098 Ansichten

i'm building an odoo model and trying to make it get values from models and insert them in a text file, I'm using ubuntu 18 and docker to set the development environment.  Is there any example I could start with or can anyone provide a basic code structure for writing in a text file included inside the model?

Thanks

Avatar
Verwerfen

you can start by writing a cron to read those data and write them in text file for you.

yes, textfile thingies going to model. this will be less time consuming and you will have regularly updated text file.

sorry but i didn't understood can you be more explicit, for the time being i just need the code the append a string let say results='test test test'  into my text file.

Verknüpfte Beiträge Antworten Ansichten Aktivität
0
Mai 22
10273
1
Apr. 16
6046
0
März 25
681
0
Jan. 25
2851
1
Aug. 23
13798