diff options
| author | it-fixcomart <it@fixcomart.co.id> | 2024-08-14 16:12:14 +0700 |
|---|---|---|
| committer | it-fixcomart <it@fixcomart.co.id> | 2024-08-14 16:12:14 +0700 |
| commit | d47eb069978ce67bce1a19b6c824a53ca3d68801 (patch) | |
| tree | 2427f680d68c8b136531d392eb36cf4262c7d35b /indoteknik_custom/models/report_logbook_bill.py | |
| parent | 2513b765773fca587dbd298e77732d2d005949c8 (diff) | |
| parent | d4df708e5195e1c0c3b8e0ad90b7518e5d4d48c2 (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.py | 3 |
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: |
