Skip to Content
मेन्यू
This question has been flagged

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
Discard
Best Answer

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

Avatar
Discard
Best Answer

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
Discard
Related Posts Replies Views Activity
0
फ़र॰ 16
5313
2
अक्तू॰ 16
9188
2
जुल॰ 15
6502
2
अप्रैल 25
1360
1
नव॰ 24
2268