Supplier invoices on HR expenses
by Tecnativa https://github.com/OCA/hr-expense , Odoo Community Association (OCA) https://github.com/OCA/hr-expense
Odoo
Availability |
Odoo Online
Odoo.sh
On Premise
|
Odoo Apps Dependencies |
•
Expense Tracker (hr_expense)
• Accounting and Finance (account_accountant) • Invoicing (account) • Discuss (mail) • Employee Directory (hr) |
Technical Name |
hr_expense_invoice |
License | AGPL-3 |
Website | https://www.tecnativa.com |
Versions | 8.0 10.0 11.0 12.0 13.0 14.0 15.0 16.0 |
Set supplier invoices on HR expenses
This module should be used when a supplier invoice is paid by an employee. It allows to set a supplier invoice for each expense line, adding the corresponding journal items to transfer the debt to the employee.
Installation
Install the module the regular way.
Configuration
You don't need to configure anything more to use this module.
Usage
- Create an expense sheet.
- Add an expense line to sheet with an invoice_id selected or create one new.
- Process expense sheet.
- On paying expense sheet, you are reconciling supplier invoice too.
Known issues / Roadmap
- Multiple payment terms for a supplier invoice are not handled correctly.
- Partial reconcile supplier invoices are also not correctly handled.
Credits
Contributors
- Pedro M. Baeza <pedro.baeza@tecnativa.com>
- Vicent Cubells <vicent.cubells@tecnativa.com>
Icon
- Thanks to https://openclipart.org/detail/201137/primary%20template%20invoice
- Thanks to https://openclipart.org/detail/15193/Arrow%20set%20%28Comic%29
- Original hr_expense icon
Maintainer

This module is maintained by the OCA.
OCA, or the Odoo Community Association, is a nonprofit organization whose mission is to support the collaborative development of Odoo features and promote its widespread use.
To contribute to this module, please visit https://odoo-community.org.
Please log in to comment on this module
Report comment
Any abuse of this reporting system will be penalizedThere are no ratings yet!
Fail creating journals due to rounding or wrong amount
I been using this have a lo of issues when trying to publish an expense-report constantly won't go, and popup with the error show below. The error seems to be related to some specific amount and maybe the rounded result of that one, cause some concepts products the handle more than 3 digits seems to be more prepense to cause this error. The only way to make it work is to reject the report, edit the conflictive invoice trying to figure which specific amount is the one that is causing the conflict, change it for small amount, resubmit it, ant test it until work, but is very time consuming task. This is the error the popup: 2018-11-30 00:41:37,792 7401 ERROR MELITEST2 odoo.http: Exception during JSON request handling. Traceback (most recent call last): File "/odoo/odoo-10-server/odoo/http.py", line 640, in _handle_exception return super(JsonRequest, self)._handle_exception(exception) File "/odoo/odoo-10-server/odoo/http.py", line 677, in dispatch result = self._call_function(**self.params) File "/odoo/odoo-10-server/odoo/http.py", line 333, in _call_function return checked_call(self.db, *args, **kwargs) File "/odoo/odoo-10-server/odoo/service/model.py", line 101, in wrapper return f(dbname, *args, **kwargs) File "/odoo/odoo-10-server/odoo/http.py", line 326, in checked_call result = self.endpoint(*a, **kw) File "/odoo/odoo-10-server/odoo/http.py", line 935, in __call__ return self.method(*args, **kw) File "/odoo/odoo-10-server/odoo/http.py", line 506, in response_wrap response = f(*args, **kw) File "/odoo/odoo-10-server/addons/web/controllers/main.py", line 889, in call_button action = self._call_kw(model, method, args, {}) File "/odoo/odoo-10-server/addons/web/controllers/main.py", line 877, in _call_kw return call_kw(request.env[model], method, args, kwargs) File "/odoo/odoo-10-server/odoo/api.py", line 689, in call_kw return call_kw_multi(method, model, args, kwargs) File "/odoo/odoo-10-server/odoo/api.py", line 680, in call_kw_multi result = method(recs, *args, **kwargs) File "/odoo/custom/oca/hr/hr_expense_invoice/models/hr_expense_sheet.py", line 40, in action_sheet_move_create 'Invoice: %s') % line.invoice.name)