Skip to Content
Menú
This question has been flagged
1 Respondre
2183 Vistes

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)


Avatar
Descartar
Best Answer

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

Avatar
Descartar
Related Posts Respostes Vistes Activitat
1
de maig 20
3265
1
de març 24
2319
1
d’oct. 23
2492
0
de set. 17
2811
2
de maig 17
6205