OCA/hr-expense

[RFC] hr_expense_cancel: add config and process

Saran440 opened this issue · 1 comments

Is your feature request related to a problem?

On Expense Report view.

  1. cancel button on Expense Report will unlink document

    • cancel on state paid : document on payment and JE will disappear
    • cancel on state posted : document on JE will disappear
  2. After you click cancel state will change to submit

Describe the solution you'd like

  1. I propose this module can configuration 2 things for solved issue above

    1. unlink or reverse document
    2. state submit or approve, when you click cancel
  2. Process expense report

    • Expense Report state paid can't see cancel button, you must have unreconciled document payment first and expense report automated change state paid to posted
    • Click cancel button on Expense Report state posted. it will (config 1.1) and state change to (config 1.2)

WDYT?

There hasn't been any activity on this issue in the past 6 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 issue to never become stale, please ask a PSC member to apply the "no stale" label.