跳至内容
菜单
此问题已终结

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

形象
丢弃
相关帖文 回复 查看 活动
0
2月 16
5130
2
10月 16
8944
2
7月 15
6334
2
4月 25
1204
1
11月 24
2050