Community mailing list archives

community@mail.odoo.com

Re: additional parameter to qweb report

by
shabeer
- 07/29/2016 07:49:30
this is not working in my case 

"'NoneType' object has no attribute '__getitem__'" while evaluating
"datas['unit_id'][0]": (<class 'openerp.exceptions.QWebException'>, QWebException(ValueError(u'"\'NoneType\' object has no attribute \'__getitem__\'" while evaluating\n"datas[\'unit_id\'][0]"',),), <traceback object at 0x7f39d64a6ef0>)

On Fri, Jul 29, 2016 at 1:43 PM, Jesús Ventosinos <jesus@comunitea.com> wrote:

2016-07-29 8:57 GMT+02:00 shabeer m <msg2shabeer@gmail.com>:
hi community,
how do i pass an additional argument to a qweb report and how can i use it in report,

passing variable through wizard

thanks in advance 

_______________________________________________
Mailing-List: https://www.odoo.com/groups/community-59
Post to: mailto:community@mail.odoo.com
Unsubscribe: https://www.odoo.com/groups?unsubscribe


_______________________________________________
Mailing-List: https://www.odoo.com/groups/community-59
Post to: mailto:community@mail.odoo.com
Unsubscribe: https://www.odoo.com/groups?unsubscribe




--
with regards
Shabeer M
Contact : 94 00 7 44 77 6