Files
odoo_source/addons/hr_expense/models/__init__.py
T
Florian Damhaut b10eb19327 [FIX] hr_expense: Expense is refused when account move is cancelled
Description of the issue/feature this PR addresses:

When an expense was accepted and then the account move related to the expense was reset to draft/cancelled, the expense's state stayed as payed.

Current behavior before PR:
The expense's state stayed as payed.

Desired behavior after PR is merged:

Change the expense's state to refused with the reason 'Payment Cancelled'.

opw-2559225

closes odoo/odoo#77729

X-original-commit: cfe95a0e3781a23be73541cdae4393b8507cf9c1
Signed-off-by: agr-odoo <agr-odoo@users.noreply.github.com>
2021-10-11 09:02:14 +00:00

11 lines
268 B
Python

# -*- coding: utf-8 -*-
from . import hr_employee
from . import account_move
from . import account_move_line
from . import hr_department
from . import hr_expense
from . import product_template
from . import res_config_settings
from . import account_journal_dashboard