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

I have to get the value from a tree view with code

For example I have 3 columns (Rule, ID, Total) and I have to get the value of total where the ID is "Basic"
How can I do that?

アバター
破棄
最善の回答

Please use search method in odoo orm: https://www.youtube.com/watch?v=8V-uOG8KkKA

アバター
破棄
最善の回答

Hello,

You can access that value from the browsable object of that model and if you want to get total value in same model then you can get that value by self.field_name

アバター
破棄
関連投稿 返信 ビュー 活動
0
1月 21
4826
5
9月 24
45223
1
8月 23
1677
0
3月 23
1996
1
9月 24
6952