fix: limpiar función innecesaria

This commit is contained in:
sinergia 2023-07-31 23:23:00 -05:00
parent 9a6554bdc1
commit 2044abc6f9

View File

@ -373,9 +373,6 @@ class StatementLine(ModelView):
return Transaction().context.get('company') return Transaction().context.get('company')
def get_mismatch(self, name):
return 0
@fields.depends('end_balance', 'real_cash', 'mismatch') @fields.depends('end_balance', 'real_cash', 'mismatch')
def on_change_real_cash(self): def on_change_real_cash(self):
self.mismatch = self.real_cash - self.end_balance self.mismatch = self.real_cash - self.end_balance