mirror of
https://github.com/ForgeFlow/stock-rma.git
synced 2025-01-21 12:57:49 +02:00
[9.0] rma: remove rma.rule and add that setting to product.category
This commit is contained in:
@@ -16,7 +16,7 @@ class ProcurementOrder(models.Model):
|
||||
if procurement.rma_line_id:
|
||||
line = procurement.rma_line_id
|
||||
res['rma_line_id'] = line.id
|
||||
if line.delivery_address_id and line.delivery_address_id.id:
|
||||
if line.delivery_address_id:
|
||||
res['partner_id'] = line.delivery_address_id.id
|
||||
elif line.invoice_line_id.invoice_id.partner_id:
|
||||
res['partner_id'] = line.invoice_id.partner_id.id
|
||||
|
||||
Reference in New Issue
Block a user