Siirry sisältöön
Menu
Sinun on rekisteröidyttävä, jotta voit olla vuorovaikutuksessa yhteisön kanssa.
Tämä kysymys on merkitty
1 Vastaa
1806 Näkymät

Hello,
We plan to update our odoo 12.3 to 15.
I started testing to adapt our processes using xmlrpc.
I saw that the account.invoice model was merged with account.move.
I manage to create the account move as an invoice, but I cannot add lines to this invoice. I'm trying to adapt our old process of creating the account.invoice.line objects next. So I wanted to add an account.move.line but I can't because I get the following error in return:
There was a problem with the following move(s):
- Move with id 68522
Cannot create unbalanced journal entry. The balance is equal to -128,00 €

Could you tell me how I should go about successfully creating an invoice in this version 15 of odoo?
Thanks

Avatar
Hylkää
Paras vastaus

Review the API calls being made when creating as Invoice via the UI to make sure you supply the correct data because this model is also used for Vendor Bills, Credit Notes and Journal Entries.

https://www.odoo.com/forum/help-1/how-can-i-see-which-api-calls-are-made-to-learn-what-odoo-is-doing-at-specific-times-183911


Avatar
Hylkää
Aiheeseen liittyviä artikkeleita Vastaukset Näkymät Toimenpide
2
tammik. 23
4628
1
kesäk. 22
2926
1
toukok. 22
3262
1
jouluk. 21
2544
4
maalisk. 25
50387