Browse Source

[ADD] graph view on attempts;

pull/262/head
Sylvain LE GAL 9 years ago
parent
commit
088ea5237b
  1. 2
      auth_brute_force/views/action.xml
  2. 10
      auth_brute_force/views/view.xml

2
auth_brute_force/views/action.xml

@ -24,7 +24,7 @@
<field name="name">Authentication Attempts</field>
<field name="res_model">res.authentication.attempt</field>
<field name="view_type">form</field>
<field name="view_mode">tree</field>
<field name="view_mode">tree,graph</field>
<field name="context">{"search_default_filter_no_success":1}</field>
</record>

10
auth_brute_force/views/view.xml

@ -33,6 +33,16 @@
</field>
</record>
<record id="view_res_authentication_attempt_graph" model="ir.ui.view">
<field name="model">res.authentication.attempt</field>
<field name="arch" type="xml">
<graph>
<field name="attempt_date" />
<field name="result" />
</graph>
</field>
</record>
<record id="view_res_authentication_attempt_search" model="ir.ui.view">
<field name="model">res.authentication.attempt</field>
<field name="arch" type="xml">

Loading…
Cancel
Save