Fields.related fields cause recursion on copy(), fields.related calls write() with unrelated model and fields!
Affects | Status | Importance | Assigned to | Milestone | ||
---|---|---|---|---|---|---|
Odoo Server (MOVED TO GITHUB) | Status tracked in Trunk | |||||
5.0 |
Fix Released
|
High
|
Unassigned | |||
Trunk |
Fix Released
|
High
|
Unassigned |
Bug Description
I create partner with 2 partner adresss and after I tried to duplicate this partner and we have this issue :
File "/home/
result += self._columns[
File "/home/
self.
File "/home/
if not t_data[
File "/home/
datas = self._table.
File "/home/
result = self._read_flat(cr, user, select, fields, context, load)
File "/home/
res2 = self._columns[
File "/home/
ids2 = obj.pool.
File "/home/
(qu1, qu2, tables) = self._where_
File "/home/
e = expression.
File "/home/
if not reduce(lambda acc, val: acc and (self._
File "/home/
if not reduce(lambda acc, val: acc and (self._
File "/home/
and (((not internal) and element[1] in OPS) \
RuntimeError: maximum recursion depth exceeded in cmp
Changed in openobject-server: | |
importance: | Undecided → Medium |
milestone: | none → 5.2 |
status: | New → Confirmed |
summary: |
- Fields.related fields cause recursion on copy() + Fields.related fields cause recursion on copy(), fields.related calls + write() with unrelated model and fields! |
Hello,
Can you please and apply this patch?
Thanks.