移除销售订单供货方式确认

This commit is contained in:
guanhuan
2025-06-25 14:22:27 +08:00
parent 9f00fddc09
commit d046fd5298
4 changed files with 72 additions and 0 deletions

View File

@@ -192,3 +192,9 @@ class SfDemandPlan(models.Model):
if not line.sale_order_line_id:
line.sale_order_line_id = self.sale_order_line_id
return res
def name_get(self):
result = []
for plan in self:
result.append((plan.id, plan.sale_order_id.name))
return result