From d27fc7a892aa1119777a416fafb6c331c3ba73f4 Mon Sep 17 00:00:00 2001 From: archetipo Date: Tue, 21 Jul 2015 09:25:23 +0200 Subject: [PATCH] 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,