Skip to Content
Меню
Вам необхідно зареєструватися, щоб взаємодіяти зі спільнотою.
Це запитання позначене
2 Відповіді
4182 Переглядів

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
5167
2
жовт. 16
9001
2
лип. 15
6381
2
квіт. 25
1232
1
лист. 24
2096