From 29577f0e4a62a3ff74baa7a7a28c1b978d80942b Mon Sep 17 00:00:00 2001 From: Azka Nathan Date: Thu, 7 Dec 2023 11:48:39 +0700 Subject: add field ltc on line purchase orders --- indoteknik_custom/models/purchase_order_line.py | 1 + indoteknik_custom/views/purchase_order.xml | 1 + 2 files changed, 2 insertions(+) diff --git a/indoteknik_custom/models/purchase_order_line.py b/indoteknik_custom/models/purchase_order_line.py index b082eae9..b2bfc7cd 100755 --- a/indoteknik_custom/models/purchase_order_line.py +++ b/indoteknik_custom/models/purchase_order_line.py @@ -31,6 +31,7 @@ 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='Is LTC?', help='centang ini jika barang sudah di LTC') note = fields.Char(string='Note') def compute_price_vendor(self): diff --git a/indoteknik_custom/views/purchase_order.xml b/indoteknik_custom/views/purchase_order.xml index df174257..b5a9b4ad 100755 --- a/indoteknik_custom/views/purchase_order.xml +++ b/indoteknik_custom/views/purchase_order.xml @@ -183,6 +183,7 @@ + -- cgit v1.2.3