[WIP][MIG][12.0] rma_purchase

This commit is contained in:
Murtuza Saleh
2019-03-20 18:21:15 +05:30
committed by Jordi Ballester Alomar
parent a18de08781
commit 705595d993
10 changed files with 61 additions and 44 deletions

View File

@@ -20,6 +20,7 @@ class RmaOrder(models.Model):
rec.po_count = po_count
@api.multi
@api.depends('rma_line_ids')
def _compute_origin_po_count(self):
for rma in self:
purchases = rma.mapped(