Skip to Content
Menu
This question has been flagged
1 Reply
2554 Views

I'm having compute function. It works well and gives an expected output in field placed in form. But it is not fetched in tree view. If i put store=True, It works well. But app could not be installed once if I uninstalled it.

Is there any way to replace store=True.

Any help is appreciatable!


Avatar
Discard
Author

Thanks @niyas! I solved it by giving store = False in field which calls compute function. Instead, I created new field giving related condition and sets store = True here.

Best Answer

Hi,

If function is written correctly it will work fine in both form and in tree, i guess you might not have handled records correctly in the compute function and thus when you have multiple record in tree view, you get the value wrongly. 

So it is better to share your code along with the question and fix it.


If currently the field is store=True and then if you need to remove it, just set store=False and then upgrade module and vice versa. No need to uninstall and install.

Thanks

Avatar
Discard
Related Posts Replies Views Activity
1
Nov 24
1487
1
Nov 24
1198
2
Sep 24
1047
1
Aug 24
2460
3
Aug 24
2687