UI Location

class base_extension.nh_ui_location(pool, cr)[source]

Extends location.

_get_patient_info(*args, **kwargs)[source]

Used by function fields patient_score and patient_risk to get the current EWS information for each patient in an open spell.

create(*args, **kwargs)[source]

Extends Odoo’s create(), refreshing the materialized view ward_locations.

search(*args, **kwargs)[source]

Extends Odoo’s search(), allowing users who are members of the Ward Manager group to search from all locations for which they’re responsible for.