forked from DGNum/gestioCOF
Ajout du listing et création d'inventaires
This commit is contained in:
parent
cd436faf9b
commit
ffa73c41c3
7 changed files with 203 additions and 5 deletions
|
@ -356,6 +356,9 @@ class Inventory(models.Model):
|
|||
related_name = "inventory",
|
||||
blank = True, null = True, default = None)
|
||||
|
||||
class Meta:
|
||||
ordering = ['-at']
|
||||
|
||||
class InventoryArticle(models.Model):
|
||||
inventory = models.ForeignKey(
|
||||
Inventory, on_delete = models.PROTECT)
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue