From 0e8be12adad9943dd4a86a31fc0bdf64a74f5db0 Mon Sep 17 00:00:00 2001 From: stephanchrst Date: Mon, 26 Dec 2022 17:51:33 +0700 Subject: add missing field target in window sales target --- indoteknik_custom/models/sales_target.py | 1 + indoteknik_custom/views/sales_target.xml | 2 ++ 2 files changed, 3 insertions(+) diff --git a/indoteknik_custom/models/sales_target.py b/indoteknik_custom/models/sales_target.py index 5d2d6310..ac6405e5 100644 --- a/indoteknik_custom/models/sales_target.py +++ b/indoteknik_custom/models/sales_target.py @@ -15,6 +15,7 @@ class SalesTarget(models.Model): ongoing_omset_accurate = fields.Float(string='Omset Berjalan Accurate') ongoing_omset_adempiere = fields.Float(string='Omset Berjalan ADempiere') ongoing_omset_total = fields.Float(string='Total Omset', compute='_compute_total_omset') + target = fields.Float(string='Target') def _compute_total_omset(self): for target in self: diff --git a/indoteknik_custom/views/sales_target.xml b/indoteknik_custom/views/sales_target.xml index 39462ad7..6ccea260 100644 --- a/indoteknik_custom/views/sales_target.xml +++ b/indoteknik_custom/views/sales_target.xml @@ -16,6 +16,7 @@ + @@ -34,6 +35,7 @@ + -- cgit v1.2.3