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 0x7f15c53319b0>), ('code', <django.forms.fields.CharField object at 0x7f15c60b4d68>), ('rate', <shoop.admin.forms.fields.PercentageField object at 0x7f15c5331b00>), ('amount_value', <django.forms.fields.DecimalField object at 0x7f15c4e9d208>), ('currency', <django.forms.fields.CharField object at 0x7f15c4e9d048>), ('enabled', <django.forms.fields.BooleanField object at 0x7f15c54b38d0>)])¶
-
TaxForm.
declared_fields
= OrderedDict([('rate', <shoop.admin.forms.fields.PercentageField object at 0x7f15c5331b00>), ('name', <django.forms.fields.CharField object at 0x7f15c53319b0>)])¶
-
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 0x7f15c4e9d080>)])¶
-
CustomerTaxGroupForm.
declared_fields
= OrderedDict([('name', <django.forms.fields.CharField object at 0x7f15c4e9d080>)])¶
-
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 0x7f15c4fb1eb8>), ('enabled', <django.forms.fields.BooleanField object at 0x7f15c4fb1e10>)])¶
-
TaxClassForm.
declared_fields
= OrderedDict([('name', <django.forms.fields.CharField object at 0x7f15c4fb1eb8>)])¶
-
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 0x7f15c4e04e80>, <shoop.admin.utils.picotable.Column object at 0x7f15c4e04390>, <shoop.admin.utils.picotable.Column object at 0x7f15c4e04b38>, <shoop.admin.utils.picotable.Column object at 0x7f15c4e047b8>]¶
-
-
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 0x7f15c4e04710>]¶
-
-
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 0x7f15c4e04cc0>]¶
-
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 0x7f15c4e04cc0>]¶
-
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 0x7f15c4e04e80>, <shoop.admin.utils.picotable.Column object at 0x7f15c4e04390>, <shoop.admin.utils.picotable.Column object at 0x7f15c4e04b38>, <shoop.admin.utils.picotable.Column object at 0x7f15c4e047b8>]¶
-
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 0x7f15c4e04710>]¶
-
model
¶ alias of
CustomerTaxGroup
-