OCA / hr-expense

Human Resources Expenses OCA modules for Odoo
GNU Affero General Public License v3.0
52 stars 105 forks source link

[14.0][FIX] hr_expense_invoice: use bill partner in expense journal item when expense paid by company #192

Closed JordiBForgeFlow closed 5 months ago

JordiBForgeFlow commented 1 year ago

If the expense is paid by the company and the expense refers to a bill, then the company will receive charge in the company account from the vendor, not from the employee.

In addition, when the expense is paid by the company the bill should be paid (reconciled), because the expense creates an outstanding payment line, to be reconciled later in the company bank account reconciliation process.

cc @victoralmau @pedrobaeza

pedrobaeza commented 1 year ago

If the expense is paid by the company and the expense refers to a bill, then the company will receive charge in the company account from the vendor, not from the employee.

Please indicate visually what you refer.

In addition, when the expense is paid by the company the bill should be paid (reconciled), because the expense creates an outstanding payment line, to be reconciled later in the company bank account reconciliation process.

This module intercepts the move creation, and uses the bill one as target, so I don't understand what you want to get.

github-actions[bot] commented 11 months ago

There hasn't been any activity on this pull request in the past 4 months, so it has been marked as stale and it will be closed automatically if no further activity occurs in the next 30 days. If you want this PR to never become stale, please ask a PSC member to apply the "no stale" label.

github-actions[bot] commented 6 months ago

There hasn't been any activity on this pull request in the past 4 months, so it has been marked as stale and it will be closed automatically if no further activity occurs in the next 30 days. If you want this PR to never become stale, please ask a PSC member to apply the "no stale" label.