Code review comment for lp:~jbaudoux/anybox.recipe.openerp/20130908_relative_paths

Revision history for this message
Georges Racinet (gracinet) wrote :

OpenERP has a tendency to interpret paths relative to what if feels to be its home directory, namely the parent dir of the 'openerp' package.

In our case that's self.openerp_dir, so maybe you could work out something with os.path.relpath based on it ?

I don't know if that's true for addons, but it is for log files : bin/start_openerp --log-file=my.log will put the log file at <buildout_dir>/parts/<server part location>/my.log

One of the many reasons we wanted to normalize stuff in upgrade scripts (easy to forget to write down in maintainance procedures).

« Back to merge proposal