Friday, February 24, 2023
1 change · master
Enhancements to existing features
Expense processing now creates easier-to-track accounting documents depending on who paid: employee-paid expenses use purchase orders, while company-paid expenses create payment-like entries. This reduces confusion from hidden purchase receipts, avoids gaps in document sequences, and makes payment status easier to understand.
Original PR description
Rework of the hr.expense workflow so that: - expenses paid by employee generate purchase.order - expenses paid by company generate entry that look like payments Main reason being that purchase.receipt are not active by default. That makes the entry hard to find, holes in sequences, inconsitency with payment states. It also remove the refusal of expenses as this was dead / inaccessible code, only reports can be refused. task-id: 3126550 [community](https://github.com/odoo/odoo/pull/110518) [enterprise](https://github.com/odoo/enterprise/pull/36090)