lp:~openerp-dev/openobject-server/6.1-opw-577963-odo
- Get this branch:
- bzr branch lp:~openerp-dev/openobject-server/6.1-opw-577963-odo
Branch merges
- OpenERP Core Team: Pending requested
-
Diff: 37 lines (+13/-4)1 file modifiedopenerp/addons/base/ir/ir_attachment.py (+13/-4)
Branch information
Recent revisions
- 4261. By Olivier Dony (Odoo)
-
[FIX] OPW 577963: ir.attachment: finish previous fix by restoring original sort order
- 4260. By Olivier Dony (Odoo)
-
[FIX] OPW 577963: ir_attachment: speed up ir.attachment search for large databases
Frequents calls to list.remove() were being a bottleneck for large
document lists (100k+). Using a set make remove() calls much faster.Also turned a read() into a pure SQL command, as its high-level
features were unnecessary (security checks performed before and
after it anyways) and it was 50% slower than the direct SQL version.This commit has a corresponding addons patch in order to use a set
instead of a list in the document module as well. - 4259. By Olivier Dony (Odoo)
-
[MERGE] OPW 576295: ir_attachment: fix regression/typo introduced in r.4069
count is explicitly set to False in order to
filter the results coming from upstream before
doing the actual count
Branch metadata
- Branch format:
- Branch format 7
- Repository format:
- Bazaar repository format 2a (needs bzr 1.16 or later)
- Stacked on:
- lp:openobject-server/6.1