File tree Expand file tree Collapse file tree 1 file changed +0
-3
lines changed
docs/developer_guide/module_development Expand file tree Collapse file tree 1 file changed +0
-3
lines changed Original file line number Diff line number Diff line change @@ -101,7 +101,6 @@ class G2PRegistrant(models.Model):
101101 compute = " _compute_ind_grp_num_children" ,
102102 help = " Number of children in the group" ,
103103 store = True ,
104- allow_filter = True ,
105104 )
106105
107106 # Boolean indicator example
@@ -110,7 +109,6 @@ class G2PRegistrant(models.Model):
110109 compute = " _compute_ind_grp_is_single_head_hh" ,
111110 help = " Single-headed HH - extracted from demographic data of HH adult members" ,
112111 store = True ,
113- allow_filter = True ,
114112 )
115113
116114 # Individual indicator example
@@ -222,7 +220,6 @@ from odoo import api, ValidationError
222220## Best Practices
223221
224222- Use ` store=True ` for indicators that need to be queried.
225- - Use ` allow_filter=True ` for indicators that should be filterable in views.
226223- Provide clear help text explaining the indicator's purpose.
227224
228225## References
You can’t perform that action at this time.
0 commit comments