23b8f160d3
In order to ensure that the conversion is at least sensible, we test the output of strftime and babel on the same pattern (after conversion from POSIX to LDML for Babel). This requires that both use the same locale. Previously, the default locale was being used(-ish), but it turns out when the locale is unset (getdefaultlocale() returns (None, None) ``strftime`` still manages to use some sort of default locale (C?), whereas Babel will yield the locale None. It turns out the runbot executes the server with no locale-related envvar set, and thus hits this very issue. Assume there are no concurrent tests being run and use setlocale to try and ensure strftime and babel see the same locale. Also, remove tests on %x and %X, turns out libc and babel generally have very different ideas about what constitutes a "national representation" of a date or time, so the patterns don't match in the first place. And I found no way to expand %x/%X into its sub-patterns. bzr revid: xmo@openerp.com-20140108162817-n5gd2oryaszf099k |
||
---|---|---|
addons | ||
debian | ||
doc | ||
history | ||
install | ||
openerp | ||
openerpcommand | ||
scripts | ||
win32 | ||
.bzrignore | ||
LICENSE | ||
LICENSE.web | ||
MANIFEST.in | ||
README | ||
README.web | ||
oe | ||
oe-bash-completion | ||
openerp-gevent | ||
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/)