物料需求计划管理

This commit is contained in:
guanhuan
2025-06-26 17:18:03 +08:00
parent c14e2c19bf
commit fe4659987f
5 changed files with 83 additions and 7 deletions

View File

@@ -85,6 +85,8 @@ class SfDemandPlan(models.Model):
default=False
)
procurement_group_id = fields.Many2one('procurement.group', '补货组', copy=False)
@api.depends('product_id.part_number', 'product_id.model_name')
def _compute_part_number(self):
for line in self: