Přejít na obsah
Menu
You need to be registered to interact with the community.
This question has been flagged
1 Odpovědět
545 Zobrazení

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


Avatar
Zrušit
Nejlepší odpověď

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

Avatar
Zrušit