diff options
| author | stephanchrst <stephanchrst@gmail.com> | 2023-12-08 09:21:50 +0700 |
|---|---|---|
| committer | stephanchrst <stephanchrst@gmail.com> | 2023-12-08 09:21:50 +0700 |
| commit | 8e38bd3992101ab43c3d64c58f2a52131c675a19 (patch) | |
| tree | a0e679add8133d893d64a2e7728cb3f4a9a405d4 | |
| parent | 46feda7156435e96faf0ff0c6c5297b8d3355375 (diff) | |
add default is ltc
| -rwxr-xr-x | indoteknik_custom/models/purchase_order_line.py | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/indoteknik_custom/models/purchase_order_line.py b/indoteknik_custom/models/purchase_order_line.py index c6ef2aab..eced5d43 100755 --- a/indoteknik_custom/models/purchase_order_line.py +++ b/indoteknik_custom/models/purchase_order_line.py @@ -31,7 +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='Sudah di LTC', help='centang ini jika barang sudah di LTC') + 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): |
