[IMP] rma_account: pre-commit, context overridden using dict. Better using kwargs

This commit is contained in:
AaronHForgeFlow
2023-02-08 12:34:11 +01:00
committed by AaronHForgeFlow
parent 45f5fe0047
commit be491e68d8

View File

@@ -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",