Beispiel #1
0
class Product(TypedSpTvr):
    default_typ = 'Product'
    objects = TypedManager(default_typ)

    class Meta:
        verbose_name = "Товар"
        verbose_name_plural = "Товары"
        proxy = True
Beispiel #2
0
class ReceptTvr(TypedTvr):
    default_typ = 'Recept'
    objects = TypedManager(default_typ)

    class Meta:
        verbose_name = "Рецепт"
        verbose_name_plural = "Рецепт"
        proxy = True
Beispiel #3
0
class PrihodDoc(TypedDoc):
    default_typ = 'Raw_Prihod'
    objects = TypedManager(default_typ)

    class Meta:
        verbose_name = "Покупка сырья"
        verbose_name_plural = "Покупка сырья"
        proxy = True
Beispiel #4
0
class Component(TypedSpTvr):
    default_typ = 'Component'
    objects = TypedManager(default_typ)

    class Meta:
        verbose_name = "Компонент"
        verbose_name_plural = "Компоненты"
        proxy = True
Beispiel #5
0
class CenaDoc(TypedDoc):
    default_typ = 'Cena'
    objects = TypedManager(default_typ)

    class Meta:
        verbose_name = "Актуальная цена"
        verbose_name_plural = "Актуальные цены"
        proxy = True