diff options
| author | Raphael Collet <rco@openerp.com> | 2015-06-24 10:24:33 +0200 |
|---|---|---|
| committer | Raphael Collet <rco@openerp.com> | 2015-07-06 16:58:03 +0200 |
| commit | 8ddfb1888b9f5ef20f00f2a4c9d5fe3a16c319cf (patch) | |
| tree | 1c863560deeaf4c31f5a171193e93b509528c3a4 /addons/document/document_view.xml | |
| parent | d5a1d7b6ae9711864e03c69271d4b42898d3dcf0 (diff) | |
[IMP] models, fields: handle the case where field.translate is a callable
Using `field.translate(callback, value)` returns the translation of the given
field value by using the function `callback` to translate simple terms in
`value`. In practice, the function `callback` uses a translation mapping
retrieved from `ir.translation`.
Diffstat (limited to 'addons/document/document_view.xml')
0 files changed, 0 insertions, 0 deletions
