2010-09-16 12:58:50 +00:00
|
|
|
-
|
2011-12-16 06:25:50 +00:00
|
|
|
I print the Survey Browse Response Report through the wizard.
|
2010-12-22 06:35:24 +00:00
|
|
|
-
|
2010-09-16 12:58:50 +00:00
|
|
|
!python {model: survey}: |
|
2011-12-20 16:03:42 +00:00
|
|
|
ctx = {'model': 'survey','active_ids': [(6,0,[ref('survey_partner_feedback')])]}
|
2010-12-22 06:35:24 +00:00
|
|
|
data_dict = {'response_ids' : [(6,0,[ref('survey.survey_partner_feedback')])], 'page_number' : True, 'without_pagebreak': True}
|
|
|
|
from tools import test_reports
|
|
|
|
test_reports.try_report_action(cr, uid, 'action_view_survey_print_answer',wiz_data=data_dict, context=ctx, our_module='survey')
|
|
|
|
|
|
|
|
-
|
2011-12-16 06:25:50 +00:00
|
|
|
I print the Survey Analysis Report through the wizard.
|
2010-09-17 04:27:22 +00:00
|
|
|
-
|
|
|
|
!python {model: survey}: |
|
2011-12-20 16:03:42 +00:00
|
|
|
ctx = {'model': 'survey','active_ids': [(6,0,[ref('survey_partner_feedback')])]}
|
2010-12-22 06:35:24 +00:00
|
|
|
data_dict = {'survey_ids' : [(6,0,[ref('survey.survey_partner_feedback')])]}
|
|
|
|
from tools import test_reports
|
|
|
|
test_reports.try_report_action(cr, uid, 'action_view_survey_print_statistics',wiz_data=data_dict, context=ctx, our_module='survey')
|
|
|
|
|
|
|
|
-
|
2011-12-16 06:25:50 +00:00
|
|
|
I print the Survey Form Report through the wizard.
|
2010-09-17 04:27:22 +00:00
|
|
|
-
|
|
|
|
!python {model: survey}: |
|
2011-12-20 16:03:42 +00:00
|
|
|
ctx = {'model': 'survey','active_ids': [(6,0,[ref('survey_partner_feedback')])]}
|
2010-12-22 06:35:24 +00:00
|
|
|
data_dict = {'survey_ids' : [(6,0,[ref('survey.survey_partner_feedback')])], 'page_number' : True, 'without_pagebreak': True}
|
|
|
|
from tools import test_reports
|
2011-12-20 16:03:42 +00:00
|
|
|
test_reports.try_report_action(cr, uid, 'action_view_survey_print',wiz_data=data_dict, context=ctx, our_module='survey')
|