odoo/odoo#166396

Created by Accounting, Julien Alardot (jual)
Merged at f8928001f6bd7e7f0777ed1557535a0e57b6ed6d

Statuses:

Linked pull requests
label
odoo-dev:master-add-move-in-draft-expense-jual
head
17e7e853eaf0c2b726007e0b4eee1a8a190e3613
merged
1 year ago by Accounting, Quentin De Paoli (qdp)
odoo/odoo odoo/enterprise
master #166396 #63010

[IMP] *hr_expense*: account.move creation overhaul

This moves the creation of account.move at the approval step of an expense report. Allowing better accounting tax management

Before this change:
The moves & payments were created & posted
when posting the expense report

After this change:
Approving the report creates draft account moves & payments Posting the report post the accounting entries

task-3943064

Description of the issue/feature this PR addresses:

Current behavior before PR:

Desired behavior after PR is merged:


I confirm I have signed the CLA and read the PR guidelines at www.odoo.com/submit-pr