Helpers for the report

class nh_eobs.report.helpers.BaseReport(user, company_name, company_logo, time_generated)[source]
class nh_eobs.report.helpers.DataObj(spell_id=None, start_time=None, end_time=None, ews_only=None)[source]
class nh_eobs.report.helpers.ReportDates(report_start, report_end, spell_start, spell_end)[source]
nh_eobs.report.helpers.boolean_to_text(value)[source]
nh_eobs.report.helpers.convert_db_date_to_context_date(cr, uid, date_string, dformat, context=None)[source]
nh_eobs.report.helpers.create_search_filter(spell_activity_id, model, start_datetime, end_datetime, states='completed', date_field='date_terminated')[source]
nh_eobs.report.helpers.data_dict_to_obj(data_dict)[source]
nh_eobs.report.helpers.merge_dicts(*dict_args)[source]

Given any number of dicts, shallow copy and merge into a new dict, precedence goes to key value pairs in latter dicts.

class nh_eobs.report.helpers.DataObj(spell_id=None, start_time=None, end_time=None, ews_only=None)[source]
class nh_eobs.report.helpers.BaseReport(user, company_name, company_logo, time_generated)[source]
class nh_eobs.report.helpers.ReportDates(report_start, report_end, spell_start, spell_end)[source]