hr-expense icon indicating copy to clipboard operation
hr-expense copied to clipboard

[16.0][BUG] hr_expense_invoice: Cannot Edit Vendor Bill Created from Multiple Expenses

Open rafaelbn opened this issue 8 months ago • 0 comments

Bug: Cannot Edit Vendor Bill Created from Multiple Expenses

I have encountered an issue with the hr_expense_invoice module in Odoo, specifically when trying to create a vendor bill from multiple expenses. When the total expense amount is €115 and the "Create Vendor Bill" button is used to generate the invoice, the resulting vendor bill cannot be edited to properly account for the expenses. Steps to Reproduce:

  • Go to an expense report with multiple expenses totaling €115. Don't add any tax manually! 😄

  • Click the "Create Vendor Bill" button.

  • Observe that the created vendor bill cannot be edited propertly -> video 2 minutes 1x, 1 minutes 2x

    https://www.loom.com/share/dd5827e3969c4fefbfa127008f48dea7?sid=5026f96a-5ca8-41ce-bed0-b91a0aeb6258

Expected Behavior:

The vendor bill created from multiple expenses should be editable, allowing for proper accounting and adjustments as needed.

Actual Behavior:

The created vendor bill is not editable, preventing necessary adjustments and correct accounting of the expenses.

Thank you very much for you attention Best regards, Rafael

@moduon MT-5202

Please could you give an opinion @SoniaViciana @victoralmau @kwoychesko @JordiBForgeFlow @alexey-pelykh @dreispt @tafaRU @gurneyalex ?

Thank you!!!! 😄 ❤️ Best regards! Rafael

References:

  • https://github.com/OCA/hr-expense/issues/245 (Issue closed in 2 minutes - Fastest ever - Promotes contributions and really compliance with OCA rules about how to welcome new-contributors)
  • https://github.com/OCA/hr-expense/pull/244 (PR closed in 18 minutes)

rafaelbn avatar Jun 18 '24 17:06 rafaelbn