Browse Source
[FIX] actually purge selected lines when purging selections
pull/1506/head
Holger Brunn
6 years ago
No known key found for this signature in database
GPG Key ID: 1C9760FECA3AE18
8 changed files with
8 additions and
20 deletions
-
database_cleanup/views/create_indexes.xml
-
database_cleanup/views/purge_columns.xml
-
database_cleanup/views/purge_data.xml
-
database_cleanup/views/purge_menus.xml
-
database_cleanup/views/purge_models.xml
-
database_cleanup/views/purge_modules.xml
-
database_cleanup/views/purge_properties.xml
-
database_cleanup/views/purge_tables.xml
|
@ -39,7 +39,7 @@ |
|
|
<field name="type">ir.actions.server</field> |
|
|
<field name="type">ir.actions.server</field> |
|
|
<field name="state">code</field> |
|
|
<field name="state">code</field> |
|
|
<field name="model_id" ref="database_cleanup.model_cleanup_create_indexes_line" /> |
|
|
<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> |
|
|
|
|
|
|
|
|
<record id="cleanup_create_indexes_line_action_value" model="ir.values"> |
|
|
<record id="cleanup_create_indexes_line_action_value" model="ir.values"> |
|
|
|
@ -37,9 +37,7 @@ |
|
|
<field name="type">ir.actions.server</field> |
|
|
<field name="type">ir.actions.server</field> |
|
|
<field name="state">code</field> |
|
|
<field name="state">code</field> |
|
|
<field name="model_id" ref="database_cleanup.model_cleanup_purge_line_column" /> |
|
|
<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> |
|
|
|
|
|
|
|
|
<record id="action_purge_column_line_value" model="ir.values"> |
|
|
<record id="action_purge_column_line_value" model="ir.values"> |
|
|
|
@ -37,9 +37,7 @@ |
|
|
<field name="type">ir.actions.server</field> |
|
|
<field name="type">ir.actions.server</field> |
|
|
<field name="state">code</field> |
|
|
<field name="state">code</field> |
|
|
<field name="model_id" ref="database_cleanup.model_cleanup_purge_line_data" /> |
|
|
<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> |
|
|
|
|
|
|
|
|
<record id="action_purge_data_line_value" model="ir.values"> |
|
|
<record id="action_purge_data_line_value" model="ir.values"> |
|
|
|
@ -33,9 +33,7 @@ |
|
|
<field name="type">ir.actions.server</field> |
|
|
<field name="type">ir.actions.server</field> |
|
|
<field name="state">code</field> |
|
|
<field name="state">code</field> |
|
|
<field name="model_id" ref="database_cleanup.model_cleanup_purge_line_menu" /> |
|
|
<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> |
|
|
|
|
|
|
|
|
<record id="action_purge_menu_line_value" model="ir.values"> |
|
|
<record id="action_purge_menu_line_value" model="ir.values"> |
|
|
|
@ -33,9 +33,7 @@ |
|
|
<field name="type">ir.actions.server</field> |
|
|
<field name="type">ir.actions.server</field> |
|
|
<field name="state">code</field> |
|
|
<field name="state">code</field> |
|
|
<field name="model_id" ref="database_cleanup.model_cleanup_purge_line_model" /> |
|
|
<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> |
|
|
|
|
|
|
|
|
<record id="action_purge_model_line_value" model="ir.values"> |
|
|
<record id="action_purge_model_line_value" model="ir.values"> |
|
|
|
@ -33,9 +33,7 @@ |
|
|
<field name="type">ir.actions.server</field> |
|
|
<field name="type">ir.actions.server</field> |
|
|
<field name="state">code</field> |
|
|
<field name="state">code</field> |
|
|
<field name="model_id" ref="database_cleanup.model_cleanup_purge_line_module" /> |
|
|
<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> |
|
|
|
|
|
|
|
|
<record id="action_purge_module_line_value" model="ir.values"> |
|
|
<record id="action_purge_module_line_value" model="ir.values"> |
|
|
|
@ -33,7 +33,7 @@ |
|
|
<field name="type">ir.actions.server</field> |
|
|
<field name="type">ir.actions.server</field> |
|
|
<field name="state">code</field> |
|
|
<field name="state">code</field> |
|
|
<field name="model_id" ref="database_cleanup.model_cleanup_purge_line_property" /> |
|
|
<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> |
|
|
|
|
|
|
|
|
<record id="action_purge_property_line_value" model="ir.values"> |
|
|
<record id="action_purge_property_line_value" model="ir.values"> |
|
|
|
@ -33,9 +33,7 @@ |
|
|
<field name="type">ir.actions.server</field> |
|
|
<field name="type">ir.actions.server</field> |
|
|
<field name="state">code</field> |
|
|
<field name="state">code</field> |
|
|
<field name="model_id" ref="database_cleanup.model_cleanup_purge_line_table" /> |
|
|
<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> |
|
|
|
|
|
|
|
|
<record id="action_purge_table_line_value" model="ir.values"> |
|
|
<record id="action_purge_table_line_value" model="ir.values"> |
|
|