Skip to Content
Menu
Musisz się zarejestrować, aby móc wchodzić w interakcje z tą społecznością.
To pytanie dostało ostrzeżenie
1 Odpowiedz
2218 Widoki

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)


Awatar
Odrzuć
Najlepsza odpowiedź

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

Awatar
Odrzuć
Powiązane posty Odpowiedzi Widoki Czynność
1
maj 20
3267
1
mar 24
2332
1
paź 23
2501
0
wrz 17
2819
2
maj 17
6212