diff --git a/pms/models/pms_board_service.py b/pms/models/pms_board_service.py index ed4e63fae..8dc7a4ebf 100644 --- a/pms/models/pms_board_service.py +++ b/pms/models/pms_board_service.py @@ -28,7 +28,9 @@ class PmsBoardService(models.Model): "Amount", digits=("Product Price"), compute="_compute_board_amount", store=True ) + show_detail_report = fields.Boolean(string="Show Detail Report") # Compute and Search methods + @api.depends("board_service_line_ids.amount") def _compute_board_amount(self): for record in self: diff --git a/pms/report/pms_folio_templates.xml b/pms/report/pms_folio_templates.xml index 89128db3b..23e163bab 100644 --- a/pms/report/pms_folio_templates.xml +++ b/pms/report/pms_folio_templates.xml @@ -1,11 +1,10 @@ -