Browse Source

[FIX] defaults value

pull/203/head
archetipo 9 years ago
parent
commit
6174ea93cc
  1. 4
      auto_backup/model/backup_scheduler.py

4
auto_backup/model/backup_scheduler.py

@ -163,8 +163,8 @@ class db_backup(osv.Model):
_defaults = { _defaults = {
# 'bkp_dir' : lambda *a : addons_path, # 'bkp_dir' : lambda *a : addons_path,
'bkp_dir': '/odoo/backups', 'bkp_dir': '/odoo/backups',
'host': lambda *a: 'localhost',
'port': lambda *a: '8069',
'host': 'localhost',
'port': '8069',
'name': _get_db_name, 'name': _get_db_name,
'daystokeepsftp': 30, 'daystokeepsftp': 30,
'sftpport': 22, 'sftpport': 22,

Loading…
Cancel
Save