summaryrefslogtreecommitdiff
path: root/indoteknik_custom/models/purchase_order_line.py
diff options
context:
space:
mode:
authorRafi Zadanly <zadanlyr@gmail.com>2023-12-08 15:31:46 +0700
committerRafi Zadanly <zadanlyr@gmail.com>2023-12-08 15:31:46 +0700
commitde6039ab7675d91bcfcb67747d3c72be95a379e6 (patch)
treedf1fa2d9f235298988045c5be5a8e60b9951fd13 /indoteknik_custom/models/purchase_order_line.py
parentc1f7742c254898fa5981e8ca7d870ac42d3f8346 (diff)
parentc63d12bb9192ce845aace7489939c47c24973c66 (diff)
Merge branch 'production' into change/feature/promotion-program
Diffstat (limited to 'indoteknik_custom/models/purchase_order_line.py')
-rwxr-xr-xindoteknik_custom/models/purchase_order_line.py2
1 files changed, 2 insertions, 0 deletions
diff --git a/indoteknik_custom/models/purchase_order_line.py b/indoteknik_custom/models/purchase_order_line.py
index 2e91bb69..eced5d43 100755
--- a/indoteknik_custom/models/purchase_order_line.py
+++ b/indoteknik_custom/models/purchase_order_line.py
@@ -31,6 +31,8 @@ class PurchaseOrderLine(models.Model):
price_vendor = fields.Float(string='Price Vendor', compute='compute_price_vendor')
so_line_id = fields.Many2one('sale.order.line', string='ID SO Line')
indent = fields.Boolean(string='Indent', help='centang ini jika barang indent')
+ is_ltc = fields.Boolean(string='Sudah di LTC', default=False, help='centang ini jika barang sudah di LTC')
+ note = fields.Char(string='Note')
def compute_price_vendor(self):
for line in self: