summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorAzka Nathan <darizkyfaz@gmail.com>2025-02-24 14:58:11 +0700
committerAzka Nathan <darizkyfaz@gmail.com>2025-02-24 14:58:11 +0700
commit8696e202ecf594890a9ad29bc2bd2729321459c5 (patch)
treea9daee1f942187a057e76c841d9f3cc7bf73a61a
parent38f8ddd9aaaad58c8d7ea27235cd109ba288693d (diff)
add copy to field state_reserve and date_reserved
-rw-r--r--indoteknik_custom/models/stock_picking.py4
1 files changed, 2 insertions, 2 deletions
diff --git a/indoteknik_custom/models/stock_picking.py b/indoteknik_custom/models/stock_picking.py
index 49e66786..954a5d52 100644
--- a/indoteknik_custom/models/stock_picking.py
+++ b/indoteknik_custom/models/stock_picking.py
@@ -94,7 +94,7 @@ class StockPicking(models.Model):
purchase_representative_id = fields.Many2one('res.users', related='move_lines.purchase_line_id.order_id.user_id', string="Purchase Representative")
carrier_id = fields.Many2one('delivery.carrier', string='Shipping Method')
shipping_status = fields.Char(string='Shipping Status', compute="_compute_shipping_status")
- date_reserved = fields.Datetime(string="Date Reserved", help='Tanggal ter-reserved semua barang nya')
+ date_reserved = fields.Datetime(string="Date Reserved", help='Tanggal ter-reserved semua barang nya', copy=False)
status_printed = fields.Selection([
('not_printed', 'Belum Print'),
('printed', 'Printed')
@@ -120,7 +120,7 @@ class StockPicking(models.Model):
('ready', 'Ready to Ship'),
('done', 'Done'),
('cancel', 'Cancelled'),
- ], string='Status Reserve', readonly=True, tracking=True, help="The current state of the stock picking.")
+ ], string='Status Reserve', readonly=True, tracking=True, copy=False, help="The current state of the stock picking.")
notee = fields.Text(string="Note")
@api.model