summaryrefslogtreecommitdiff
path: root/indoteknik_custom/models
diff options
context:
space:
mode:
authortrisusilo48 <tri.susilo@altama.co.id>2025-03-19 12:49:44 +0700
committertrisusilo48 <tri.susilo@altama.co.id>2025-03-19 12:49:44 +0700
commit1f324148f176bafc471a5948b8c5322a9b175ffa (patch)
tree80804bff85a3d6dd170c46191a4b4a830749e6ed /indoteknik_custom/models
parent39827bceaff5f6493de6e5d1e5b2f98baa2e0905 (diff)
request iman
Diffstat (limited to 'indoteknik_custom/models')
-rw-r--r--indoteknik_custom/models/stock_picking.py8
1 files changed, 4 insertions, 4 deletions
diff --git a/indoteknik_custom/models/stock_picking.py b/indoteknik_custom/models/stock_picking.py
index 9e5fca66..23ddb47f 100644
--- a/indoteknik_custom/models/stock_picking.py
+++ b/indoteknik_custom/models/stock_picking.py
@@ -136,11 +136,11 @@ class StockPicking(models.Model):
('pending', 'Pending (perlu koordinasi dengan MD)'),
('done', 'Approve by MD'),
], string='Approval MD Gudang Selisih', tracking=True, copy=False, help="The current state of the MD Approval transfer barang from gudang selisih.")
- show_state_approve_md = fields.Boolean(compute="_compute_show_state_approve_md")
+ # show_state_approve_md = fields.Boolean(compute="_compute_show_state_approve_md")
- def _compute_show_state_approve_md(self):
- for record in self:
- record.show_state_approve_md = record.location_id.id == 47 or record.location_id.complete_name == "Virtual Locations/Gudang Selisih"
+ # def _compute_show_state_approve_md(self):
+ # for record in self:
+ # record.show_state_approve_md = record.location_id.id == 47 or record.location_id.complete_name == "Virtual Locations/Gudang Selisih"
@api.model
def _compute_dokumen_tanda_terima(self):