Skip to Content
Меню
Чтобы взаимодействовать с сообществом, необходимо зарегистрироваться.
Этот вопрос был отмечен
3048 Представления

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

Аватар
Отменить

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.

Related Posts Ответы Просмотры Активность
0
мая 22
10208
1
апр. 16
6009
0
мар. 25
496
0
янв. 25
2704
1
авг. 23
13587