Odoo Help

Indrabhan Bhamare
On 9/4/15, 7:15 AM

Hello Maurice

try this

my_field = fields.Char(string='My Field', size=10) 

What is the unit of 'size' ?

Maurice Agée
on 9/4/15, 7:40 AM
Hello Maurice

The unit size of the char field is 128 characters


On Fri, Sep 4, 2015 at 5:10 PM, Maurice Agée <maurice.agee@verdotips2.com> wrote:

What is the unit of 'size' ?

Maurice Agée
Sent by Odoo S.A. using Odoo access your messages

Indrabhan Bhamare
on 9/4/15, 8:00 AM

hello Indrabhan, i think 128 is the default number of characters. my question is about the size of characters like "3 mm " .

Maurice Agée
on 9/4/15, 8:35 AM
On 9/7/15, 2:35 AM


You can change the size of the char field in the XML-file :

<field name="my_field" style="font-size:13pt;"/>



Vale Trood

--Vale Trood--

| 5 2 7
Tunis, France
--Vale Trood--

Vale Trood
On 9/4/15, 6:18 AM

Hello Dress Far What is the unit of 'width' in the code " " ?

Maurice Agée
on 9/4/15, 8:37 AM

About This Community

This platform is for beginners and experts willing to share their Odoo knowledge. It's not a forum to discuss ideas, but a knowledge base of questions and their answers.


Odoo Training Center

Access to our E-learning platform and experience all Odoo Apps through learning videos, exercises and Quizz.

Test it now

Question tools

1 follower(s)


Asked: 9/4/15, 6:04 AM
Seen: 809 times
Last updated: 9/7/15, 2:35 AM