fix
This commit is contained in:
parent
134c155e83
commit
7736eecc83
|
|
@ -55,7 +55,6 @@ class PurchaseRequest(models.Model):
|
|||
if not self.employee_id.department_id:
|
||||
raise ValidationError(_("Choose A Department For this Employee!"))
|
||||
line_ids = []
|
||||
print("hereeeeeeee",self.line_ids.filtered(lambda line: line.qty_purchased > 0).mapped("product_id.name"))
|
||||
for line in self.line_ids.filtered(lambda line: line.qty_purchased > 0):
|
||||
line_ids.append((0, 6, {
|
||||
'product_id': line.product_id.id,
|
||||
|
|
|
|||
Loading…
Reference in New Issue