You can not select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
24 lines
899 B
24 lines
899 B
<?xml version="1.0" encoding="UTF-8"?>
|
|
<odoo>
|
|
<record id="view_users_tree" model="ir.ui.view">
|
|
<field name="model">res.users</field>
|
|
<field name="inherit_id" ref="base.view_users_tree" />
|
|
<field name="arch" type="xml">
|
|
<tree position="attributes">
|
|
<attribute name="colors">color_field: lang</attribute>
|
|
</tree>
|
|
<field name="login_date" position="attributes">
|
|
<attribute name="options">{
|
|
"bg_color": "#9e1635: login_date == False",
|
|
"fg_color": "white: login_date == False"
|
|
}</attribute>
|
|
</field>
|
|
<field name="name" position="attributes">
|
|
<attribute name="options"> {
|
|
"bg_color": "blue; #653b5b: login == 'admin'",
|
|
"fg_color": "white"
|
|
}</attribute>
|
|
</field>
|
|
</field>
|
|
</record>
|
|
</odoo>
|