lp://staging/~therp-nl/openobject-server/7.0-lp1226576-restore_babel_compatibility
- Get this branch:
- bzr branch lp://staging/~therp-nl/openobject-server/7.0-lp1226576-restore_babel_compatibility
Branch merges
- Olivier Dony (Odoo): Approve
-
Diff: 17 lines (+5/-2)1 file modifiedopenerp/tools/translate.py (+5/-2)
Related bugs
Bug #1226576: Translation system not compatible with Babel 1.3 API | Low | Fix Released |
Related blueprints
Branch information
Recent revisions
- 5075. By Christophe Simonis (OpenERP)
-
[FIX] ir.ui.view: properly validate newly created inheriting views
When a new inheriting view is imported during a module
installation, it is validated thanks to the _constraints
on the ir.ui.view model. However the validation uses
a rather convoluted system for validating the whole
view tree at once (root view + all inherited changes)
while only taking into account the views that belong
to modules that are currently loaded.This complicated system is necessary to be able to
operate on-the-fly at any point during the registry
loading/initialization. Now because _constraints are checked during create()
this particular validation happens *before* the
external ID (ir.model.data entry) of that new view
can be created (it obviously needs to wait until
the view record is inserted). As a consequence the
view validation cannot determine the module to
which that new view belongs, and was erroneously
ignoring it.
Changing the view filtering to also include views
that have triggered this check.
Manually created views are not check during registry
update. - 5074. By Martin Trigaux (OpenERP)
-
[MERGE] [FIX] report: Skip register reports that have xsl but no xml
- 5072. By Olivier Dony (Odoo)
-
[FIX] ir.mail_server: be more lenient when validating From address
When a user has their email as name, the system will
construct the From header as "email<email>".
We previously forbade this, because the naive
check only counts the number of emails in
the From header.
We might need to drop that assert or implement
something better in the future.
Branch metadata
- Branch format:
- Branch format 7
- Repository format:
- Bazaar repository format 2a (needs bzr 1.16 or later)
- Stacked on:
- lp://staging/openobject-server