11a0ece543
JS objects are converted to py.object when passed in through the evaluation context. py.object are not serializable by default (because that doesn't really make sense), which breaks when the input is intended as a dict and returned (e.g. o2m values, which are triples of (int, int?, dict?)). Intuitively, JS objects passed as part of the context should be mostly JSON-ish and thus dicts, but that turns out not work work as some addons use attribute accesses within contexts (e.g. parent.access in account/account_invoice_view.xml) => Temporarily solve by converting raw js objects to an "attributed dict" which acts as both a dict and an object and can be converted to JSON. Ideally, py.js should provide for a pluggable conversion, or should use an attributed mapping internally. See issues 21 and 23. lp bug: https://launchpad.net/bugs/1182101 fixed bzr revid: xmo@openerp.com-20130624055929-3rtkgqrp4o87pvau |
||
---|---|---|
addons | ||
debian | ||
doc | ||
history | ||
install | ||
openerp | ||
scripts | ||
win32 | ||
.bzrignore | ||
LICENSE | ||
LICENSE.web | ||
MANIFEST.in | ||
README | ||
README.web | ||
openerp-server | ||
openerp-wsgi.py | ||
setup.cfg | ||
setup.nsi | ||
setup.py | ||
setup_rpm.sh |
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/)