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:
@@ -60,6 +60,7 @@ class RmaAddSale(models.TransientModel):
|
||||
raise ValidationError("Please define a warehouse with a "
|
||||
"default rma location.")
|
||||
data = {
|
||||
'partner_id': self.partner_id.id,
|
||||
'sale_line_id': line.id,
|
||||
'product_id': line.product_id.id,
|
||||
'origin': line.order_id.name,
|
||||
|
||||
Reference in New Issue
Block a user