0167acbb52
In the website editor, the translations are loaded using the route 'get_view_translations', which returns the translations of the templates loaded by the website (t-call calls) The thing is, report templates use the 'translate_doc' method to actually load the report, translated in the partner language, and the templates loaded by this method are not seen by the website, therefore, when calling 'get_view_translations', those report templates were just ignored, thus their translations are not loaded. This rev. injects the templates loaded with translate_doc when rendering the report into the method 'customize_template_get' (which is used by 'get_view_translations' to retrieve the loaded templates). The translations of the reports are therefore now loaded corretly when hitting the "translate" button in the website editor for reports. Besides, this rev. has as (good) side-effect to add the template, in the template selection input when editing using the HTML editor. opw-620713 |
||
---|---|---|
addons | ||
debian | ||
doc | ||
openerp | ||
setup | ||
.gitignore | ||
.mailmap | ||
CONTRIBUTING.md | ||
LICENSE | ||
MANIFEST.in | ||
Makefile | ||
README.md | ||
odoo.py | ||
openerp-gevent | ||
openerp-server | ||
openerp-wsgi.py | ||
requirements.txt | ||
setup.cfg | ||
setup.py |
README.md
Odoo
Odoo is a suite of web based open source business apps.
The main Odoo Apps include an Open Source CRM, Website Builder, eCommerce, Project Management, Billing & Accounting, Point of Sale, Human Resources, Marketing, Manufacturing, Purchase Management, ...
Odoo Apps can be used as stand-alone applications, but they also integrate seamlessly so you get a full-featured Open Source ERP when you install several Apps.
Getting started with Odoo
For a standard installation please follow the Setup instructions from the documentation.
If you are a developer you may type the following command at your terminal:
wget -O- https://raw.githubusercontent.com/odoo/odoo/8.0/odoo.py | python
Then follow the developer tutorials
For Odoo employees
To add the odoo-dev remote use this command:
$ ./odoo.py setup_git_dev
To fetch odoo merge pull requests refs use this command:
$ ./odoo.py setup_git_review