Skip to Content
Menu
Musisz się zarejestrować, aby móc wchodzić w interakcje z tą społecznością.
To pytanie dostało ostrzeżenie

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?

Awatar
Odrzuć
Najlepsza odpowiedź

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

Awatar
Odrzuć
Najlepsza odpowiedź

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

Awatar
Odrzuć
Powiązane posty Odpowiedzi Widoki Czynność
0
lut 16
4857
2
paź 16
8704
2
lip 15
6122
2
kwi 25
1083
1
lis 24
1808