a23468c845425f3187c9c76dd2200fb9a1c9f3ab
For these function fields, bypassing the ORM, using a SQL query, improves the execution time by 100 for a set of 80 timesheets in a database with - 250K `hr.analytic.timesheet` & - 250K `hr.attendance`. These function fields depends on a one2many field which use the SQL view `hr_timesheet_sheet_sheet_day`. When performing `sheet.period_ids`, two SQL requests are performed, - the first just to know the ids in the sql view matching this sheet - the second to read the fields `total_attendance` & `total_timesheet` and the request is performed on the entire set of lines of this view (~250K lines in the observed use case) while, when replaced by this SQL request, only one request is performed, on a restricted set of lines, speeding up significantly the computation of these computed fields for smaller sets of sheets. opw-653447
…
…
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%