diff options
| author | Miqdad <ahmadmiqdad27@gmail.com> | 2025-09-19 17:43:59 +0700 |
|---|---|---|
| committer | Miqdad <ahmadmiqdad27@gmail.com> | 2025-09-19 17:43:59 +0700 |
| commit | dc9fd38206e9234319e8088717b39cf0770aaad7 (patch) | |
| tree | d780722d1ccc3881584fec85d95ecd1eb24fc199 /indoteknik_custom | |
| parent | b07468846b95803f21b81191013651fac2d9adb4 (diff) | |
<Miqdad> add role and field dispatch
Diffstat (limited to 'indoteknik_custom')
| -rw-r--r-- | indoteknik_custom/models/stock_picking.py | 5 | ||||
| -rw-r--r-- | indoteknik_custom/views/stock_picking.xml | 1 |
2 files changed, 4 insertions, 2 deletions
diff --git a/indoteknik_custom/models/stock_picking.py b/indoteknik_custom/models/stock_picking.py index 35d408a1..8a81c426 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')]}"> |
