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

Hi Guys

I Need To Update Field In Another Module I Tried cr.execute('update statement') but It Doesn't work For Example : I Have Asset Module And The Other Is TestModule (They Have Relation) How Can I Update Field in Asset Module Through TestModule By Code

Thanks A lot

아바타
취소

Using 'write' method to update field in another module. You can see lot of examples in default openerp module

작성자

I Tried But It Didn't Work And My Code Is Like That assets_obj = self.pool.get('account.asset.asset') assets_obj.write(cr,uid,[asset_ids.id],{'last_fixing' : Execution_date},context=context)

작성자

This Code Is Below Button In Work Flow

관련 게시물 답글 화면 활동
0
3월 15
3205
0
3월 15
3069
0
3월 25
1527
2
5월 24
6622
4
4월 24
174399