The way attachments are linked to the document has been cleaned. Posting method message_post may receives 2 arguments: - attachment_ids: those linked to the wizard model (mail.compose.message) are linked to the document (res_model, res_id) - attachments: the tuples are used to create new attachments linked to the document The wizard does not set the res_model and res_id of attachments anymore, delegating this job to message_post. The mail.message and mail.compose.message now use their respective attachment_ids field when possible. This is done instead of reading/creating new attachments based on the attachments tuple each time a mail.compose.message is processed. Email templates now also use attachment_ids, in particular when generating emails, instead of using the attachments tuple. Only reports are still generated on the fly and put into attachments instead of attachment_ids. A cron job has been added to unlink 'lost' attachments. Those are attachments: - linked to 'mail.compose.message' - with res_id=0 (due Chatter used in minimal mode or reports generated by templates before the wizard has an ID) - with no activity for more than one day (create_date and write_date) bzr revid: tde@openerp.com-20130411112033-mqph9vjlcjkoolfs |
||
---|---|---|
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/)