콘텐츠로 건너뛰기
메뉴
커뮤니티에 참여하려면 회원 가입을 하시기 바랍니다.
신고된 질문입니다
3052 화면

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.

관련 게시물 답글 화면 활동
0
5월 22
10208
1
4월 16
6010
0
3월 25
503
0
1월 25
2708
1
8월 23
13595