[FIX] account_statement_base: Add default_statement_id to the context to create the statement lines linked to it
TT51767pull/751/head
parent
11bbb81363
commit
9f0fc60fc2
|
@ -34,6 +34,7 @@ class AccountBankStatement(models.Model):
|
|||
{
|
||||
"domain": [("statement_id", "=", self.id)],
|
||||
"context": {
|
||||
"default_statement_id": self.id,
|
||||
"default_journal_id": self._context.get("active_id")
|
||||
if self._context.get("active_model") == "account.journal"
|
||||
else None,
|
||||
|
|
Loading…
Reference in New Issue