summaryrefslogtreecommitdiff
path: root/indoteknik_custom/models/mrp_production.py
diff options
context:
space:
mode:
authorIndoteknik . <andrifebriyadiputra@gmail.com>2025-05-02 16:06:46 +0700
committerIndoteknik . <andrifebriyadiputra@gmail.com>2025-05-02 16:06:46 +0700
commit9bc2b6612c81844dbbee40a8678862a241dafb11 (patch)
tree8cae3b26feb6f184a53af3ccd2d7aff361fffc31 /indoteknik_custom/models/mrp_production.py
parentbb8a5981bdfd8a8d60db7fe509a989c29b2a4e5e (diff)
parentf050f06b6f057e20ecc99427850c9c43c7f02224 (diff)
resolve merge
Diffstat (limited to 'indoteknik_custom/models/mrp_production.py')
-rw-r--r--indoteknik_custom/models/mrp_production.py8
1 files changed, 8 insertions, 0 deletions
diff --git a/indoteknik_custom/models/mrp_production.py b/indoteknik_custom/models/mrp_production.py
index 87d75faf..8179fe56 100644
--- a/indoteknik_custom/models/mrp_production.py
+++ b/indoteknik_custom/models/mrp_production.py
@@ -13,6 +13,14 @@ class MrpProduction(models.Model):
sale_order = fields.Many2one('sale.order', string='Sale Order', copy=False)
production_purchase_match = fields.One2many('production.purchase.match', 'production_id', string='Purchase Matches', auto_join=True)
is_po = fields.Boolean(string='Is PO')
+ state_reserve = fields.Selection([
+ ('waiting', 'Waiting For Fullfilment'),
+ ('ready', 'Ready to Ship'),
+ ('done', 'Done'),
+ ('cancel', 'Cancelled'),
+ ], string='Status Reserve', tracking=True, copy=False, help="The current state of the stock picking.")
+ date_reserved = fields.Datetime(string="Date Reserved", help='Tanggal ter-reserved semua barang nya', copy=False)
+
@api.constrains('check_bom_product_lines')
def constrains_check_bom_product_lines(self):