Go to file
Sandy 3b7e00d718 [FIX] orm: prevent pgerrors from raising `UnicodeDecodeError`
Use `tools.ustr` for error conversion to prevent `UnicodeDecodeError` when
converting errors which can be unicode in depending on data.

Example:
```python
from openerp.osv.orm import convert_pgerror_23505
from psycopg2 import IntegrityError

e = IntegrityError(
    'duplicate key value violates unique constraint '
    '"hr_job_name_company_uniq"\nDETAIL:  '
    'Key (name, company_id)=(Directrice comptabilit\xc3\xa9, 1) '
    'already exists.\n'
)

convert_pgerror_23505(None, [], None, e)

UnicodeDecodeError: 'ascii' codec can't decode byte 0xc3 in position 129: ordinal not in range(128)
```
2015-01-12 15:35:23 +01:00
addons [FIX] web: avoid rendering fields on one2many list validation 2015-01-09 18:10:38 +01:00
debian [FIX] packaging: debian: references to README.md removed 2014-12-24 09:45:10 +01:00
doc [IMP] update the documentation patch 2013-09-04 14:58:42 +02:00
history [IMP] use exact writing for fsf address 2013-05-14 16:29:26 +02:00
openerp [FIX] orm: prevent pgerrors from raising `UnicodeDecodeError` 2015-01-12 15:35:23 +01:00
scripts [IMP] disable the document_ftp in the run_all_with_test script 2012-09-04 12:29:25 +02:00
setup [REF] Packaging: Backport of v8 packaging 2014-12-19 17:31:35 +01:00
.gitignore [IMP] .gitignore maintenance migration scripts 2014-10-29 19:49:26 +01:00
LICENSE [IMP] license: renamed general license file, and included note about other applicable licenses 2010-12-08 14:33:25 +01:00
LICENSE.web Put back readme and license 2012-10-11 10:52:18 +02:00
MANIFEST.in [FIX] packaging: debian: references to README.md removed 2014-12-24 09:45:10 +01:00
Makefile [IMP] *: one Makefile to rules them all. 2014-11-05 19:30:28 +01:00
README [IMP] improve experience on for openerp developers on windows, notes in setup.py and fix some imports 2012-11-07 02:57:08 +01:00
README.web Put back readme and license 2012-10-11 10:52:18 +02:00
openerp-server openerp apps main moved to cli ready for new commands 2012-11-27 01:55:13 +01:00
openerp-wsgi.py [IMP] remove shebang 2013-05-14 13:40:45 +02:00
setup.cfg [REF] Packaging: Backport of v8 packaging 2014-12-19 17:31:35 +01:00
setup.py [REF] Packaging: Backport of v8 packaging 2014-12-19 17:31:35 +01:00

README

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.openerp.com/6.1/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
-----------------------

Setuping you 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/)