summaryrefslogtreecommitdiff
path: root/indoteknik_custom/models
diff options
context:
space:
mode:
authorstephanchrst <stephanchrst@gmail.com>2022-12-26 17:51:33 +0700
committerstephanchrst <stephanchrst@gmail.com>2022-12-26 17:51:33 +0700
commit0e8be12adad9943dd4a86a31fc0bdf64a74f5db0 (patch)
treea1efd9ff92595a69b01b1b26233ffd28f3459e5b /indoteknik_custom/models
parentf9f4b55c57461fa7cb0a4d3fb6fc9e85f53fe9c2 (diff)
add missing field target in window sales target
Diffstat (limited to 'indoteknik_custom/models')
-rw-r--r--indoteknik_custom/models/sales_target.py1
1 files changed, 1 insertions, 0 deletions
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: