Skip to content

Error when create record from child node #13

@rachmataditiya

Description

@rachmataditiya

2025-04-05 06:57:33,066 80791 ERROR defaultdb odoo.sql_db: bad query: b'INSERT INTO "ir_attachment" ("checksum", "company_id", "create_date", "create_uid", "db_datas", "file_size", "index_content", "mimetype", "name", "public", "res_id", "res_model", "store_fname", "type", "url", "write_date", "write_uid") VALUES ('35997474ab0165050744ebf954585262f6538d82', 1, '2025-04-05 06:57:32.564048', 1, NULL, 1900715, 'application', 'application/javascript', 'web.assets_frontend_lazy.min.js', true, 0, 'ir.ui.view', '35/35997474ab0165050744ebf954585262f6538d82', 'binary', '/web/assets/d139d74/web.assets_frontend_lazy.min.js', '2025-04-05 06:57:32.564048', 1) RETURNING "id"'
ERROR: duplicate key value violates unique constraint "ir_attachment_pkey"
DETAIL: Key (id)=(28) already exists.

2025-04-05 06:57:33,067 80791 WARNING defaultdb odoo.http: The operation cannot be completed: duplicate key value violates unique constraint "ir_attachment_pkey"
DETAIL: Key (id)=(28) already exists.

2025-04-05 06:57:33,068 80791 INFO defaultdb werkzeug: 127.0.0.1 - - [05/Apr/2025 06:57:33] "GET /web/assets/d139d74/web.assets_frontend_lazy.min.js HTTP/1.1" 400 - 7 0.006 0.502

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions