From d687c3c12731c27a0f66c3b8cdd48312d23b7c67 Mon Sep 17 00:00:00 2001 From: archetipo Date: Tue, 21 Jul 2015 09:25:23 +0200 Subject: [PATCH] [FIX] defaults value --- auto_backup/model/backup_scheduler.py | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/auto_backup/model/backup_scheduler.py b/auto_backup/model/backup_scheduler.py index bbe24d251..0c3983e0e 100644 --- a/auto_backup/model/backup_scheduler.py +++ b/auto_backup/model/backup_scheduler.py @@ -163,8 +163,8 @@ class db_backup(osv.Model): _defaults = { # 'bkp_dir' : lambda *a : addons_path, 'bkp_dir': '/odoo/backups', - 'host': lambda *a: 'localhost', - 'port': lambda *a: '8069', + 'host': 'localhost', + 'port': '8069', 'name': _get_db_name, 'daystokeepsftp': 30, 'sftpport': 22,