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?
Odoo is the world's easiest all-in-one management software.
It includes hundreds of business apps:
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?
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
Create an account today to enjoy exclusive features and engage with our awesome community!
Sign upRelated Posts | Replies | Views | Activity | |
---|---|---|---|---|
|
0
Jan 21
|
3657 | ||
|
5
Sep 24
|
42721 | ||
|
1
Aug 23
|
796 | ||
|
0
Mar 23
|
909 | ||
|
1
Sep 24
|
5194 |