Hello all,
For example, I would want this field has the class="residual" in the final html source code of the form view. So, I could select it with css after.
How to attrib this custom class?
For example this class "residual" doesn't appear on the final source code of the page :
<field name="residual" class="residual" groups="account.group_account_user" widget="monetary" options="{'currency_field': 'currency_id'}"/>
Thanks
UPDATE #1
I have also tried this one. "residual" class still not appears in the HTML source code.
<field name="residual" cssclass="residual" groups="account.group_account_user" widget="monetary" options="{'currency_field': 'currency_id'}"/>
UPDATE #2
This line doesn't have effect too.
<field name="residual" style="color:red;" groups="account.group_account_user" widget="monetary" options="{'currency_field': 'currency_id'}"/>
Are you asking how to add new CSS to Odoo then?
my new styles.css sheet is already loaded in the source html. but I can't find a selector to get this field only! thanks