summaryrefslogtreecommitdiff
path: root/indoteknik_custom/models/purchase_order.py
diff options
context:
space:
mode:
authorAzka Nathan <darizkyfaz@gmail.com>2024-06-27 15:29:16 +0700
committerAzka Nathan <darizkyfaz@gmail.com>2024-06-27 15:29:16 +0700
commite33f2d321ee4db6a6e6a86e35243100b9f107f22 (patch)
tree54da1eeaced0bf1894be9fa4fa00a5f16c76388c /indoteknik_custom/models/purchase_order.py
parent98fd3104060a92991569a206aabf6c7c20b190e3 (diff)
logbook bill & send email efaktur document
Diffstat (limited to 'indoteknik_custom/models/purchase_order.py')
-rwxr-xr-xindoteknik_custom/models/purchase_order.py1
1 files changed, 1 insertions, 0 deletions
diff --git a/indoteknik_custom/models/purchase_order.py b/indoteknik_custom/models/purchase_order.py
index db474895..6aec4074 100755
--- a/indoteknik_custom/models/purchase_order.py
+++ b/indoteknik_custom/models/purchase_order.py
@@ -60,6 +60,7 @@ class PurchaseOrder(models.Model):
matches_so = fields.Many2many('sale.order', string='Matches SO', compute='_compute_matches_so')
is_create_uangmuka = fields.Boolean(string='Uang Muka?')
move_id = fields.Many2one('account.move', string='Account Move')
+ logbook_bill_id = fields.Many2one('report.logbook.bill', string='Logbook Bill')
def _prepare_invoice(self):
"""Prepare the dict of values to create the new invoice for a purchase order.