fix: Update 7.6

This commit is contained in:
2025-07-27 00:15:32 -03:00
parent 5b8f0397b1
commit ccda3c7734
2 changed files with 37 additions and 10 deletions

View File

@@ -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