Browse Source

defaults value

pull/636/head
archetipo 9 years ago
committed by Dave Lasley
parent
commit
d27fc7a892
  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