diff options
| author | Andrea Grazioso (agr-odoo) <agr@odoo.com> | 2020-08-07 10:05:00 +0000 |
|---|---|---|
| committer | Andrea Grazioso (agr-odoo) <agr@odoo.com> | 2020-08-07 13:42:14 +0000 |
| commit | 7ec2153ca978beba70598437ed3ede7cab15f5a7 (patch) | |
| tree | 42d9bdecfbf32baf5673dd94a82dd23a96b4dfa9 /odoo/exceptions.py | |
| parent | c18b1598cfd4a76ecd462620468c3920b58a4d55 (diff) | |
[FIX] hr_expense: fix paid status in expense
Create an expense
Save, create the report and go through the full flow up to the payment
Once paid, the expense sheet will remain in "posted" status, never going
to "paid".
This occur because the action which update the status
react only to invoices
https://github.com/odoo/odoo/blob/d9c715c53d51c21fa105aa35f650d54ea909220a/addons/account/models/account_move.py#L4287
https://github.com/odoo/odoo/blob/d9c715c53d51c21fa105aa35f650d54ea909220a/addons/account/models/account_move.py#L4381
opw-2308203
closes odoo/odoo#55633
X-original-commit: fe618a43eb79b7e2b85fa83da7b321055f5ed0b1
Signed-off-by: Nicolas Martinelli (nim) <nim@odoo.com>
Signed-off-by: agr-odoo <agr-odoo@users.noreply.github.com>
Diffstat (limited to 'odoo/exceptions.py')
0 files changed, 0 insertions, 0 deletions
