Skip to content
Open
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
3 changes: 2 additions & 1 deletion mcfix_account/models/account_bank_statement.py
Original file line number Diff line number Diff line change
Expand Up @@ -23,7 +23,8 @@ def name_get(self):

@api.onchange('company_id')
def onchange_company_id(self):
self.journal_id = False
if self.company_id and self.journal_id.company_id != self.company_id:
self.journal_id = False

def reconciliation_widget_preprocess(self):
# This is the same code as the original method except for the fact
Expand Down