diff options
| author | stephanchrst <stephanchrst@gmail.com> | 2023-02-15 13:15:51 +0700 |
|---|---|---|
| committer | stephanchrst <stephanchrst@gmail.com> | 2023-02-15 13:15:51 +0700 |
| commit | 258717cb3c0a326ff85200dd9a724818dd9fca18 (patch) | |
| tree | c348f60f40ccff72e8fc7358c870b9b0c42ebb06 | |
| parent | 8cca552e51decb429ebb69703c82fc7b9d157df2 (diff) | |
add date surat jalan
| -rw-r--r-- | indoteknik_custom/models/stock_picking.py | 1 | ||||
| -rw-r--r-- | indoteknik_custom/views/stock_picking.xml | 1 |
2 files changed, 2 insertions, 0 deletions
diff --git a/indoteknik_custom/models/stock_picking.py b/indoteknik_custom/models/stock_picking.py index 2c75ccbc..a3b5c6ef 100644 --- a/indoteknik_custom/models/stock_picking.py +++ b/indoteknik_custom/models/stock_picking.py @@ -56,6 +56,7 @@ class StockPicking(models.Model): ('pengajuan1', 'Approval Accounting'), ('approved', 'Approved'), ], string='Approval Return Status', readonly=True, copy=False, index=True, tracking=3, help="Approval Status untuk Return") + date_doc_kirim = fields.Datetime(string='Tanggal Kirim di SJ', help="Tanggal Kirim di cetakan SJ, tidak berpengaruh ke Accounting") def action_assign(self): res = super(StockPicking, self).action_assign() diff --git a/indoteknik_custom/views/stock_picking.xml b/indoteknik_custom/views/stock_picking.xml index a189e399..908820c5 100644 --- a/indoteknik_custom/views/stock_picking.xml +++ b/indoteknik_custom/views/stock_picking.xml @@ -45,6 +45,7 @@ <field name="real_shipping_id"/> </field> <field name="origin" position="after"> + <field name="date_doc_kirim"/> <field name="approval_status" attrs="{'invisible': [('is_internal_use', '=', False)]}"/> <field name="approval_return_status" attrs="{'invisible': [('approval_return_status', '=', False)]}"/> <field name="summary_qty_operation"/> |
