Browse Source
Addons configuration parameter is now a field part of the Authentication group from base_setup[C
pull/34/head
Addons configuration parameter is now a field part of the Authentication group from base_setup[C
pull/34/head
Laurent Mignon (aka lmi)
10 years ago
4 changed files with 38 additions and 63 deletions
-
2auth_from_http_remote_user/__openerp__.py
-
3auth_from_http_remote_user/controllers/main.py
-
43auth_from_http_remote_user/res_config.py
-
41auth_from_http_remote_user/res_config_view.xml
@ -1,39 +1,18 @@ |
|||
<?xml version="1.0" encoding="utf-8"?> |
|||
<openerp> |
|||
<data> |
|||
<record model="ir.ui.view" id="help_view_config_settings"> |
|||
<field name="name">Auth HTTP_REMOTE_USER settings</field> |
|||
<field name="model">auth_from_http_remote_user.config.settings</field> |
|||
<field name="priority" eval="20" /> |
|||
<record id="view_general_configuration" model="ir.ui.view"> |
|||
<field name="name">base.config.settings.auth_from_http_remote_user</field> |
|||
<field name="model">base.config.settings</field> |
|||
<field name="inherit_id" ref="base_setup.view_general_configuration" /> |
|||
<field name="arch" type="xml"> |
|||
<form string="Configure Auth HTTP_REMOTE_USER" version="7.0" |
|||
class="oe_form_configuration"> |
|||
<header> |
|||
<header> |
|||
<button string="Apply" type="object" name="execute" class="oe_highlight"/> |
|||
or |
|||
<button string="Cancel" type="object" name="cancel" class="oe_link"/> |
|||
</header> |
|||
</header> |
|||
<separator string="Auth HTTP_REMOTE_USER" /> |
|||
<group> |
|||
<field name="default_login_page_disabled" /> |
|||
</group> |
|||
</form> |
|||
<xpath expr="//field[@name='module_auth_oauth']/.." position="after"> |
|||
<div> |
|||
<field name="default_login_page_disabled" class="oe_inline" /> |
|||
<label for="default_login_page_disabled" /> |
|||
</div> |
|||
</xpath> |
|||
</field> |
|||
</record> |
|||
|
|||
<record model="ir.actions.act_window" id="auth_from_http_remote_user_action_config_settings"> |
|||
<field name="name">Configure Auth HTTP_REMOTE_USER</field> |
|||
<field name="type">ir.actions.act_window</field> |
|||
<field name="res_model">auth_from_http_remote_user.config.settings</field> |
|||
<field name="view_mode">form</field> |
|||
<field name="target">inline</field> |
|||
</record> |
|||
|
|||
<menuitem id="base.menu_auth_from_http_remote_user_config" name="Auth HTTP_REMOTE_USER" |
|||
parent="base.menu_config" sequence="10" |
|||
action="auth_from_http_remote_user_action_config_settings" /> |
|||
|
|||
</data> |
|||
</openerp> |
Write
Preview
Loading…
Cancel
Save
Reference in new issue