From 6cb1fc1a1cd0c8091c32dfcd19ebc58793873d25 Mon Sep 17 00:00:00 2001 From: stephanchrst Date: Wed, 24 May 2023 14:42:28 +0700 Subject: add note description in purchase order --- indoteknik_custom/models/purchase_order.py | 1 + indoteknik_custom/views/purchase_order.xml | 6 +++++- 2 files changed, 6 insertions(+), 1 deletion(-) diff --git a/indoteknik_custom/models/purchase_order.py b/indoteknik_custom/models/purchase_order.py index f334d968..ea99e165 100755 --- a/indoteknik_custom/models/purchase_order.py +++ b/indoteknik_custom/models/purchase_order.py @@ -38,6 +38,7 @@ class PurchaseOrder(models.Model): summary_qty_po = fields.Float('Total Qty', compute='_compute_summary_qty') summary_qty_receipt = fields.Float('Summary Qty Receipt', compute='_compute_summary_qty') count_line_product = fields.Float('Total Item', compute='compute_count_line_product') + note_description = fields.Char(string='Note', help='bisa diisi sebagai informasi indent barang tertentu atau apapun') def _compute_date_planned(self): for order in self: diff --git a/indoteknik_custom/views/purchase_order.xml b/indoteknik_custom/views/purchase_order.xml index eb5267e0..a4c77c58 100755 --- a/indoteknik_custom/views/purchase_order.xml +++ b/indoteknik_custom/views/purchase_order.xml @@ -56,6 +56,9 @@ + + + @@ -78,7 +81,8 @@ - + + -- cgit v1.2.3