I used to use store triggers in OpenERP 7 to make the function and related fields searchable, filterable and groupable: https://doc.odoo.com/v6.0/developer/2_5_Objects_Fields_Methods/field_type.html/#store-parameter
but with Odoo v8.0 I see there's nothing like store trigger to store the values in database: https://github.com/odoo/odoo/issues/4628 .. the store parameter now accepts only Boolean, it doesn't accept dict anymore.
So I have used the search function to make the field searchable and filterable. but I still cannot make it groupable and `store=True` may make it store old data without updating it!
Is there any way better to make computed/related field updated and groupable in the same time? or is `store=True` enough?
Please try to give a substantial answer. If you wanted to comment on the question or answer, just use the commenting tool. Please remember that you can always revise your answers - no need to answer the same question twice. Also, please don't forget to vote - it really helps to select the best questions and answers!
About This Community
|Asked: 4/9/15, 10:43 AM|
|Seen: 2666 times|
|Last updated: 4/9/15, 4:16 PM|