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

I have created a new module to add some bespoke behaviour to projects for our company. The field works in all my internal views without issue. I can also view it in the model for project.task. When i try to add it to a portal view using the code below I get some strange (to me anyway) behaviour.


(sorry tried using the code box but it kept re-formatting it all in an un-readable manner)



How it appears as an internal user viewing the portal (This is the desired behaviour for all portal users)



Error visible when trying to view the project views as an external portal user (i.e. not an official internal user, just invited via email like you would with a partner/customer)


形象
丢弃
最佳答案

Hello David Mason,
- The Project Sharing view is visible only if the below conditions are satisfied:
1. project must have portal visibility OR
2. The logged in user must be present in collaborators of that project. OR
3. The User must be an internal user.
- Otherwise the normal view of task will be visible.
- The error of “Missing field string” may raise when the field is not defined properly from the PY side.
- But is used in the templates directly.
- You might check all the scenarios once by taking the latest pull and updating the whole module.

I hope you find it helpful.

Thanks & Regards,
Email:    odoo@aktivsoftware.com 

Skype: kalpeshmaheshwari

形象
丢弃
相关帖文 回复 查看 活动
1
5月 20
3265
1
3月 24
2319
1
10月 23
2493
0
9月 17
2812
2
5月 17
6206