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

This commit is contained in:
ps-tubtim
2023-02-03 16:17:17 +07:00
parent a4d63e2120
commit 1d1a32d639

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,