summaryrefslogtreecommitdiff
path: root/ishtar_common
diff options
context:
space:
mode:
Diffstat (limited to 'ishtar_common')
-rw-r--r--ishtar_common/forms_common.py3
-rw-r--r--ishtar_common/models.py3
2 files changed, 6 insertions, 0 deletions
diff --git a/ishtar_common/forms_common.py b/ishtar_common/forms_common.py
index f194caffa..29997a741 100644
--- a/ishtar_common/forms_common.py
+++ b/ishtar_common/forms_common.py
@@ -586,6 +586,9 @@ class SourceForm(forms.Form):
widget=widgets.JQueryDate)
creation_date = forms.DateField(label=_(u"Creation date"), required=False,
widget=widgets.JQueryDate)
+ receipt_date_in_documentation = forms.DateField(
+ label=_(u"Receipt date in documentation"), required=False,
+ widget=widgets.JQueryDate)
comment = forms.CharField(label=_(u"Comment"), widget=forms.Textarea,
required=False)
description = forms.CharField(label=_(u"Description"),
diff --git a/ishtar_common/models.py b/ishtar_common/models.py
index 61376e079..268a2f0b4 100644
--- a/ishtar_common/models.py
+++ b/ishtar_common/models.py
@@ -2196,6 +2196,9 @@ class Source(models.Model):
verbose_name=_(u"Receipt date"))
creation_date = models.DateField(blank=True, null=True,
verbose_name=_(u"Creation date"))
+ receipt_date_in_documentation = models.DateField(
+ blank=True, null=True,
+ verbose_name=_(u"Receipt date in documentation"))
item_number = models.IntegerField(_(u"Item number"), default=1)
reference = models.CharField(_(u"Ref."), max_length=100, null=True,
blank=True)