summaryrefslogtreecommitdiff
path: root/doc/reference/testing.rst
diff options
context:
space:
mode:
authorDamien Bouvy <dbo@odoo.com>2016-08-22 17:26:16 +0200
committerDamien Bouvy <dbo@odoo.com>2016-08-22 17:27:25 +0200
commitb70f159f3a24dbc8a83f6d577bc36d52b75385d8 (patch)
tree97b3e7df99e831b9265fb2f97db5cf51fb1c9c36 /doc/reference/testing.rst
parent38c1d6fd699d5adfbb0364f894e43dcadcbfa732 (diff)
[FIX] product: avoid duplicates in name search
A typo probably introduced during the migration to the new api may have caused duplicates to appear in the name search results since it added the ids of the wrong recordset. The previous fix, while effective, also removed a previous optimization for databases with a lot of products. While the code may seem obscure on first read, the comments should shed some light on the implementation choice. This commit therefore reintroduce the previous code with the exception of the call to the wrong recordset (self instead of products). Amends b02a85f Courtesy of @rco-odoo
Diffstat (limited to 'doc/reference/testing.rst')
0 files changed, 0 insertions, 0 deletions