~txerpa-openerp/openobject-client-web/txerpa

« back to all changes in this revision

Viewing changes to addons/openerp/widgets/form/templates/boolean.mako

  • Committer: Biel - txerpa.com
  • Date: 2013-08-09 12:30:58 UTC
  • mfrom: (4670.2.245 openobject-client-web)
  • Revision ID: biel.massot@txerpa.com-20130809123058-892zu673ti1j8yjd
Actualizo a la ultima revision de trunk. Hay muchos bugs correjidos desde 2012. Elimino la revision 4873 por problemas de rendimiento en el dashboard de Contabilidad

Show diffs side-by-side

added added

removed removed

Lines of Context:
5
5
        name="${name}" 
6
6
        id="${name}" 
7
7
        value="${value}"
8
 
        ${py.attrs(attrs)}>
 
8
        ${py.attrs(attrs, fld_readonly=readonly and 1 or 0)}>
9
9
    <input
10
10
        type="checkbox" 
11
11
        kind="${kind}" 
12
12
        class="checkbox"
13
13
        id="${name}_checkbox_" 
14
14
        ${py.checker(value)}
15
 
        ${py.attrs(attrs)}>
 
15
        ${py.attrs(attrs, fld_readonly=readonly and 1 or 0)}>
16
16
    % if error:
17
17
        <span class="fielderror">${error}</span>
18
18
    % endif