Browse Source

[FIX] actually purge selected lines when purging selections

pull/1506/head
Holger Brunn 5 years ago
parent
commit
128cf47212
No known key found for this signature in database GPG Key ID: 1C9760FECA3AE18
  1. 2
      database_cleanup/views/create_indexes.xml
  2. 4
      database_cleanup/views/purge_columns.xml
  3. 4
      database_cleanup/views/purge_data.xml
  4. 4
      database_cleanup/views/purge_menus.xml
  5. 4
      database_cleanup/views/purge_models.xml
  6. 4
      database_cleanup/views/purge_modules.xml
  7. 2
      database_cleanup/views/purge_properties.xml
  8. 4
      database_cleanup/views/purge_tables.xml

2
database_cleanup/views/create_indexes.xml

@ -39,7 +39,7 @@
<field name="type">ir.actions.server</field>
<field name="state">code</field>
<field name="model_id" ref="database_cleanup.model_cleanup_create_indexes_line" />
<field name="code">env.get('cleanup.create_indexes.line').purge()</field>
<field name="code">records.purge()</field>
</record>
<record id="cleanup_create_indexes_line_action_value" model="ir.values">

4
database_cleanup/views/purge_columns.xml

@ -37,9 +37,7 @@
<field name="type">ir.actions.server</field>
<field name="state">code</field>
<field name="model_id" ref="database_cleanup.model_cleanup_purge_line_column" />
<field name="code">
env.get('cleanup.purge.line.column').purge()
</field>
<field name="code">records.purge()</field>
</record>
<record id="action_purge_column_line_value" model="ir.values">

4
database_cleanup/views/purge_data.xml

@ -37,9 +37,7 @@
<field name="type">ir.actions.server</field>
<field name="state">code</field>
<field name="model_id" ref="database_cleanup.model_cleanup_purge_line_data" />
<field name="code">
env.get('cleanup.purge.line.data').purge()
</field>
<field name="code">records.purge()</field>
</record>
<record id="action_purge_data_line_value" model="ir.values">

4
database_cleanup/views/purge_menus.xml

@ -33,9 +33,7 @@
<field name="type">ir.actions.server</field>
<field name="state">code</field>
<field name="model_id" ref="database_cleanup.model_cleanup_purge_line_menu" />
<field name="code">
env.get('cleanup.purge.line.menu').purge()
</field>
<field name="code">records.purge()</field>
</record>
<record id="action_purge_menu_line_value" model="ir.values">

4
database_cleanup/views/purge_models.xml

@ -33,9 +33,7 @@
<field name="type">ir.actions.server</field>
<field name="state">code</field>
<field name="model_id" ref="database_cleanup.model_cleanup_purge_line_model" />
<field name="code">
env.get('cleanup.purge.line.model').purge()
</field>
<field name="code">records.purge()</field>
</record>
<record id="action_purge_model_line_value" model="ir.values">

4
database_cleanup/views/purge_modules.xml

@ -33,9 +33,7 @@
<field name="type">ir.actions.server</field>
<field name="state">code</field>
<field name="model_id" ref="database_cleanup.model_cleanup_purge_line_module" />
<field name="code">
env.get('cleanup.purge.line.module').purge()
</field>
<field name="code">records.purge()</field>
</record>
<record id="action_purge_module_line_value" model="ir.values">

2
database_cleanup/views/purge_properties.xml

@ -33,7 +33,7 @@
<field name="type">ir.actions.server</field>
<field name="state">code</field>
<field name="model_id" ref="database_cleanup.model_cleanup_purge_line_property" />
<field name="code">env.get('cleanup.purge.line.property').purge()</field>
<field name="code">records.purge()</field>
</record>
<record id="action_purge_property_line_value" model="ir.values">

4
database_cleanup/views/purge_tables.xml

@ -33,9 +33,7 @@
<field name="type">ir.actions.server</field>
<field name="state">code</field>
<field name="model_id" ref="database_cleanup.model_cleanup_purge_line_table" />
<field name="code">
env.get('cleanup.purge.line.table').purge()
</field>
<field name="code">records.purge()</field>
</record>
<record id="action_purge_table_line_value" model="ir.values">

Loading…
Cancel
Save