summaryrefslogtreecommitdiff
path: root/indoteknik_custom/models
diff options
context:
space:
mode:
authorstephanchrst <stephanchrst@gmail.com>2023-06-14 10:49:33 +0700
committerstephanchrst <stephanchrst@gmail.com>2023-06-14 10:49:33 +0700
commit237ea1205935d9f1bea5eb704df02e3835f9f82a (patch)
tree1d7a157bb1be623cc2d17acdc82c7855fcdf64ce /indoteknik_custom/models
parent9f0f7d02b357b3bacc1d5d28855a23f3a544d543 (diff)
add note logistic for exclude calculate leadtime
Diffstat (limited to 'indoteknik_custom/models')
-rw-r--r--indoteknik_custom/models/stock_picking.py4
1 files changed, 4 insertions, 0 deletions
diff --git a/indoteknik_custom/models/stock_picking.py b/indoteknik_custom/models/stock_picking.py
index 54b478ae..c8424121 100644
--- a/indoteknik_custom/models/stock_picking.py
+++ b/indoteknik_custom/models/stock_picking.py
@@ -59,6 +59,10 @@ class StockPicking(models.Model):
('approved', 'Approved'),
], string='Approval Return Status', readonly=True, copy=False, index=True, tracking=3, help="Approval Status untuk Return")
date_doc_kirim = fields.Datetime(string='Tanggal Kirim di SJ', help="Tanggal Kirim di cetakan SJ, tidak berpengaruh ke Accounting")
+ note_logistic = fields.Selection([
+ ('hold', 'Hold by Sales'),
+ ('not_paid', 'Customer belum bayar')
+ ], string='Note', help='jika field ini diisi maka tidak akan dihitung ke lead time')
def action_create_invoice_from_mr(self):
"""Create the invoice associated to the PO.