openerp - Please how to set fix size of box in form view odoo 8 -
how can fix size of box in form view on 0doo 8
in `xmlù group :
<field name="taxe"/> in py file :
'taxe' : fields.selection([('17','17 %'),('12','12 %'),('10','10 %')],'taxe etablissement'), 
you can use attribute style on xml field definition, example:
<field name="field_x" style="width:50%%" /> or
<field name="field_y" style="width:100px" /> percentage use space given parent element. if uses 2 columns layout (typical odoo groups) 50% use 25% of full width. don't forget escape '%'.
Comments
Post a Comment