コンテンツへスキップ
メニュー
この質問にフラグが付けられました
1 返信
2956 ビュー

Hello everyone, I am new to odoo and trying to improve my odoo system, i have create a new many2one files in orderline. Now i would like to set values for this custom files with the specific coditions depend on the products. what is the right way to sovle this kind of problem. Thank for watching. 

アバター
破棄
最善の回答

Hello,

You need to override this method, it called when the product in the SO line changed. The vals dict hold the new values of the other fields ... for more information about the onchange methods .


Hope this could helps ...

アバター
破棄
著作者

Thanks for your help, i will focus on the onchange method. Have a nice day friend:)

著作者

Hello, what should i do to override the method? create a module or just add the funcion to the custom module? and need i change any thing in the xml fiel?

Hi, you don't need to change the xml file. the clean methodology is to create a new custom module to override the method ...

関連投稿 返信 ビュー 活動
0
3月 16
2682
2
2月 25
5813
1
12月 24
5974
1
12月 24
1386
3
8月 24
6851