summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorAzka Nathan <darizkyfaz@gmail.com>2024-07-08 10:21:35 +0700
committerAzka Nathan <darizkyfaz@gmail.com>2024-07-08 10:21:35 +0700
commit57459d69112cd0217bd72d8cb47dd9b138b62760 (patch)
tree8d2949a44b8fb4e346ecc264c3be34d9f3c2fd99
parentbe39266e634e750c553fe004a067dd1b8024dfc4 (diff)
printed_sj
-rw-r--r--indoteknik_custom/models/stock_picking.py1
-rw-r--r--indoteknik_custom/views/stock_picking.xml1
2 files changed, 2 insertions, 0 deletions
diff --git a/indoteknik_custom/models/stock_picking.py b/indoteknik_custom/models/stock_picking.py
index daa05c14..2dd69e01 100644
--- a/indoteknik_custom/models/stock_picking.py
+++ b/indoteknik_custom/models/stock_picking.py
@@ -87,6 +87,7 @@ class StockPicking(models.Model):
date_unreserve = fields.Datetime(string="Date Unreserved", copy=False, tracking=True)
date_availability = fields.Datetime(string="Date Availability", copy=False, tracking=True)
sale_order = fields.Char(string='Matches SO', copy=False)
+ printed_sj = fields.Boolean('Printed Surat Jalan', help='flag which is internal use or not')
@api.onchange('carrier_id')
def constrains_carrier_id(self):
diff --git a/indoteknik_custom/views/stock_picking.xml b/indoteknik_custom/views/stock_picking.xml
index 4de1ac91..3c7f027e 100644
--- a/indoteknik_custom/views/stock_picking.xml
+++ b/indoteknik_custom/views/stock_picking.xml
@@ -75,6 +75,7 @@
<field name="group_id" position="before">
<field name="date_reserved"/>
<field name="status_printed"/>
+ <field name="printed_sj"/>
<field name="date_printed_sj"/>
<field name="date_printed_list"/>
<field name="is_internal_use"