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

I am trying to modify "sale.order.form" view.

Specifically I want to setup an "on_change" event when "purchase_price" field is modified.

Despite I find all other fields in "sale.order.form" view, I can't find in whch view "purchase_price" is located.

Any tip on how to look for it or any direct answer to know where such field is located?

아바타
취소
베스트 답변

you can look for the "purchase_price" field in the "sale_margin" module.

아바타
취소
베스트 답변

First go upto the path (using cd command) where you have kept Odoo code. Then use following command from terminal to find in all xml files:

grep -nr "purchase_price" --include=*.xml

아바타
취소
관련 게시물 답글 화면 활동
0
2월 16
5234
2
10월 16
9081
2
7월 15
6429
2
4월 25
1290
1
11월 24
2182