Skip to content
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
6 changes: 6 additions & 0 deletions mgmtsystem_indicators_report/report/indicators_report.py
Original file line number Diff line number Diff line change
Expand Up @@ -27,6 +27,8 @@ class IndicatorsReport(models.Model):
)
uom_id = fields.Many2one("uom.uom", readonly=True)
value_representation = fields.Char(readonly=True)
value_float = fields.Float(readonly=True)
value_int = fields.Integer(readonly=True)
reference_range_limit = fields.Char(string="Reference Range", readonly=True)
interpretation = fields.Selection(
[("valid", "Valid"), ("invalid", "Invalid")], readonly=True
Expand All @@ -42,6 +44,8 @@ def _query(self, with_clause="", fields=None, groupby="", from_clause=""):
i.concept_id as concept_id,
i.uom_id as uom_id,
i.value_representation as value_representation,
i.value_float as value_float,
i.value_int as value_int,
i.reference_range_limit as reference_range_limit,
i.interpretation as interpretation,
r.name as name,
Expand All @@ -67,6 +71,8 @@ def _query(self, with_clause="", fields=None, groupby="", from_clause=""):
i.concept_id,
i.uom_id,
i.value_representation,
i.value_float,
i.value_int,
i.reference_range_limit,
i.interpretation,
r.name,
Expand Down