This question has been flagged
2 Replies
3373 Views

Hi,

I'm in a service industry. We record our timesheets and expenses in odoo v8. Odoo always creates two separate invoices for each customer: one for hours, and one for expenses. How do I get it to create one invoice with both of those on it?

Thanks.

Avatar
Discard
Best Answer

Have you tried to create an invoice from the analytic journal items?
However a custom module that adds an Invoice Option for both hours and expenses to the Contract/Analytic Account may be more convenient.

Edit:
Can you confirm that the same analytic account is being used for the hours and the expenses?
It should work. Have you tried it with the latest build on http://runbot.odoo.com/runbot?

Avatar
Discard
Author Best Answer

Hi Sven, thanks for answering. Yes, I've tried to create it from the analytic journal items, and it still creates 2 separate invoices: one with the hours, the other with the expenses.

Do you know of an existing custom module that adds the invoice option for both hours and expenses? Or, do you know something similar I could use as a starting point to design my own?

edit:

yes, I confirm that only one analytic account was being used for both time and expenses. Not sure which build I have of odoo8, and have not used runbot before. Will follow up and see what happens. Thanks for the tip. If you think of anything else please let me know.

edit2:

You're right. Testing on runbot, the latest version of Odoo8 creates one invoice, not two. Now I need to find out if I have a setting wrong, or if I need to update my version of Odoo.

edit3:

Bad news. I updated my install of Odoo with "git fetch && git reset --hard origin/8.0", and checked that some of the files in my installation were updated to today's date. Then tried creating the invoice again. Still getting two invoices: one for hours, and another for purchases from purchase order. Any ideas?

edit4:

OK, so I forgot to restart Odoo after doing the git reset. After restarting, it now works fine. Must have been something fixed in the latest versions. Thanks for your help.

Avatar
Discard