Skip to content
Snippets Groups Projects
Commit 33eba8a4 authored by Pierre-antoine Comby's avatar Pierre-antoine Comby
Browse files

add last_negative field to note

parent 5421943f
No related branches found
No related tags found
1 merge request!23Import nk15
...@@ -27,6 +27,12 @@ class Note(PolymorphicModel): ...@@ -27,6 +27,12 @@ class Note(PolymorphicModel):
help_text=_('in centimes, money credited for this instance'), help_text=_('in centimes, money credited for this instance'),
default=0, default=0,
) )
last_negative= models.DateTimeField(
verbose_name=_('last negative date'),
help_text=_('last time the balance was negative'),
null=True,
blank=True,
)
is_active = models.BooleanField( is_active = models.BooleanField(
_('active'), _('active'),
default=True, default=True,
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment