Test extension
* adds further checks on EcoAccount tests for proper updating of new deductable_rest attribute
This commit is contained in:
@@ -128,6 +128,8 @@ class NewEcoAccountForm(AbstractCompensationForm, CompensationResponsibleFormMix
|
||||
|
||||
# Add the log entry to the main objects log list
|
||||
acc.log.add(action)
|
||||
|
||||
acc.update_deductable_rest()
|
||||
return acc
|
||||
|
||||
|
||||
@@ -210,6 +212,8 @@ class EditEcoAccountForm(NewEcoAccountForm):
|
||||
|
||||
# Add the log entry to the main objects log list
|
||||
self.instance.log.add(action)
|
||||
|
||||
self.instance.update_deductable_rest()
|
||||
return self.instance
|
||||
|
||||
|
||||
|
||||
Reference in New Issue
Block a user