7c629a31ccae74fa7a61d3c81fc39e5a23628424
After saving, the formview would both refresh the form and lauch the action itself, which launches a refresh of its own. Issue is that o2m's filling of themselves (a read) is async and triggered by the set_value on the o2m field, so the second reload of the form would be interspersed (between the first reload and the end of the o2ms loading), resulting in corrupted state for the o2ms if the button's action somehow changed the contents of the o2m (it would remove the old records and return brand new ids during the refresh): the set_value on the o2m would empty the o2m's dataset cache, and the returning fetch request would try to find in cache values removed from it, or something, blowing up everything. Anyway, this was fixed by ensuring the button action is only executed after the form is completely done doing its post-save reload (using the new async set_value). This is a tiny bit brittle in that onchanges are synchronous but call set_value, so a set_value on an o2m from an onchange may have issues. It also increases the flicker of the view, as the o2m is reloaded twice in quick succession. lp bug: https://launchpad.net/bugs/885658 fixed bzr revid: xmo@openerp.com-20111117161426-72jzhvv3dm387uom
…
…
…
…
About OpenERP
-------------
OpenERP is an OpenSrouce/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 in your source.list and type:
$ apt-get install openerp
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
-----------------------
Installation on MacOSX
-----------------------
Setuping you first database
---------------------------
Point your browser to http://localhost:8069/ and click "Database", the default
master password is "admin".
Detailed System Requirements
----------------------------
You need the following software installed:
python, postgresql-client, python-dateutil, python-gdata, python-ldap,
python-libxslt1, python-lxml, python-mako, python-openid, python-psycopg2,
python-pybabel, python-pychart, python-pydot, python-pyparsing,
python-reportlab, python-simplejson, python-tz, python-vobject, python-webdav,
python-werkzeug, python-yaml, python-zsi, graphviz, ghostscript, postgresql,
python-imaging, python-matplotlib
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%