[ADD] hr_expense_vendor_bill#367
Conversation
3129796 to
aeed033
Compare
Add module moved from OCA/l10n-mexico#78 to create vendor bills from employee expenses paid on own account, register supplier payments, and generate a reconciled employee reimbursement bill. Only runs the custom flow when expense lines have a vendor set, so standard own-account expense sheets keep default hr-expense behavior. Includes unit tests for posting, payments, reconciliation, and error paths. Co-authored-by: Cursor <cursoragent@cursor.com>
aeed033 to
e36ecd0
Compare
|
@hector-fe-dev @anibal-osi Can you review this pull request please? |
|
|
|
Already make a review and looks good to me. hr_expense_vendor_billUser workflow
On approval, the module:
On posting, it:
Meanwhile on hr_expense_invoice has two ways of how to be use
The expense amount, currency, date, and taxes are driven from the invoice.
Creates a draft in_invoice from the expense data I would suggest that both cases could be combine into one module eventually |
|
Hi everyone! I agree that hr_expense_invoice and this module are related and partially overlap in purpose, but I do not think they cover the exact same use case. So, I agree with the previous comment that both modules could eventually be reviewed together, either to reduce overlap or to share common logic where it makes sense. The implementation looks consistent to me. |
Summary
Move
hr_expense_vendor_billfrom OCA/l10n-mexico#78 into the hr-expense repository where it belongs.The module extends employee expenses paid with the employee's own account to:
Changes applied for hr-expense
Related
Test plan
hr_expense_vendor_billon Odoo 18.0Made with Cursor