summaryrefslogtreecommitdiff
path: root/indoteknik_custom/models
diff options
context:
space:
mode:
authorstephanchrst <stephanchrst@gmail.com>2023-10-18 13:18:45 +0700
committerstephanchrst <stephanchrst@gmail.com>2023-10-18 13:18:45 +0700
commit8e8782b2f1aa3fa61e2b326d2728736ed9969394 (patch)
tree6cdf7a96e55f360d4b5450bcd9f5c7138cc8a4f2 /indoteknik_custom/models
parenta07d76148eb51f4cdb263f915371208cc2f4b05d (diff)
add indent column for purchase order line
Diffstat (limited to 'indoteknik_custom/models')
-rwxr-xr-xindoteknik_custom/models/purchase_order_line.py1
1 files changed, 1 insertions, 0 deletions
diff --git a/indoteknik_custom/models/purchase_order_line.py b/indoteknik_custom/models/purchase_order_line.py
index 95e85122..2e91bb69 100755
--- a/indoteknik_custom/models/purchase_order_line.py
+++ b/indoteknik_custom/models/purchase_order_line.py
@@ -30,6 +30,7 @@ class PurchaseOrderLine(models.Model):
suggest = fields.Char(string='Suggest')
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')
def compute_price_vendor(self):
for line in self: