summaryrefslogtreecommitdiff
path: root/indoteknik_custom/models/report_logbook_bill.py
diff options
context:
space:
mode:
authorit-fixcomart <it@fixcomart.co.id>2024-08-14 16:12:14 +0700
committerit-fixcomart <it@fixcomart.co.id>2024-08-14 16:12:14 +0700
commitd47eb069978ce67bce1a19b6c824a53ca3d68801 (patch)
tree2427f680d68c8b136531d392eb36cf4262c7d35b /indoteknik_custom/models/report_logbook_bill.py
parent2513b765773fca587dbd298e77732d2d005949c8 (diff)
parentd4df708e5195e1c0c3b8e0ad90b7518e5d4d48c2 (diff)
<iman> Merge branch 'production' of https://bitbucket.org/altafixco/indoteknik-addons into feature/tracking-order
# Please enter a commit message to explain why this merge is necessary, # especially if it merges an updated upstream into a topic branch. # # Lines starting with '#' will be ignored, and an empty message aborts # the commit.
Diffstat (limited to 'indoteknik_custom/models/report_logbook_bill.py')
-rw-r--r--indoteknik_custom/models/report_logbook_bill.py3
1 files changed, 2 insertions, 1 deletions
diff --git a/indoteknik_custom/models/report_logbook_bill.py b/indoteknik_custom/models/report_logbook_bill.py
index 9a7c1535..c78d558d 100644
--- a/indoteknik_custom/models/report_logbook_bill.py
+++ b/indoteknik_custom/models/report_logbook_bill.py
@@ -67,12 +67,13 @@ class ReportLogbookBill(models.Model):
self.state = 'terima_sebagian'
else:
self.state = 'terima_semua'
+ self.relation_po_to_logbook()
else:
if self.env.user.is_logistic_approver:
self.state_pengajuan = 'diajukan'
self.date_pengajuan = current_time
self.pengajuan_by = self.env.user.id
- self.relation_po_to_logbook()
+
def relation_po_to_logbook(self):
for line in self.report_logbook_bill_line: