diff options
| author | Xavier Morel <xmo@openerp.com> | 2013-09-26 15:38:50 +0200 |
|---|---|---|
| committer | Xavier Morel <xmo@openerp.com> | 2013-09-26 15:38:50 +0200 |
| commit | 789c0d8a6ba61c6c564d3a0a6c29ca72f2ccdbfe (patch) | |
| tree | 7d212f7ebfd7feb2d186b1ae2a5b2772436801ff /addons/analytic_user_function | |
| parent | 2837c1dc27dac958ffa37d82bc34a56b8860fbc9 (diff) | |
[ADD] Conversions from field values to "html" content
> many2one --> mettre <br/> si multi-line, html escape le reste (ex:
> adresse sur un event, on a du mettre dans un <pre> mais ce n'est pas
> bien)
> text --> mettre <br/> si multi-line, html escape le reste (ex:
> description d'un produit, à droite)
> char --> normalement pas de multi-line
> fields.binary --> t-field on image field ne semble pas fonctionner
> en écriture (la photo d'une fiche produit)
(validates that the binary field's content is image data by opening it
with PIL, then generates an <img> tag)
TODO:
> fields.float --> utiliser le digits pour formatter les decimals
> correctement (ex: prix d'un produit, à deux décimales)
> On aura aussi besoin d'un widget="currency", un peu comme dans la
> vue form du client web.
bzr revid: xmo@openerp.com-20130926133850-ab14h241q878jbom
Diffstat (limited to 'addons/analytic_user_function')
0 files changed, 0 insertions, 0 deletions
