跳至内容
菜单
此问题已终结
1 回复
2704 查看
  • 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!



形象
丢弃
编写者 最佳答案

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)

形象
丢弃
相关帖文 回复 查看 活动
0
1月 21
3129
1
6月 23
3362
1
11月 22
3645
2
6月 20
3852
1
5月 20
3202