Helpers

helpers.refresh_materialized_views(*views)[source]

Decorator method to refresh materialized views passed as arguments. :param views: name(s) of materialized view(s) to refresh :return: True if activity is completed

helpers.refresh_views(cr, views)[source]

Execute the update of the views via SQL in the cursor

Parameters:
  • cr – Odoo cursor
  • views – list of views
helpers.v8_refresh_materialized_views(*views)[source]

Decorator method to refresh materialized views passed as arguments. :param views: name(s) of materialized view(s) to refresh :return: True if activity is completed