mirror of
https://github.com/ForgeFlow/stock-rma.git
synced 2025-01-21 12:57:49 +02:00
[9.0][FIX] wizards need to specify partner.
This commit is contained in:
@@ -61,6 +61,7 @@ class RmaAddInvoice(models.TransientModel):
|
||||
raise ValidationError("Please define a warehouse with a"
|
||||
" default rma location")
|
||||
data = {
|
||||
'partner_id': self.partner_id.id,
|
||||
'invoice_line_id': line.id,
|
||||
'product_id': line.product_id.id,
|
||||
'origin': line.invoice_id.number,
|
||||
|
||||
Reference in New Issue
Block a user