mirror of
https://github.com/OCA/web.git
synced 2025-02-22 13:21:25 +02:00
[IMP] web_responsive: Redirect to home after login
Redirect to the home page after login will occur only if the user has enabled the 'Redirect to Home' configuration in their user profile settings
This commit is contained in:
@@ -61,4 +61,17 @@
|
||||
]"
|
||||
/>
|
||||
</record>
|
||||
|
||||
<record id="view_users_form_web_responsive" model="ir.ui.view">
|
||||
<field name="name">res.users.form.web.responsive</field>
|
||||
<field name="model">res.users</field>
|
||||
<field name="inherit_id" ref="base.view_users_form" />
|
||||
<field name="arch" type="xml">
|
||||
<data>
|
||||
<field name="action_id" position="after">
|
||||
<field name="is_redirect_home" invisible="action_id" />
|
||||
</field>
|
||||
</data>
|
||||
</field>
|
||||
</record>
|
||||
</odoo>
|
||||
|
||||
Reference in New Issue
Block a user