4fe0c6bd60d3d092f69a1fec213ddcb9d5eeb8a6
A log analysis showed that the normalized query below was executed very often with a slow explain plan using a seq scan. ```sql SELECT move_id, date FROM account_move_line WHERE journal_id = <journal_id> AND period_id = <period_id> AND create_uid = <user_id> AND state = 'draft' ORDER BY id DESC LIMIT 0; ``` This query is called in the _default_get of account.move.line to find the last unbalanced move line. The existing index can be improved to cover this query as well, showing an impressive improvement of the explain plan as explained here: https://github.com/odoo/odoo/pull/7430#issuecomment-119521031 Closes #7430
…
…
About OpenERP
-------------
OpenERP is an OpenSource/Free software Enterprise Resource Planning and
Customer Relationship Management software. More info at:
http://www.openerp.com
Installation on Debian/Ubuntu
-----------------------------
Add the the apt repository
deb http://nightly.odoo.com/7.0/nightly/deb/ ./
in your source.list and type:
$ sudo apt-get update
$ sudo apt-get install openerp
Or download the deb file and type:
$ sudo dpkg -i <openerp-deb-filename>
$ sudo apt-get install install -f
Installation on RedHat, Fedora, CentOS
--------------------------------------
Install the required dependencies:
$ yum install python
$ easy_install pip
$ pip install .....
Install the openerp rpm
$ rpm -i openerp-VERSION.rpm
Installation on Windows
-----------------------
Check the notes in setup.py
Installation on MacOSX
-----------------------
Setting up your first database
------------------------------
Point your browser to http://localhost:8069/ and click "Manage Databases", the
default master password is "admin".
Detailed System Requirements
----------------------------
The dependencies are listed in setup.py
For Luxembourg localization, you also need:
pdftk (http://www.pdflabs.com/tools/pdftk-the-pdf-toolkit/)
Languages
Python
49.6%
JavaScript
47.8%
SCSS
2%
CSS
0.3%
HTML
0.2%