Views
AccountingType
¶
Bases: Model
Accounting types.
Those are numbers used in accounting to classify operations
is_owned_by(user)
¶
Check if that object can be edited by the given user.
BankAccount
¶
Bases: Model
is_owned_by(user)
¶
Check if that object can be edited by the given user.
Source code in accounting/models.py
ClubAccount
¶
Company
¶
GeneralJournal
¶
Label
¶
Bases: Model
Label allow a club to sort its operations.
Operation
¶
Bases: Model
An operation is a line in the journal, a debit or a credit.
is_owned_by(user)
¶
Check if that object can be edited by the given user.
Source code in accounting/models.py
can_be_edited_by(user)
¶
Check if that object can be edited by the given user.
Source code in accounting/models.py
SimplifiedAccountingType
¶
Bases: Model
Simplified version of AccountingType
.
BankAccountListView
¶
SimplifiedAccountingTypeListView
¶
SimplifiedAccountingTypeEditView
¶
SimplifiedAccountingTypeCreateView
¶
AccountingTypeListView
¶
AccountingTypeEditView
¶
AccountingTypeCreateView
¶
BankAccountEditView
¶
BankAccountDetailView
¶
BankAccountCreateView
¶
BankAccountDeleteView
¶
ClubAccountEditView
¶
ClubAccountDetailView
¶
ClubAccountCreateView
¶
ClubAccountDeleteView
¶
JournalTabsMixin
¶
Bases: TabedViewMixin
JournalCreateView
¶
JournalDetailView
¶
JournalEditView
¶
JournalDeleteView
¶
OperationForm(*args, **kwargs)
¶
Bases: ModelForm
Source code in accounting/views.py
OperationCreateView
¶
Bases: CanCreateMixin
, CreateView
Create an operation.
OperationEditView
¶
Bases: CanEditMixin
, UpdateView
An edit view, working as detail for the moment.
OperationPDFView
¶
JournalNatureStatementView
¶
Bases: JournalTabsMixin
, CanViewMixin
, DetailView
Display a statement sorted by labels.
JournalPersonStatementView
¶
Bases: JournalTabsMixin
, CanViewMixin
, DetailView
Calculate a dictionary with operation target and sum of operations.
get_context_data(**kwargs)
¶
Add journal to the context.
Source code in accounting/views.py
JournalAccountingStatementView
¶
Bases: JournalTabsMixin
, CanViewMixin
, DetailView
Calculate a dictionary with operation type and sum of operations.
CompanyListView
¶
Bases: CanViewMixin
, ListView
CompanyCreateView
¶
CompanyEditView
¶
LabelListView
¶
Bases: CanViewMixin
, DetailView
LabelCreateView
¶
Bases: CanCreateMixin
, CreateView
LabelEditView
¶
Bases: CanEditMixin
, UpdateView
LabelDeleteView
¶
Bases: CanEditMixin
, DeleteView
CloseCustomerAccountForm
¶
Bases: Form
RefoundAccountView
¶
Bases: FormView
Create a selling with the same amount than the current user money.