shuup.admin.modules.taxes.views package¶
Submodules¶
shuup.admin.modules.taxes.views.edit module¶
-
class
shuup.admin.modules.taxes.views.edit.
TaxForm
(**kwargs)[source]¶ Bases:
shuup.utils.multilanguage_model_form.MultiLanguageModelForm
-
class
Meta
[source]¶ Bases:
object
-
model
¶ alias of
Tax
-
fields
= ['name', 'code', 'rate', 'amount_value', 'currency', 'enabled']¶
-
-
TaxForm.
base_fields
= OrderedDict([('name', <django.forms.fields.CharField object at 0x7fabccfeff60>), ('code', <django.forms.fields.CharField object at 0x7fabcc329fd0>), ('rate', <shuup.admin.forms.fields.PercentageField object at 0x7fabccfef358>), ('amount_value', <shuup.core.fields.FormattedDecimalFormField object at 0x7fabcc6eacf8>), ('currency', <django.forms.fields.CharField object at 0x7fabcc3291d0>), ('enabled', <django.forms.fields.BooleanField object at 0x7fabcc1b62b0>)])¶
-
TaxForm.
declared_fields
= OrderedDict([('rate', <shuup.admin.forms.fields.PercentageField object at 0x7fabccfef358>), ('name', <django.forms.fields.CharField object at 0x7fabccfeff60>)])¶
-
TaxForm.
media
¶
-
class
-
class
shuup.admin.modules.taxes.views.edit.
CustomerTaxGroupForm
(**kwargs)[source]¶ Bases:
shuup.utils.multilanguage_model_form.MultiLanguageModelForm
-
CustomerTaxGroupForm.
base_fields
= OrderedDict([('name', <django.forms.fields.CharField object at 0x7fabcc329c18>)])¶
-
CustomerTaxGroupForm.
declared_fields
= OrderedDict([('name', <django.forms.fields.CharField object at 0x7fabcc329c18>)])¶
-
CustomerTaxGroupForm.
media
¶
-
-
class
shuup.admin.modules.taxes.views.edit.
TaxClassForm
(**kwargs)[source]¶ Bases:
shuup.utils.multilanguage_model_form.MultiLanguageModelForm
-
TaxClassForm.
base_fields
= OrderedDict([('name', <django.forms.fields.CharField object at 0x7fabcc329588>), ('enabled', <django.forms.fields.BooleanField object at 0x7fabcc3294e0>)])¶
-
TaxClassForm.
declared_fields
= OrderedDict([('name', <django.forms.fields.CharField object at 0x7fabcc329588>)])¶
-
TaxClassForm.
media
¶
-
-
class
shuup.admin.modules.taxes.views.edit.
TaxEditView
(**kwargs)[source]¶ Bases:
shuup.admin.breadcrumbs._views.BreadcrumbedView
,shuup.admin.utils.views.CreateOrUpdateView
Constructor. Called in the URLconf; can contain helpful extra keyword arguments, and other things.
-
model
¶ alias of
Tax
-
template_name
= 'shuup/admin/taxes/edit_tax.jinja'¶
-
context_object_name
= 'tax'¶
-
add_form_errors_as_messages
= True¶
-
parent_name
= <django.utils.functional.lazy.<locals>.__proxy__ object>¶
-
parent_url
= 'shuup_admin:tax.list'¶
-
-
class
shuup.admin.modules.taxes.views.edit.
CustomerTaxGroupEditView
(**kwargs)[source]¶ Bases:
shuup.admin.breadcrumbs._views.BreadcrumbedView
,shuup.admin.utils.views.CreateOrUpdateView
Constructor. Called in the URLconf; can contain helpful extra keyword arguments, and other things.
-
model
¶ alias of
CustomerTaxGroup
-
form_class
¶ alias of
CustomerTaxGroupForm
-
template_name
= 'shuup/admin/taxes/edit_customer_tax_group.jinja'¶
-
context_object_name
= 'customer_tax_group'¶
-
parent_name
= <django.utils.functional.lazy.<locals>.__proxy__ object>¶
-
parent_url
= 'shuup_admin:customer_tax_group.list'¶
-
-
class
shuup.admin.modules.taxes.views.edit.
TaxClassEditView
(**kwargs)[source]¶ Bases:
shuup.admin.breadcrumbs._views.BreadcrumbedView
,shuup.admin.utils.views.CreateOrUpdateView
Constructor. Called in the URLconf; can contain helpful extra keyword arguments, and other things.
-
model
¶ alias of
TaxClass
-
template_name
= 'shuup/admin/taxes/edit_tax_class.jinja'¶
-
form_class
¶ alias of
TaxClassForm
-
context_object_name
= 'tax_class'¶
-
parent_name
= <django.utils.functional.lazy.<locals>.__proxy__ object>¶
-
parent_url
= 'shuup_admin:tax_class.list'¶
-
shuup.admin.modules.taxes.views.list module¶
-
class
shuup.admin.modules.taxes.views.list.
TaxListView
[source]¶ Bases:
shuup.admin.utils.views.PicotableListView
-
model
¶ alias of
Tax
-
default_columns
= [<Column: Name> name, <Column: Code> code, <Column: Rate> rate, <Column: Enabled> enabled]¶
-
-
class
shuup.admin.modules.taxes.views.list.
CustomerTaxGroupListView
[source]¶ Bases:
shuup.admin.utils.views.PicotableListView
-
model
¶ alias of
CustomerTaxGroup
-
default_columns
= [<Column: Name> name]¶
-
-
class
shuup.admin.modules.taxes.views.list.
TaxClassListView
[source]¶ Bases:
shuup.admin.utils.views.PicotableListView
-
model
¶ alias of
TaxClass
-
default_columns
= [<Column: Name> name]¶
-
Module contents¶
-
class
shuup.admin.modules.taxes.views.
TaxClassListView
[source]¶ Bases:
shuup.admin.utils.views.PicotableListView
-
default_columns
= [<Column: Name> name]¶
-
model
¶ alias of
TaxClass
-
-
class
shuup.admin.modules.taxes.views.
TaxClassEditView
(**kwargs)[source]¶ Bases:
shuup.admin.breadcrumbs._views.BreadcrumbedView
,shuup.admin.utils.views.CreateOrUpdateView
Constructor. Called in the URLconf; can contain helpful extra keyword arguments, and other things.
-
context_object_name
= 'tax_class'¶
-
form_class
¶ alias of
TaxClassForm
-
model
¶ alias of
TaxClass
-
parent_name
= <django.utils.functional.lazy.<locals>.__proxy__ object>¶
-
parent_url
= 'shuup_admin:tax_class.list'¶
-
template_name
= 'shuup/admin/taxes/edit_tax_class.jinja'¶
-
-
class
shuup.admin.modules.taxes.views.
TaxEditView
(**kwargs)[source]¶ Bases:
shuup.admin.breadcrumbs._views.BreadcrumbedView
,shuup.admin.utils.views.CreateOrUpdateView
Constructor. Called in the URLconf; can contain helpful extra keyword arguments, and other things.
-
add_form_errors_as_messages
= True¶
-
context_object_name
= 'tax'¶
-
form_class
¶ alias of
TaxForm
-
model
¶ alias of
Tax
-
parent_name
= <django.utils.functional.lazy.<locals>.__proxy__ object>¶
-
parent_url
= 'shuup_admin:tax.list'¶
-
template_name
= 'shuup/admin/taxes/edit_tax.jinja'¶
-
-
class
shuup.admin.modules.taxes.views.
TaxListView
[source]¶ Bases:
shuup.admin.utils.views.PicotableListView
-
default_columns
= [<Column: Name> name, <Column: Code> code, <Column: Rate> rate, <Column: Enabled> enabled]¶
-
model
¶ alias of
Tax
-
-
class
shuup.admin.modules.taxes.views.
CustomerTaxGroupEditView
(**kwargs)[source]¶ Bases:
shuup.admin.breadcrumbs._views.BreadcrumbedView
,shuup.admin.utils.views.CreateOrUpdateView
Constructor. Called in the URLconf; can contain helpful extra keyword arguments, and other things.
-
context_object_name
= 'customer_tax_group'¶
-
form_class
¶ alias of
CustomerTaxGroupForm
-
model
¶ alias of
CustomerTaxGroup
-
parent_name
= <django.utils.functional.lazy.<locals>.__proxy__ object>¶
-
parent_url
= 'shuup_admin:customer_tax_group.list'¶
-
template_name
= 'shuup/admin/taxes/edit_customer_tax_group.jinja'¶
-
-
class
shuup.admin.modules.taxes.views.
CustomerTaxGroupListView
[source]¶ Bases:
shuup.admin.utils.views.PicotableListView
-
default_columns
= [<Column: Name> name]¶
-
model
¶ alias of
CustomerTaxGroup
-