openspp-modules
openspp-modules copied to clipboard
Implement order of calculation for calculated field
We need to define a clear order in which calculated fields are re-calculated.
Proposed solution:
- Add a sequence field in "ir.model.fields" and will be used as the default sort order.
- Customize the "ir.model.fields" tree view in spp_custom_fields_ui to provide a handle using the sequence field for drag-and-drop ordering of fields.
- Use the order of sequence in "res.partner" "_get_calculated_group_fields" function in generating the list of fields to be processed by the function "_recompute_parent_groups".
Order by type of field
There hasn't been any activity on this issue in the past 6 months, so it has been marked as stale and it will be closed automatically if no further activity occurs in the next 30 days. If you want this issue to never become stale, please ask a PSC member to apply the "no stale" label.
This ticket is now tracked in https://projects.acn.fr/wp/256