OpenSPP / openspp-modules

OpenSPP Odoo modules
https://openspp.org
GNU Lesser General Public License v3.0
24 stars 9 forks source link

Add a way to recompute the indicator fields that are set to be recomputed daily #216

Open jeremi opened 1 year ago

jeremi commented 1 year ago

For fields meant to be updated on a daily basis, it's proposed to introduce a specific parameter, effectively marking them for daily reevaluation. This would be seamlessly facilitated by a daily cron job, which will scan and promptly update these marked fields. To streamline the user experience and allow administrators to easily set which fields require daily updates, a new 'Recompute Daily' boolean option will be integrated into the custom fields UI. This approach ensures that relevant data remains fresh and up-to-date, without the need for manual intervention.

image

How to use

  1. Go to Settings
  2. Database Structure by clicking (+) button on the menu
  3. You can't create fields but select one of them to computing dialy.
  4. You can use filter to select Dialy Recompute.
  5. Further, you can filter by "z_ind" for a model.
dasunhegoda commented 1 year ago
github-actions[bot] commented 4 months ago

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.

jeremi commented 2 months ago

Was this implemented?

dasunhegoda commented 2 months ago

Yes, it's implemented @jeremi. PR: https://github.com/OpenSPP/openspp-modules/pull/251