mirror of
https://github.com/ForgeFlow/stock-rma.git
synced 2025-01-21 12:57:49 +02:00
[FIX] default_gets: avoid using shadowname 'fields'
This commit is contained in:
committed by
JasminSForgeFlow
parent
a0ec3460d7
commit
4f82c7176c
@@ -37,9 +37,9 @@ class RmaLineMakeRepair(models.TransientModel):
|
|||||||
}
|
}
|
||||||
|
|
||||||
@api.model
|
@api.model
|
||||||
def default_get(self, fields):
|
def default_get(self, fields_list):
|
||||||
res = super(RmaLineMakeRepair, self).default_get(
|
res = super(RmaLineMakeRepair, self).default_get(
|
||||||
fields)
|
fields_list)
|
||||||
rma_line_obj = self.env['rma.order.line']
|
rma_line_obj = self.env['rma.order.line']
|
||||||
rma_line_ids = self.env.context['active_ids'] or []
|
rma_line_ids = self.env.context['active_ids'] or []
|
||||||
active_model = self.env.context['active_model']
|
active_model = self.env.context['active_model']
|
||||||
|
|||||||
Reference in New Issue
Block a user