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

When displaying the events on supercalendar with main speaker filled i get the error when i press the generate calendar

Error


The 'User' field of record "xxxxxx" (event.event) does not refer to res.users

 

Any ideas?


Regards


David

形象
丢弃

rollback (http://en.wikipedia.org/wiki/Rollback_%28data_management%29)

最佳答案

It seems, the app https://apps.odoo.com/apps/modules/9.0/joint_calendar/ may suit some of your requirements

形象
丢弃
最佳答案

Use PgAdmin and access the table event_event of your DB to see which user is causing this error (maybe a deleted user!), cause there is a constraint on the user_id column in relation with the res_users table.
 

形象
丢弃
编写者

No it seems everythig is ok The only thing I made was in PgAdmin I set to true the some user as Employee and Speaker so they could appear on the Speakers List...

This is your mistake by doing so (using pgadmin to directly modify some records), you bypass some mechanisms, and you break relationships between tables (constraints). Undo your changes, create the employees as usual (from HR app) and link them to users ...

编写者

...i tried opening the users, opening the employees...but when going the events the collumn speaker is empty.

If you have not yet created the Main Speaker (in this case It's normal that the column is empty), just add it (Create and Edit).

编写者

Does not work!. I created a new user but I always get the same error when assigning Main Speaker to User Field under the configurators on the supercalendar

编写者

Does not work!. I created a new user but I always get the same error when assigning Main Speaker to User Field under the configurators on the supercalendar

编写者 最佳答案

Thanks Med. What I did was:

Open the company, untick the last blank option on each contact. Saved the "Company" and ticked tham again, and resaved the company.

This field is blank and misses the "speaker" label.

regards

David

 

形象
丢弃
相关帖文 回复 查看 活动
2
4月 25
2316
1
3月 25
1277
2
3月 25
1342
1
7月 24
1431
0
3月 24
1866