Passa al contenuto
Menu
È necessario essere registrati per interagire con la community.
La domanda è stata contrassegnata
1 Rispondi
3545 Visualizzazioni

Dear all,


I am using Expense module in Odoo 8.

Then, I am able to 'submit to Manager'

Then, I am trying to 'Generate Accounting Entries' for an Expense.

Finally, After pressing the button, I got this error message :


Cannot reconcile supplier invoice payable with generated line. Please check amounts and see if the invoice is already added or paid. Invoice: False


If anybody has an idea how to fix that it will be great.


Best Regards,

Youssef

Avatar
Abbandona
Risposta migliore

This exception is generated in custom module hr_expense_invoice (from OCA - see: https://github.com/OCA/hr/blob/8.0/hr_expense_invoice/models/hr_expense_expense.py, line 49). This module is not in the standard version odoo 8.


Uninstall it or update. It is possible that the code in this module is old or has been installed incorrectly, or the field invoice (added by module in expense line) is incorrectly set with user default value - where invoice.name = False.

Avatar
Abbandona
Autore

Thanks you.

Could you help me for updating the module

Best regards

You get code from: https://www.odoo.com/apps/modules/8.0/hr_expense_invoice/

upload to the server, restart server, and upgrade module (menu Settings/Installed modules)

Post correlati Risposte Visualizzazioni Attività
1
mar 15
5292
0
set 24
1767
4
gen 17
2802
0
set 16
3353
1
mar 15
9129