跳至內容
選單
此問題已被標幟
1 回覆
3435 瀏覽次數

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
2126
1
8月 22
2095
1
7月 25
319
1
12月 24
3918
0
11月 24
1604