shoop.admin.modules.taxes.views package¶
Submodules¶
shoop.admin.modules.taxes.views.edit module¶
-
class
shoop.admin.modules.taxes.views.edit.
TaxForm
(**kwargs)[source]¶ Bases:
shoop.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 0x7f53027bee10>), ('code', <django.forms.fields.CharField object at 0x7f530223a208>), ('rate', <shoop.admin.forms.fields.PercentageField object at 0x7f530235def0>), ('amount_value', <shoop.core.fields.FormattedDecimalFormField object at 0x7f53029ab0b8>), ('currency', <django.forms.fields.CharField object at 0x7f5302228c18>), ('enabled', <django.forms.fields.BooleanField object at 0x7f5302bb87b8>)])¶
-
TaxForm.
declared_fields
= OrderedDict([('rate', <shoop.admin.forms.fields.PercentageField object at 0x7f530235def0>), ('name', <django.forms.fields.CharField object at 0x7f53027bee10>)])¶
-
TaxForm.
media
¶
-
class
-
class
shoop.admin.modules.taxes.views.edit.
CustomerTaxGroupForm
(**kwargs)[source]¶ Bases:
shoop.utils.multilanguage_model_form.MultiLanguageModelForm
-
CustomerTaxGroupForm.
base_fields
= OrderedDict([('name', <django.forms.fields.CharField object at 0x7f5302228c50>)])¶
-
CustomerTaxGroupForm.
declared_fields
= OrderedDict([('name', <django.forms.fields.CharField object at 0x7f5302228c50>)])¶
-
CustomerTaxGroupForm.
media
¶
-
-
class
shoop.admin.modules.taxes.views.edit.
TaxClassForm
(**kwargs)[source]¶ Bases:
shoop.utils.multilanguage_model_form.MultiLanguageModelForm
-
TaxClassForm.
base_fields
= OrderedDict([('name', <django.forms.fields.CharField object at 0x7f5302228748>), ('enabled', <django.forms.fields.BooleanField object at 0x7f53030add68>)])¶
-
TaxClassForm.
declared_fields
= OrderedDict([('name', <django.forms.fields.CharField object at 0x7f5302228748>)])¶
-
TaxClassForm.
media
¶
-
-
class
shoop.admin.modules.taxes.views.edit.
TaxEditView
(**kwargs)[source]¶ Bases:
shoop.admin.modules.taxes.views.edit._Breadcrumbed
,shoop.admin.utils.views.CreateOrUpdateView
Constructor. Called in the URLconf; can contain helpful extra keyword arguments, and other things.
-
model
¶ alias of
Tax
-
template_name
= 'shoop/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
= 'shoop_admin:tax.list'¶
-
-
class
shoop.admin.modules.taxes.views.edit.
CustomerTaxGroupEditView
(**kwargs)[source]¶ Bases:
shoop.admin.modules.taxes.views.edit._Breadcrumbed
,shoop.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
= 'shoop/admin/taxes/edit_customer_tax_group.jinja'¶
-
context_object_name
= 'customer_tax_group'¶
-
parent_name
= <django.utils.functional.lazy.<locals>.__proxy__ object>¶
-
parent_url
= 'shoop_admin:customer_tax_group.list'¶
-
-
class
shoop.admin.modules.taxes.views.edit.
TaxClassEditView
(**kwargs)[source]¶ Bases:
shoop.admin.modules.taxes.views.edit._Breadcrumbed
,shoop.admin.utils.views.CreateOrUpdateView
Constructor. Called in the URLconf; can contain helpful extra keyword arguments, and other things.
-
model
¶ alias of
TaxClass
-
template_name
= 'shoop/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
= 'shoop_admin:tax_class.list'¶
-
shoop.admin.modules.taxes.views.list module¶
-
class
shoop.admin.modules.taxes.views.list.
TaxListView
(**kwargs)[source]¶ Bases:
shoop.admin.utils.views.PicotableListView
Constructor. Called in the URLconf; can contain helpful extra keyword arguments, and other things.
-
model
¶ alias of
Tax
-
columns
= [<shoop.admin.utils.picotable.Column object at 0x7f5302228a58>, <shoop.admin.utils.picotable.Column object at 0x7f53024d0c88>, <shoop.admin.utils.picotable.Column object at 0x7f5302d0b4a8>, <shoop.admin.utils.picotable.Column object at 0x7f53024d01d0>]¶
-
-
class
shoop.admin.modules.taxes.views.list.
CustomerTaxGroupListView
(**kwargs)[source]¶ Bases:
shoop.admin.utils.views.PicotableListView
Constructor. Called in the URLconf; can contain helpful extra keyword arguments, and other things.
-
model
¶ alias of
CustomerTaxGroup
-
columns
= [<shoop.admin.utils.picotable.Column object at 0x7f530224dbe0>]¶
-
-
class
shoop.admin.modules.taxes.views.list.
TaxClassListView
(**kwargs)[source]¶ Bases:
shoop.admin.utils.views.PicotableListView
Constructor. Called in the URLconf; can contain helpful extra keyword arguments, and other things.
-
model
¶ alias of
TaxClass
-
columns
= [<shoop.admin.utils.picotable.Column object at 0x7f530224d1d0>]¶
-
Module contents¶
-
class
shoop.admin.modules.taxes.views.
TaxClassListView
(**kwargs)[source]¶ Bases:
shoop.admin.utils.views.PicotableListView
Constructor. Called in the URLconf; can contain helpful extra keyword arguments, and other things.
-
columns
= [<shoop.admin.utils.picotable.Column object at 0x7f530224d1d0>]¶
-
model
¶ alias of
TaxClass
-
-
class
shoop.admin.modules.taxes.views.
TaxClassEditView
(**kwargs)[source]¶ Bases:
shoop.admin.modules.taxes.views.edit._Breadcrumbed
,shoop.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
= 'shoop_admin:tax_class.list'¶
-
template_name
= 'shoop/admin/taxes/edit_tax_class.jinja'¶
-
-
class
shoop.admin.modules.taxes.views.
TaxEditView
(**kwargs)[source]¶ Bases:
shoop.admin.modules.taxes.views.edit._Breadcrumbed
,shoop.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
= 'shoop_admin:tax.list'¶
-
template_name
= 'shoop/admin/taxes/edit_tax.jinja'¶
-
-
class
shoop.admin.modules.taxes.views.
TaxListView
(**kwargs)[source]¶ Bases:
shoop.admin.utils.views.PicotableListView
Constructor. Called in the URLconf; can contain helpful extra keyword arguments, and other things.
-
columns
= [<shoop.admin.utils.picotable.Column object at 0x7f5302228a58>, <shoop.admin.utils.picotable.Column object at 0x7f53024d0c88>, <shoop.admin.utils.picotable.Column object at 0x7f5302d0b4a8>, <shoop.admin.utils.picotable.Column object at 0x7f53024d01d0>]¶
-
model
¶ alias of
Tax
-
-
class
shoop.admin.modules.taxes.views.
CustomerTaxGroupEditView
(**kwargs)[source]¶ Bases:
shoop.admin.modules.taxes.views.edit._Breadcrumbed
,shoop.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
= 'shoop_admin:customer_tax_group.list'¶
-
template_name
= 'shoop/admin/taxes/edit_customer_tax_group.jinja'¶
-
-
class
shoop.admin.modules.taxes.views.
CustomerTaxGroupListView
(**kwargs)[source]¶ Bases:
shoop.admin.utils.views.PicotableListView
Constructor. Called in the URLconf; can contain helpful extra keyword arguments, and other things.
-
columns
= [<shoop.admin.utils.picotable.Column object at 0x7f530224dbe0>]¶
-
model
¶ alias of
CustomerTaxGroup
-