批量排程时间修改

This commit is contained in:
guanhuan
2025-06-18 14:49:35 +08:00
parent 9d2f23de7c
commit 05caed1d91

View File

@@ -64,7 +64,7 @@ class SfProductionDemandPlan(models.Model):
product_uom_qty = fields.Float(
string="需求数量",
related='sale_order_line_id.product_uom_qty', store=True)
deadline_of_delivery = fields.Date('客户交期', related='sale_order_id.deadline_of_delivery', store=True)
deadline_of_delivery = fields.Date('客户交期', related='sale_order_line_id.delivery_end_date', store=True)
inventory_quantity_auto_apply = fields.Float(
string="成品库存",
compute='_compute_inventory_quantity_auto_apply'