summaryrefslogtreecommitdiff
path: root/addons/document/document_view.xml
diff options
context:
space:
mode:
authorRaphael Collet <rco@openerp.com>2015-06-24 10:24:33 +0200
committerRaphael Collet <rco@openerp.com>2015-07-06 16:58:03 +0200
commit8ddfb1888b9f5ef20f00f2a4c9d5fe3a16c319cf (patch)
tree1c863560deeaf4c31f5a171193e93b509528c3a4 /addons/document/document_view.xml
parentd5a1d7b6ae9711864e03c69271d4b42898d3dcf0 (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