[IMP]GOLEM Member : do not return pivot view per default
This commit is contained in:
parent
48507f10d6
commit
6482489aa9
@ -59,23 +59,23 @@ class GolemMemberAnalysis(models.TransientModel):
|
|||||||
ref = u'golem_member.golem_member_analysis_pivot_age_start_gender'
|
ref = u'golem_member.golem_member_analysis_pivot_age_start_gender'
|
||||||
elif rec.analyse_type == 'area':
|
elif rec.analyse_type == 'area':
|
||||||
ref = u'golem_member.golem_member_analysis_pivot_age_start_area'
|
ref = u'golem_member.golem_member_analysis_pivot_age_start_area'
|
||||||
else: # Tag
|
elif rec.analyse_type == 'tag':
|
||||||
ref = u'golem_member.golem_member_analysis_pivot_age_start_tag'
|
ref = u'golem_member.golem_member_analysis_pivot_age_start_tag'
|
||||||
elif rec.age_computing == 'season_end':
|
elif rec.age_computing == 'season_end':
|
||||||
if rec.analyse_type == 'gender':
|
if rec.analyse_type == 'gender':
|
||||||
ref = u'golem_member.golem_member_analysis_pivot_age_end_gender'
|
ref = u'golem_member.golem_member_analysis_pivot_age_end_gender'
|
||||||
elif rec.analyse_type == 'area':
|
elif rec.analyse_type == 'area':
|
||||||
ref = u'golem_member.golem_member_analysis_pivot_age_end_area'
|
ref = u'golem_member.golem_member_analysis_pivot_age_end_area'
|
||||||
else: # Tag
|
elif rec.analyse_type == 'tag':
|
||||||
ref = u'golem_member.golem_member_analysis_pivot_age_end_tag'
|
ref = u'golem_member.golem_member_analysis_pivot_age_end_tag'
|
||||||
else: # now
|
else: # now
|
||||||
if rec.analyse_type == 'gender':
|
if rec.analyse_type == 'gender':
|
||||||
ref = u'golem_member.golem_member_analysis_pivot_age_now_gender'
|
ref = u'golem_member.golem_member_analysis_pivot_age_now_gender'
|
||||||
elif rec.analyse_type == 'area':
|
elif rec.analyse_type == 'area':
|
||||||
ref = u'golem_member.golem_member_analysis_pivot_age_now_area'
|
ref = u'golem_member.golem_member_analysis_pivot_age_now_area'
|
||||||
else: # Tag
|
elif rec.analyse_type == 'tag':
|
||||||
ref = u'golem_member.golem_member_analysis_pivot_age_now_tag'
|
ref = u'golem_member.golem_member_analysis_pivot_age_now_tag'
|
||||||
return self.env.ref(ref)
|
return self.env.ref(ref, False)
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user