콘텐츠로 건너뛰기
메뉴
커뮤니티에 참여하려면 회원 가입을 하시기 바랍니다.
신고된 질문입니다
2 답글
2133 화면

Hi we are vahing some problems with the module project, it is a bug that we cant create a new project from the list view

We tried it on a new install with no succes, it is easy to replicate.

-Install project and studio

-Open project and select the views and add the list view.

-Try to create a new project from the list view and the error is whis


The operation cannot be completed: 

- Create/update: a mandatory field is not set. 

- Delete: another model requires the record being deleted. If possible, archive it instead. 

Model: Project (project.project), Field: Name (name)

2022-11-12 20:42:58,875 4737 ERROR apps odoo.sql_db: bad query: INSERT INTO "project_project" ("id", "active", "alias_id", "allow_recurring_tasks", "allow_subtasks", "allow_task_dependencies", "allow_timesheets", "analytic_account_id", "color", "company_id", "create_date", "create_uid", "is_fsm", "label_tasks", "last_update_status", "price_rate", "privacy_visibility", "rating_active", "rating_status", "rating_status_period", "rfi_price_rate", "sequence", "stage_id", "timesheet_product_id", "user_id", "write_date", "write_uid") VALUES (nextval('project_project_id_seq'), true, 86, true, true, true, true, 64, 0, 1, '2022-11-12 20:42:58.846446', 2, false, 'Tasks', 'on_track', 0.0, 'portal', false, 'stage', 'monthly', 0.0, 10, 1, 97, 2, '2022-11-12 20:42:58.846446', 2) RETURNING id

ERROR: null value in column "name" of relation "project_project" violates not-null constraint

DETAIL: Failing row contains (44, null, 86, null, null, null, t, 10, null, null, null, 1, 64, Tasks, 0, 2, portal, null, null, t, t, t, null, f, stage, monthly, 1, null, on_track, 2, 2022-11-12 20:42:58.846446, 2, 2022-11-12 20:42:58.846446, t, f, null, null, null, null, 97, null, null, null, null, null, 0, null, 0).



2022-11-12 20:42:58,880 4737 WARNING apps odoo.http: The operation cannot be completed:

- Create/update: a mandatory field is not set.

- Delete: another model requires the record being deleted. If possible, archive it instead.



Model: Project (project.project), Field: Name (name)

 

아바타
취소
작성자 베스트 답변

The mandatory field that are needed te be save are set on screen, is there some modifications needed to do on the project module?
You could try it, it is replicable, you need studio and project, add the view list with project and try to create a new project on the list view. 

아바타
취소
베스트 답변

Hello, 
There are some mandatory field value are not set that's why you're facing this issue.

Kindly, review the project screen. 
Thanks

아바타
취소
관련 게시물 답글 화면 활동
2
1월 25
2178
3
11월 24
1782
1
12월 22
3163
1
7월 22
97
1
5월 24
1233