İçereği Atla
Menü
Bu soru işaretlendi
2 Cevaplar
4264 Görünümler

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?

Avatar
Vazgeç
En İyi Yanıt

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

Avatar
Vazgeç
En İyi Yanıt

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

Avatar
Vazgeç
İlgili Gönderiler Cevaplar Görünümler Aktivite
0
Şub 16
5311
2
Eki 16
9180
2
Tem 15
6497
2
Nis 25
1359
1
Kas 24
2266