From a0cc9dcb489adebde823191c2f22ffc2cf927762 Mon Sep 17 00:00:00 2001 From: michel Date: Mon, 15 Jan 2018 15:40:22 +0100 Subject: [PATCH] [TMP] Test --- golem_season/tests/test_golem_season.py | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/golem_season/tests/test_golem_season.py b/golem_season/tests/test_golem_season.py index ad16144..6abf29e 100644 --- a/golem_season/tests/test_golem_season.py +++ b/golem_season/tests/test_golem_season.py @@ -58,9 +58,9 @@ class TestGolemSeason(TransactionCase): def test__onchange_season_dates(self): """ Test if membership date """ # je cree un article adhésion - membership_id = self.env['product.template'].create({'display_name': 'Name', + membership_id = self.env['product.template'].create({'name': 'Name', 'membership_date_from': '2009-11-01', - 'membership_date_to': '2009-11-01'}) + 'membership_date_to': '2010-11-01'}) # je cree une saison attachée a l'article adhésion new_season = self.env['golem.season'].create({'name': 'Name',