868a77616d
Fixes the translation term import/export logic to support terms inside QWeb templates. Refactored a bit the export code so the babel-based QWeb terms extractor for ./static/src/*.xml files uses the same logic as the regular extractor for ir.ui.views with type QWeb. Server-side QWeb rendering uses a mix of the native view inheritance mechanism and the template inclusion (t-call) mechanism. During rendering the translations are only applied at "template" level, *after* the view inheritance has already been resolved. As a result translations are local to a template, not to the inherited view in which they are actually written. In terms of exporting PO[T] files, this is done by resolving the "root" QWeb template a view belongs to, and using it as the location of the translated term. During import there is one extra quirk for QWeb terms: they need to be linked to the `website` model rather than the actual `ir.ui.view` model they are really pointing to, so the rendering phase can properly recognize them. |
||
---|---|---|
addons | ||
debian | ||
doc | ||
openerp | ||
setup | ||
.gitignore | ||
CONTRIBUTING.md | ||
LICENSE | ||
MANIFEST.in | ||
README.md | ||
odoo.py | ||
openerp-gevent | ||
openerp-server | ||
openerp-wsgi.py | ||
setup.cfg | ||
setup.py |
README.md
Odoo
Odoo is a suite of web based open source business apps.
It's main apps include an Open Source CRM, Website Builder, eCommerce, Project Management, Billing & Accounting, Point of Sale, Human Resources, Marketing, Manufacturing, Purchase Management, ... Each application is standalone but you get a full featured Open Source ERP if you install several apps as they integrate to each others.
Getting started with Odoo development
If you are a developer type the following command at your terminal:
wget -O- https://raw.githubusercontent.com/odoo/odoo/master/odoo.py | python
Then follow the developer tutorial
Packages, tarballs and installers
-
Debian packages
Add this apt repository to your /etc/apt/sources.list file
deb http://nightly.openerp.com/8.0/nightly/deb/ ./
Then type:
$ sudo apt-get update $ sudo apt-get install odoo
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