Odoo is the world's easiest all-in-one management software. It includes hundreds of business apps:
CRM | e-Commerce | Accounting | Inventory | PoS | Project management | MRP | etc.
Tables types are already there in ODOO, like Condensed, bordered, etc.
I want to design my own table. Let me know any possible CSS or other way to do it.
You can apply as much CSS as you want in Odoo. You can do this either inline (in the XML file) or by adding a new CSS file to your module.The inline code works just as if you write in HTML. A little example:
<table border="1" style="width:100%;"> <tr style="font-weight:bold;"> <td>Jill</td> <td>Smith</td> </tr> <tr> <td>Eve</td> <td>Jackson</td> </tr> <tr> <td>John</td> <td>Doe</td> </tr> </table>
You can view a fiddle here: https://jsfiddle.net/cc72g35v/1/
If you want to work with a CSS file you can include it in your __openerp__py like this:
'css': ['static/src/css/my_css.css'], }
You can make use of all available table defined in the bootstrap.css
If you want to use your own design , it is possible by defining the css inside the style tag of you template
border: 5px solid green;
I think this will help you.
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.Register
Odoo Training Center
Access to our E-learning platform and experience all Odoo Apps through learning videos, exercises and Quizz.Test it now
|Asked: 10/22/15, 6:35 AM|
|Seen: 4614 times|
|Last updated: 10/26/16, 6:52 AM|