[TMP] Test

This commit is contained in:
michel 2018-01-15 15:47:39 +01:00
parent a0cc9dcb48
commit 96d84546c2
1 changed files with 4 additions and 3 deletions

View File

@ -58,9 +58,10 @@ 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({'name': 'Name',
'membership_date_from': '2009-11-01',
'membership_date_to': '2010-11-01'})
membership = self.env['product.template'].create({'name': 'Name',
'membership_id': 'truc',
'membership_date_from': '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',