2 changed files with 16 additions and 2 deletions
@ -0,0 +1,14 @@ |
|||
<openerp> |
|||
<data> |
|||
<record model="ir.ui.view" id="developer_mode_active_form"> |
|||
<field name="name">DeveloperMode</field> |
|||
<field name="model"></field> |
|||
<field name="inherit_id" ref="web.login"/> |
|||
<field name="arch" type="xml"> |
|||
<xpath expr="//input[@name='redirect']" position='attributes'> |
|||
<attribute name="t-att-value">'%s%sdebug=1' % (redirect or '/web', redirect and '?' in redirect and '&' or '?')</attribute> |
|||
</xpath> |
|||
</field> |
|||
</record> |
|||
</data> |
|||
</openerp> |
Loading…
Reference in new issue