Skip to Content
เมนู
คุณต้องลงทะเบียนเพื่อโต้ตอบกับคอมมูนิตี้
คำถามนี้ถูกตั้งค่าสถานะ
2 ตอบกลับ
4172 มุมมอง

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

อวตาร
ละทิ้ง
Related Posts ตอบกลับ มุมมอง กิจกรรม
0
ก.พ. 16
5162
2
ต.ค. 16
8976
2
ก.ค. 15
6373
2
เม.ย. 25
1219
Sales Order From Excel Sheets แก้ไขแล้ว
1
พ.ย. 24
2083