跳至内容
菜单
此问题已终结
1 回复
3414 查看

I don't know when this started...we don't produce many pdf reports....all the html ones are still working.   I can tell you that it was working at one point and now all are broken with this same error:

QWebException: "'NoneType' object has no attribute 'id'" while evaluating

'not user_id.id'

Full error:  http://pastebin.com/VpUv2cDX

I'm guessing this was something I did but if anyone has any insight would be appreciated.

形象
丢弃
最佳答案

user_id is referring to id field in your model which doesn't exist.

形象
丢弃
相关帖文 回复 查看 活动
0
3月 23
2086
1
8月 22
2071
1
7月 25
298
1
12月 24
3886
0
11月 24
1600