res_users.xml 904 Bytes
Newer Older
1 2 3 4 5 6 7 8 9
<?xml version="1.0" encoding="utf-8"?>
<odoo>
	<record id="sh_res_users_form_view" model="ir.ui.view">
		<field name="name">res.users</field>
		<field name="model">res.users</field>
		<field name="inherit_id" ref="base.view_users_form" />
		<field name="arch" type="xml">
			<xpath expr="//div[hasclass('oe_title')]//field[@name='partner_id']" position="after">
				<field name="sh_portal_user" invisible="1" />
10
				<field name="sh_portal_user_access" invisible="1" />
11 12 13 14 15 16 17 18 19 20 21 22 23 24
			</xpath>
		</field>
	</record>
	<record id="sh_users_form_simple_inherit_modif" model="ir.ui.view">
		<field name="name">res.users</field>
		<field name="model">res.users</field>
		<field name="inherit_id" ref="base.view_users_form_simple_modif" />
		<field name="arch" type="xml">
			<xpath expr="//field[@name='signature']" position="after">
                <field name="sign" />
            </xpath>
		</field>
	</record>
</odoo>