summaryrefslogtreecommitdiff
path: root/indoteknik_custom
diff options
context:
space:
mode:
authorIT Fixcomart <it@fixcomart.co.id>2025-09-25 11:41:10 +0000
committerIT Fixcomart <it@fixcomart.co.id>2025-09-25 11:41:10 +0000
commit3ba7b625a08b55ecc92842b7c1e2edde0c85dc10 (patch)
treefcb1ca0b7030ff031337c6ddbb72e4b300937b7d /indoteknik_custom
parentb74c23f253c0b122311a91f159793d6123f1c951 (diff)
parent382e11297d9f3f05b654c5ebd30983b981b960e1 (diff)
Merged in dispatch_sp (pull request #427)
Dispatch sp
Diffstat (limited to 'indoteknik_custom')
-rw-r--r--indoteknik_custom/models/stock_picking.py5
-rw-r--r--indoteknik_custom/views/stock_picking.xml1
2 files changed, 4 insertions, 2 deletions
diff --git a/indoteknik_custom/models/stock_picking.py b/indoteknik_custom/models/stock_picking.py
index 67106073..b27e6b5d 100644
--- a/indoteknik_custom/models/stock_picking.py
+++ b/indoteknik_custom/models/stock_picking.py
@@ -89,8 +89,9 @@ class StockPicking(models.Model):
readonly=True,
related="id",
)
- sj_documentation = fields.Binary(string="Dokumentasi Surat Jalan", )
- paket_documentation = fields.Binary(string="Dokumentasi Paket", )
+ sj_documentation = fields.Binary(string="Dokumentasi Surat Jalan")
+ paket_documentation = fields.Binary(string="Dokumentasi Paket")
+ dispatch_documentation = fields.Binary(string="Dokumentasi Dispatch")
sj_return_date = fields.Datetime(string="SJ Return Date", copy=False)
responsible = fields.Many2one('res.users', string='Responsible', tracking=True)
diff --git a/indoteknik_custom/views/stock_picking.xml b/indoteknik_custom/views/stock_picking.xml
index 0e2eb9e4..21762202 100644
--- a/indoteknik_custom/views/stock_picking.xml
+++ b/indoteknik_custom/views/stock_picking.xml
@@ -235,6 +235,7 @@
<field name='sj_return_date'/>
<field name="sj_documentation" widget="image"/>
<field name="paket_documentation" widget="image"/>
+ <field name="dispatch_documentation" widget="image"/>
</group>
<!-- Biteship Group -->
<group attrs="{'invisible': [('select_shipping_option_so', '!=', 'biteship')]}">