Skip to content
Snippets Groups Projects
Commit 8ddfb188 authored by Raphael Collet's avatar Raphael Collet
Browse files

[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`.
parent d5a1d7b6
Branches
Tags
No related merge requests found
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment