fix: Update 7.6
This commit is contained in:
@@ -408,8 +408,8 @@ class StatementLine(ModelView):
|
||||
if company:
|
||||
return Company(company).currency.id
|
||||
|
||||
|
||||
@fields.depends('end_balance', 'real_cash', 'mismatch')
|
||||
@fields.depends(
|
||||
'end_balance', 'real_cash', 'mismatch')
|
||||
def on_change_real_cash(self):
|
||||
if self.real_cash and self.end_balance:
|
||||
self.mismatch = self.real_cash - self.end_balance
|
||||
|
||||
Reference in New Issue
Block a user