Bỏ qua để đến Nội dung
Menu
Câu hỏi này đã bị gắn cờ
1 Trả lời
2739 Lượt xem
  • 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!



Ảnh đại diện
Huỷ bỏ
Tác giả Câu trả lời hay nhất

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)

Ảnh đại diện
Huỷ bỏ
Bài viết liên quan Trả lời Lượt xem Hoạt động
0
thg 1 21
3148
1
thg 6 23
3368
1
thg 11 22
3654
Cannot create task Đã xử lý
2
thg 6 20
3870
1
thg 5 20
3205