mirror of
https://github.com/ForgeFlow/stock-rma.git
synced 2025-01-21 12:57:49 +02:00
[IMP] rma_repair: button cancel
This commit is contained in:
committed by
JasminSForgeFlow
parent
ac3af6bc36
commit
540507d717
@@ -127,6 +127,12 @@ class RmaOrderLine(models.Model):
|
||||
result["res_id"] = repair_ids[0]
|
||||
return result
|
||||
|
||||
def action_rma_cancel(self):
|
||||
res = super().action_rma_cancel()
|
||||
for line in self:
|
||||
line.repair_ids.action_repair_cancel()
|
||||
return res
|
||||
|
||||
def _get_rma_repaired_qty(self):
|
||||
self.ensure_one()
|
||||
qty = 0.0
|
||||
|
||||
Reference in New Issue
Block a user