From 02a1cfe4a4166d1b10ac82d9d89a1be64c870649 Mon Sep 17 00:00:00 2001 From: stephanchrst Date: Wed, 6 Dec 2023 11:05:10 +0700 Subject: add note for purchase order line --- indoteknik_custom/models/purchase_order_line.py | 1 + indoteknik_custom/views/purchase_order.xml | 3 ++- 2 files changed, 3 insertions(+), 1 deletion(-) diff --git a/indoteknik_custom/models/purchase_order_line.py b/indoteknik_custom/models/purchase_order_line.py index 2e91bb69..b082eae9 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') + note = fields.Char(string='Note') def compute_price_vendor(self): for line in self: diff --git a/indoteknik_custom/views/purchase_order.xml b/indoteknik_custom/views/purchase_order.xml index 08dde8e1..df174257 100755 --- a/indoteknik_custom/views/purchase_order.xml +++ b/indoteknik_custom/views/purchase_order.xml @@ -100,7 +100,7 @@ - + @@ -183,6 +183,7 @@ + -- cgit v1.2.3