Browse Source

publish muk_autovacuum - 12.0

pull/9/head
MuK IT GmbH 6 years ago
parent
commit
2f6361bd25
  1. 2
      muk_autovacuum/__manifest__.py
  2. 7
      muk_autovacuum/models/rules.py
  3. BIN
      muk_autovacuum/static/xls/muk_autovacuum_rules.xls

2
muk_autovacuum/__manifest__.py

@ -20,7 +20,7 @@
{
'name': 'MuK Autovacuum',
'summary': 'Configure automatic garbage collection',
'version': '12.0.2.1.5',
'version': '12.0.2.1.6',
'category': 'Extra Tools',
'license': 'AGPL-3',
'author': 'MuK IT',

7
muk_autovacuum/models/rules.py

@ -279,6 +279,13 @@ class AutoVacuumRules(models.Model):
else:
return None
@api.model
def get_import_templates(self):
return [{
'label': _('Import Template for Auto Vacuum Rules'),
'template': '/muk_autovacuum/static/xls/muk_autovacuum_rules.xls'
}]
#----------------------------------------------------------
# Read
#----------------------------------------------------------

BIN
muk_autovacuum/static/xls/muk_autovacuum_rules.xls

Loading…
Cancel
Save