I m migrating a py3o report from Odoo 10 to Odoo 11 and got the following problem.
In Odoo 10 after doing some calcs print py3o report this way
but doing nothing, Errorres = {
'type': 'ir.actions.report',
'report_name': 'l10n_cu_hr_cpr.production_plan_gruped.ODS',
'datas': datas,
}After the change in Odoo 11 report engine i try this way
return self.env.ref('l10n_cu_hr_cpr_desoft.cpl_report_plan_gruped_ods').report_action(self, data=datas, config=False)
len(res_ids) > 1 and
TypeError: object of type 'NoneType' has no len()
Somebody knows the right way to do this?
Greetings
Hi, I'm facing the same error trying to print this kind of report from a wizard. Did you solve the problem?