Browse Source

[FIX] defaults value

pull/614/head
archetipo 10 years ago
committed by Dave Lasley
parent
commit
006a1e8a86
  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