mirror of
https://github.com/ForgeFlow/stock-rma.git
synced 2025-01-21 12:57:49 +02:00
[IMP] rma_account: pre-commit, context overridden using dict. Better using kwargs
This commit is contained in:
committed by
AaronHForgeFlow
parent
45f5fe0047
commit
be491e68d8
@@ -362,7 +362,7 @@ class RmaOrderLine(models.Model):
|
||||
make_refund = (
|
||||
self.env["rma.refund"]
|
||||
.with_context(
|
||||
{
|
||||
**{
|
||||
"customer": True,
|
||||
"active_ids": self.ids,
|
||||
"active_model": "rma.order.line",
|
||||
|
||||
Reference in New Issue
Block a user