Did I find the right examples for you? yes no      Crawl my project      Python Jobs

All Samples(4)  |  Call(0)  |  Derive(2)  |  Import(2)

src/v/o/vosae-app-HEAD/www/invoicing/models/invoice_base.py   vosae-app(Download)
)
 
from notification.mixins import NotificationAwareDocumentMixin
from vosae_utils import respect_language
 
class InvoiceBase(Document, AsyncTTLUploadsMixin, NotificationAwareDocumentMixin):
 
    """Base class for all quotations and invoices (either payable or receivable)."""
    ACCOUNT_TYPES = ACCOUNT_TYPES
    SENDING_VARS = (

src/v/o/vosae-app-HEAD/www/contacts/models/entity.py   vosae-app(Download)
 
from core.mixins import ZombieMixin, AsyncTTLUploadsMixin
from notification.mixins import NotificationAwareDocumentMixin
from core.tasks import es_document_index, es_document_deindex
 
class Entity(ZombieMixin, Document, AsyncTTLUploadsMixin, NotificationAwareDocumentMixin):
 
    """A base class for :class:`~contacts.models.Contact` and :class:`~contacts.models.Organization`."""
    STATUSES = ('ACTIVE', 'DELETED')
    DELETE_STATUS = 'DELETED'