Adding Invoice Lines in Odoo

Odoo Users

I’ve managed to create a basic draft invoice but when I try to add a line item I get the following error: ‘Move with id 36 Cannot create unbalanced journal entry. The balance is equal to - 50,000.00 ฿’.

Uploading: Screenshot 2565-09-20 at 11.41.10.png…

After investigating, it seems I need to add this line of code: {‘context’ :{‘check_move_validity’: False}}) but I have no idea where/how to add it (I’ve tried adding it to the parameters, inside and outside of the [ ] brackets, swapped ’ for ", etc… every combination I could think of but not having any luck ! :thinking:

Any help greatly appreciated!

Arrow Strzalka GIF by Terapia z Martą
Images are added using the little arrow icon in the bottom right corner of the reply window.

1 Like

Thanks! No idea why I couldn’t find that :man_facepalming:t2: