Passa al contenuto
Menu
È necessario essere registrati per interagire con la community.
La domanda è stata contrassegnata
3316 Visualizzazioni

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
Abbandona

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.

Post correlati Risposte Visualizzazioni Attività
0
mag 22
10425
1
apr 16
6127
0
mar 25
951
0
gen 25
3065
1
ago 23
14180