diff options
| author | Étienne Loks <etienne.loks@proxience.com> | 2013-04-30 10:45:14 +0000 |
|---|---|---|
| committer | Étienne Loks <etienne.loks@proxience.com> | 2013-04-30 10:45:14 +0000 |
| commit | 670e4c633a4fc0d66d10ac6e88b27ff6fb494328 (patch) | |
| tree | 53e045e9f05bc0e0252dbf059def75d26f3710ae /ishtar_common | |
| parent | 62d3eae1706a6bde8b0437ef765cf31983a88540 (diff) | |
| parent | 7436163934fcfc94c69fc97bd70466b251fbba77 (diff) | |
| download | Ishtar-670e4c633a4fc0d66d10ac6e88b27ff6fb494328.tar.bz2 Ishtar-670e4c633a4fc0d66d10ac6e88b27ff6fb494328.zip | |
Merge branch 'master' of lysithea.proxience.net:/home/proxience/git/ishtar
Diffstat (limited to 'ishtar_common')
| -rw-r--r-- | ishtar_common/fixtures/initial_data.json | 10 | ||||
| -rw-r--r-- | ishtar_common/models.py | 4 |
2 files changed, 14 insertions, 0 deletions
diff --git a/ishtar_common/fixtures/initial_data.json b/ishtar_common/fixtures/initial_data.json index a5b2c8c9a..ba7a1e155 100644 --- a/ishtar_common/fixtures/initial_data.json +++ b/ishtar_common/fixtures/initial_data.json @@ -70,6 +70,16 @@ } }, { + "pk": 10, + "model": "ishtar_common.organizationtype", + "fields": { + "comment": "", + "available": true, + "txt_idx": "undefined", + "label": "Non pr\u00e9cis\u00e9" + } + }, + { "pk": 6, "model": "ishtar_common.organizationtype", "fields": { diff --git a/ishtar_common/models.py b/ishtar_common/models.py index 754944389..61c7de7ff 100644 --- a/ishtar_common/models.py +++ b/ishtar_common/models.py @@ -649,6 +649,10 @@ class Source(models.Model): verbose_name=_(u"Receipt date")) creation_date = models.DateField(blank=True, null=True, verbose_name=_(u"Creation date")) + reference = models.CharField(_(u"Reference"), max_length=25, null=True, + blank=True) + internal_reference = models.CharField(_(u"Internal reference"), + max_length=25, null=True, blank=True) TABLE_COLS = ['title', 'source_type', 'authors',] class Meta: |
