Skip to Content
เมนู
คุณต้องลงทะเบียนเพื่อโต้ตอบกับคอมมูนิตี้
คำถามนี้ถูกตั้งค่าสถานะ
1 ตอบกลับ
550 มุมมอง

Hi Team 


I am trying to import open invoices into Odoo, however i am getting this error message. 

Can someone assist me with this please. 


new row for relation "account_move_line" violates check constraint "account_move_line_check_accountable_required_fields" DETAIL: Failing row contains (49425, 29279, 1, 1, 133, 100, null, 133, 1194, null, null, null, null, null, null, null, null, null, null, null, null, 2, 2, null, null, null, null, null, product, null, null, null, null, null, 0.00, 0.00, 0.00, 0.00, null, null, null, 0.00, 9263005.42, null, null, 0.00, null, null, null, null, f, 2024-11-18 03:28:21.215122, 2024-11-18 03:28:21.215122, null, null, null, null, null, null, null, null, null, null). at multiple rows


อวตาร
ละทิ้ง
คำตอบที่ดีที่สุด

Export an Invoice first to understand which fields the template requires - include all mandatory fields.

Each invoice line requires an account_id if it is not a note or section line.

https://github.com/odoo/odoo/blob/18.0/addons/account/models/account_move_line.py#L442

อวตาร
ละทิ้ง