summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorAzka Nathan <darizkyfaz@gmail.com>2024-10-17 14:18:03 +0700
committerAzka Nathan <darizkyfaz@gmail.com>2024-10-17 14:18:03 +0700
commitdd53080cb1bd9a1e6236a72dc4df09df9cda82a8 (patch)
tree33017a6f7376ee1e688e00de7ca895a319a5c157
parent29ba7afb88c676623a24b8b45503df5fd8e5c3ad (diff)
add printed sj retur
-rw-r--r--indoteknik_custom/models/stock_picking.py2
-rw-r--r--indoteknik_custom/views/stock_picking.xml2
2 files changed, 4 insertions, 0 deletions
diff --git a/indoteknik_custom/models/stock_picking.py b/indoteknik_custom/models/stock_picking.py
index a9eb3943..a5482f9d 100644
--- a/indoteknik_custom/models/stock_picking.py
+++ b/indoteknik_custom/models/stock_picking.py
@@ -92,6 +92,8 @@ class StockPicking(models.Model):
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')
+ printed_sj_retur = fields.Boolean('Printed Surat Jalan Retur', help='flag which is internal use or not')
+ date_printed_sj_retur = fields.Datetime(string='Status Printed Surat Jalan Retur', copy=False, tracking=True)
invoice_status = fields.Selection([
('upselling', 'Upselling Opportunity'),
('invoiced', 'Fully Invoiced'),
diff --git a/indoteknik_custom/views/stock_picking.xml b/indoteknik_custom/views/stock_picking.xml
index af1af563..e435fa71 100644
--- a/indoteknik_custom/views/stock_picking.xml
+++ b/indoteknik_custom/views/stock_picking.xml
@@ -92,6 +92,8 @@
<field name="status_printed"/>
<field name="printed_sj"/>
<field name="date_printed_sj"/>
+ <field name="printed_sj_retur"/>
+ <field name="date_printed_sj_retur"/>
<field name="date_printed_list"/>
<field name="is_internal_use"
string="Internal Use"