[15.0][FIX] account_asset_management: use Reversal Date to Accounting Date of reversal entry

This commit is contained in:
newtratip
2023-10-17 10:46:11 +07:00
parent 259c292c61
commit 96b7ce85e3

View File

@@ -43,7 +43,7 @@ class WizAssetMoveReverse(models.TransientModel):
.with_context(active_model="account.move", active_ids=move.ids)
.create(
{
"date": fields.Date.today(),
"date": self.date_reversal,
"reason": self.reason,
"refund_method": "refund",
"journal_id": self.journal_id.id,