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

Field value updated and successful saved through "SAVE" button in web-browser. Update of "write_date" field of the object is identified also through export in web-interface. So far so good. But my problem is:

through xmlrpc using code like:

models.execute_kw(
db_name, user_id, password,
'product.product', 'read', [pid],
{'fields': ['pn', 'changed_field', 'write_date']})

I can see the changed_field is modified, but the "write_date" is not changed like I see in export through web interface.

Can anybody give some hints, how can this happen?


아바타
취소
작성자

found solution of the problem: I need to use "product.template" instead of "product.product", because my extended attributes which I have modified in my tests are defined to inherit "product.template".
"product.product" contains somehow all fields but maintains their own write_date field, which is used in export in browser.
The real write_date is maintained in product.template

작성자 베스트 답변

I'm still hanging in this problem, so I can not run a script regularly to get only changed DB items since e.g. last hour. Can anybody give me some idea?

아바타
취소
관련 게시물 답글 화면 활동
1
7월 23
2711
1
2월 23
2765
1
11월 22
4013
1
8월 22
2021
1
8월 22
2472