| Availability |
Odoo Online
Odoo.sh
On Premise
|
| Odoo Apps Dependencies |
•
Expenses (hr_expense)
• Invoicing (account) • Employees (hr) • Discuss (mail) |
| Lines of code | 43 |
| Technical Name |
expense_reset_fix |
| License | LGPL-3 |
| Website | https://github.com/sipsak |
| Versions | 17.0 18.0 |
| Availability |
Odoo Online
Odoo.sh
On Premise
|
| Odoo Apps Dependencies |
•
Expenses (hr_expense)
• Invoicing (account) • Employees (hr) • Discuss (mail) |
| Lines of code | 43 |
| Technical Name |
expense_reset_fix |
| License | LGPL-3 |
| Website | https://github.com/sipsak |
| Versions | 17.0 18.0 |
Expense Reset Fix
Smart Journal Management & Flexible Expense Workflow
In the standard Odoo workflow, correcting a posted expense report can be messy. It generates "Reversal" journal entries, polluting your General Ledger, and completely locks expenses paid by the company. Expense Reset Fix optimizes this process by allowing you to edit expenses without creating reversal entries and unlocks the ability to edit company-paid expenses.
Key Highlights
No More Reversal Entries
Resetting a posted expense sheet will delete the existing Journal Entry instead of creating a reversal entry. Your ledger remains clean.
Single Entry Updates
When you re-post the corrected expense, the module posts the new journal entry. No duplicate records, no clutter, no problem.
Unlock "Company Paid" Expenses
Enables the "Reset to Draft" button for expenses marked as Paid By: Company, which are normally locked to the "Done" state in standard Odoo.
Automatic Cleanup
If you decide to delete a draft expense sheet, the linked draft journal entry is automatically deleted to prevent orphaned records.
How It Works
Scenario 1: Employee (To Reimburse)
Problem: You post an expense of $15. You realize a mistake and reset it. Odoo creates a -$15 reversal. You add a line and re-post. Odoo creates a new entry. You now have 3 entries for one report.
Solution: With this module, pulling the expense report back to draft deletes the $15 Journal Entry record and the Payment Record, if one exists. After your changes, re-posting updates that same entry. Result: Only 1 clean entry.
Scenario 2: Company (Company Account)
Problem: Expenses paid by the company move to "Done" state immediately after posting. The "Reset to Draft" button disappears, making corrections impossible.
Solution: This module brings back the "Reset to Draft" button for company-paid expenses. It applies the same clean logic as Scenario 1, allowing you to modify and re-post without issues.
Please log in to comment on this module