Passa al contenuto
Menu
È necessario essere registrati per interagire con la community.
La domanda è stata contrassegnata
1 Rispondi
2746 Visualizzazioni
  • Created a project.
  • Shared that project with a customer(portal user)
  • Customer can see project and task in editable form and kanban view
  • Customer is not able to edit the task description


is there any configuration or flow I'm missing!



Avatar
Abbandona
Autore Risposta migliore

I've found the answer :

What happens is odoo standard is allowing specified fields to the portal user to view and modify.

Here is a list of fields which odoo standard allow portal user to view and modify on portal:

PROJECT_TASK_READABLE_FIELDS:
PROJECT_TASK_READABLE_FIELDS = {
'id',
'active',
'description',
'priority',
'kanban_state_label',
'project_id',
'display_project_id',
'color',
'partner_is_company',
'commercial_partner_id',
'allow_subtasks',
'subtask_count',
'child_text',
'is_closed',
'email_from',
'create_date',
'write_date',
'company_id',
'displayed_image_id',
'display_name',
'portal_user_names',
'legend_normal',
'legend_blocked',
'legend_done',
'user_ids',
'display_parent_task_button',
'allow_milestones',
'milestone_id',
'has_late_and_unreached_milestone',
}
PROJECT_TASK_WRITABLE_FIELDS:
PROJECT_TASK_WRITABLE_FIELDS = {
'name',
'partner_id',
'date_deadline',
'tag_ids',
'sequence',
'stage_id',
'kanban_state',
'child_ids',
'parent_id',
'priority',
}

There might be more fields from enterprise modules. (Above are from odoo standard community modules)

Avatar
Abbandona
Post correlati Risposte Visualizzazioni Attività
0
gen 21
3149
1
giu 23
3370
1
nov 22
3655
2
giu 20
3879
1
mag 20
3206