diff options
Diffstat (limited to 'ishtar/furnitures/models.py')
-rw-r--r-- | ishtar/furnitures/models.py | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/ishtar/furnitures/models.py b/ishtar/furnitures/models.py index 3012511de..6a0999119 100644 --- a/ishtar/furnitures/models.py +++ b/ishtar/furnitures/models.py @@ -752,6 +752,8 @@ class ContextRecord(BaseHistorizedItem, OwnPerms): TABLE_COLS.insert(1, 'parcel.operation.code_patriarche') parcel = models.ForeignKey(Parcel, verbose_name=_(u"Parcel"), related_name='context_record') + operation = models.ForeignKey(Operation, verbose_name=_(u"Operation"), + related_name='context_record') label = models.CharField(_(u"ID"), max_length=200) description = models.TextField(_("Description"), blank=True, null=True) length = models.IntegerField(_(u"Length (cm)"), blank=True, null=True) |