mirror of
https://github.com/OCA/account-financial-tools.git
synced 2025-02-02 12:47:26 +02:00
@@ -40,7 +40,9 @@ class WizAssetMoveReverse(models.TransientModel):
|
||||
move = self.line_id.move_id
|
||||
move_reversal = (
|
||||
self.env["account.move.reversal"]
|
||||
.with_context(active_model="account.move", active_ids=move.ids)
|
||||
.with_context(
|
||||
active_model="account.move", active_ids=move.ids, active_id=move.id
|
||||
)
|
||||
.create(
|
||||
{
|
||||
"date": fields.Date.today(),
|
||||
|
||||
Reference in New Issue
Block a user