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

Hi all, 
Is it possible to make Odoo fetch data from a field in Odoo to another field?
I have tried to make a related field, but then both fields are updated when the "parent" field is updated and the "child" field should not update. 
So for an item no. I have a revision no. and this number I would like to transfer to a field under a specific serial number - which is why I would like it to not update when the revision is changed on the item number as the revision for the specific item number should be historic so we can trace back. 

But is this possible? 

아바타
취소
베스트 답변

Hi,

Either you can use onchange or compute method here and if there is already a value in your second field, then you can skip further assignment of value to this field.

* change related to compute
* if already there is value in the field, dont update again from compute

Thanks

아바타
취소