Page 1 of 1

can't adapt type 'account.invoice', in query "odoo 8"

PostPosted: Thu Nov 27, 2014 8:29 am
by le_dilem
hi,

i installed aeroo report module on odoo v8. https://github.com/jamotion/aeroo
it works well.
except: print button from invoice

error :
Code: Select all
an't adapt type 'account.invoice', in query
        select report_replace.report_name
        from ir_act_report_xml report_org
            join ir_act_report_xml report_replace
            on report_org.id = report_replace.replace_report_id
        where report_org.report_name=%s

File "/opt/odoo/dev/report_aeroo/report.py", line 33, in _get_replacing_report
    where report_org.report_name=%s''', (report_name,))


an idea ?
Thank you

Re: can't adapt type 'account.invoice', in query "odoo 8"

PostPosted: Fri Nov 28, 2014 11:40 pm
by sraps
Hi,
try original Aeroo Reports, which is closer to how Odoo v8 works, and there are fixed many issues while porting to v8.

https://github.com/aeroo/aeroo_reports

BR
Kaspar

Re: can't adapt type 'account.invoice', in query "odoo 8"

PostPosted: Mon Dec 01, 2014 7:36 pm
by le_dilem
thank you very much sraps