56dbd6078e
The use_parent_address field is not directly related to the address type field and was not really meant to be hidden along with it. In addition, the div[@name=div_type] and the corresponding label[@for=type] were duplicated in the embedded form view inside the `child_ids` field, but that happened later in the 7.0 series. As a consequence the inherited view must not rely on the presence of the latter, since some users may install sales on top of an older version of the base views. The XPath expressions were therefore modified to match the first occurrence of these elements in the original res.partner view, and to match *only* the second occurrence in the new version of the view. This works via a dirty hack relying on the fact that the `use_parent_address` field is present in the first occurrence of the div in the original view, but not in the newer view, so the XPath expression can be made to match only *one* element in each version of the view. (Keep in mind that XPath evaluation will always return results in the order of the document being looked up, and the ORM only uses the first match. So matching both nodes was not an option.) bzr revid: odo@openerp.com-20130429105458-r89mnkx8okdxsdld |
||
---|---|---|
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/)