In this article you will learn how to align left [float, integer] fields in Tree View. As we know that Odoo fields such as numbers (float and integer) are by default right aligned in tree / list view. As you can see in below screen shot.
Change Text Alignment of Float Field
I will show you how to left align Odoo fields [float, integer] in tree views. To left align float and integer fields in Odoo list or tree views follow these steps.
Read More: How to Create and Use Binary Field in Odoo
1. Go to following path.
C:\Program Files\Odoo 8.0 20151219\server\openerp\addons\web\static\src\css
2. You will see the following files.
4. Now search or find “.openerp .oe_list_content td.oe_number” (without double quotes)
5. Change text-align : right to “left” (without double quotes) in line no 2718 and save the file.
6. Now you will see that we have done this.
2 Comments
very good
ReplyDeletethanks dude :) i am alwAys there for ur help.
Delete