mirror of
https://github.com/OCA/account-financial-tools.git
synced 2025-02-02 12:47:26 +02:00
[15.0][FIX] account_asset_management: use Reversal Date to Accounting Date of reversal entry
This commit is contained in:
@@ -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,
|
||||
|
||||
Reference in New Issue
Block a user