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.
Is there a list with all posibilities for the 'decoration-xxx' attribute for OdooV9? I noticed that full bootstrap support is not given (f.i.: decoration-bg-danger="xxx").
Is it possible to combine the conditional statements?
Example: decoration-info="(duration>5) and (duration<10)"
Is it therefore always necessary to define a state in the python file to be able to use the necessary decoration?
decoration-bf - shows the line in BOLD
decoration-it - shows the line in ITALICS
decoration-danger - shows the line in LIGHT RED
decoration-info - shows the line in LIGHT BLUE
decoration-muted - shows the line in LIGHT GRAY
decoration-primary - shows the line in LIGHT PURPLE
decoration-success - shows the line in LIGHT GREEN
decoration-warning - shows the line in LIGHT BROWN
You can review the RNG file defining the allowable XML tags and attributes at https://github.com/odoo/odoo/blob/9.0/openerp/addons/base/rng/view.rng
As applied to Boolean fields:
<tree decoration-muted="scrapped == True" string="Stock Moves">
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: 4/14/16, 8:27 AM|
|Seen: 2521 times|
|Last updated: 5/25/17, 9:32 AM|