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.
In my custom module, I have a form that I want to be changing the background colour depending on the transaction type. I put the following in my xml file style="background-color:#E6E6FA" but that does not seem to be the correct syntax. Please assist!
<record id="view_dt_fx_transaction_form" model="ir.ui.view">
<field name="arch" type="xml">
<!-- this will be our title of list/tree view -->
<form string="Forex Transaction" style="background-color:#E6E6FA">
<field name="txntype" />
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: 11/20/14, 3:40 AM|
|Seen: 899 times|
|Last updated: 3/16/15, 8:10 AM|