559Labs/django-dtg-store-manager

View on GitHub
src/business/views/all.py

Summary

Maintainability
F
2 mos
Test Coverage

File all.py has 1307 lines of code (exceeds 250 allowed). Consider refactoring.
Open

from django.core.urlresolvers import reverse

from django.http import HttpResponse

from django.shortcuts import render
Severity: Major
Found in src/business/views/all.py - About 3 days to fix

    Similar blocks of code found in 64 locations. Consider refactoring.
    Open

    class bzBrandUpdateView(UpdateView):
        model = bzBrand
        form_class = bzBrandForm
        template_name = "business/object_form.html"
    
    
    Severity: Major
    Found in src/business/views/all.py and 63 other locations - About 6 hrs to fix
    src/business/views/all.py on lines 35..47
    src/business/views/all.py on lines 86..100
    src/business/views/all.py on lines 108..122
    src/business/views/all.py on lines 141..155
    src/business/views/all.py on lines 163..177
    src/business/views/all.py on lines 196..210
    src/business/views/all.py on lines 218..232
    src/business/views/all.py on lines 251..265
    src/business/views/all.py on lines 273..287
    src/business/views/all.py on lines 303..315
    src/business/views/all.py on lines 323..335
    src/business/views/all.py on lines 354..368
    src/business/views/all.py on lines 376..390
    src/business/views/all.py on lines 408..422
    src/business/views/all.py on lines 430..444
    src/business/views/all.py on lines 463..477
    src/business/views/all.py on lines 485..499
    src/business/views/all.py on lines 518..532
    src/business/views/all.py on lines 540..554
    src/business/views/all.py on lines 573..587
    src/business/views/all.py on lines 595..609
    src/business/views/all.py on lines 628..642
    src/business/views/all.py on lines 650..664
    src/business/views/all.py on lines 681..695
    src/business/views/all.py on lines 703..717
    src/business/views/all.py on lines 736..750
    src/business/views/all.py on lines 758..772
    src/business/views/all.py on lines 789..801
    src/business/views/all.py on lines 809..821
    src/business/views/all.py on lines 837..849
    src/business/views/all.py on lines 857..869
    src/business/views/all.py on lines 887..899
    src/business/views/all.py on lines 907..919
    src/business/views/all.py on lines 935..947
    src/business/views/all.py on lines 955..967
    src/business/views/all.py on lines 986..1000
    src/business/views/all.py on lines 1008..1022
    src/business/views/all.py on lines 1039..1053
    src/business/views/all.py on lines 1061..1075
    src/business/views/all.py on lines 1092..1106
    src/business/views/all.py on lines 1114..1128
    src/business/views/all.py on lines 1145..1158
    src/business/views/all.py on lines 1166..1179
    src/business/views/all.py on lines 1195..1207
    src/business/views/all.py on lines 1215..1227
    src/business/views/all.py on lines 1243..1255
    src/business/views/all.py on lines 1263..1275
    src/business/views/all.py on lines 1291..1303
    src/business/views/all.py on lines 1311..1323
    src/business/views/all.py on lines 1342..1356
    src/business/views/all.py on lines 1364..1378
    src/business/views/all.py on lines 1394..1406
    src/business/views/all.py on lines 1414..1426
    src/business/views/all.py on lines 1442..1454
    src/business/views/all.py on lines 1462..1474
    src/business/views/all.py on lines 1490..1502
    src/business/views/all.py on lines 1510..1522
    src/business/views/all.py on lines 1538..1550
    src/business/views/all.py on lines 1558..1570
    src/business/views/all.py on lines 1586..1598
    src/business/views/all.py on lines 1606..1618
    src/business/views/all.py on lines 1634..1646
    src/business/views/all.py on lines 1654..1666

    Duplicated Code

    Duplicated code can lead to software that is hard to understand and difficult to change. The Don't Repeat Yourself (DRY) principle states:

    Every piece of knowledge must have a single, unambiguous, authoritative representation within a system.

    When you violate DRY, bugs and maintenance problems are sure to follow. Duplicated code has a tendency to both continue to replicate and also to diverge (leaving bugs as two similar implementations differ in subtle ways).

    Tuning

    This issue has a mass of 103.

    We set useful threshold defaults for the languages we support but you may want to adjust these settings based on your project guidelines.

    The threshold configuration represents the minimum mass a code block must have to be analyzed for duplication. The lower the threshold, the more fine-grained the comparison.

    If the engine is too easily reporting duplication, try raising the threshold. If you suspect that the engine isn't catching enough duplication, try lowering the threshold. The best setting tends to differ from language to language.

    See codeclimate-duplication's documentation for more information about tuning the mass threshold in your .codeclimate.yml.

    Refactorings

    Further Reading

    Similar blocks of code found in 64 locations. Consider refactoring.
    Open

    class pfCountryUpdateView(UpdateView):
        model = pfCountry
        form_class = pfCountryForm
        template_name = "business/object_form.html"
    
    
    Severity: Major
    Found in src/business/views/all.py and 63 other locations - About 6 hrs to fix
    src/business/views/all.py on lines 35..47
    src/business/views/all.py on lines 55..67
    src/business/views/all.py on lines 86..100
    src/business/views/all.py on lines 108..122
    src/business/views/all.py on lines 141..155
    src/business/views/all.py on lines 163..177
    src/business/views/all.py on lines 196..210
    src/business/views/all.py on lines 218..232
    src/business/views/all.py on lines 251..265
    src/business/views/all.py on lines 273..287
    src/business/views/all.py on lines 303..315
    src/business/views/all.py on lines 323..335
    src/business/views/all.py on lines 354..368
    src/business/views/all.py on lines 376..390
    src/business/views/all.py on lines 408..422
    src/business/views/all.py on lines 430..444
    src/business/views/all.py on lines 463..477
    src/business/views/all.py on lines 485..499
    src/business/views/all.py on lines 518..532
    src/business/views/all.py on lines 540..554
    src/business/views/all.py on lines 573..587
    src/business/views/all.py on lines 595..609
    src/business/views/all.py on lines 628..642
    src/business/views/all.py on lines 650..664
    src/business/views/all.py on lines 681..695
    src/business/views/all.py on lines 703..717
    src/business/views/all.py on lines 736..750
    src/business/views/all.py on lines 758..772
    src/business/views/all.py on lines 789..801
    src/business/views/all.py on lines 837..849
    src/business/views/all.py on lines 857..869
    src/business/views/all.py on lines 887..899
    src/business/views/all.py on lines 907..919
    src/business/views/all.py on lines 935..947
    src/business/views/all.py on lines 955..967
    src/business/views/all.py on lines 986..1000
    src/business/views/all.py on lines 1008..1022
    src/business/views/all.py on lines 1039..1053
    src/business/views/all.py on lines 1061..1075
    src/business/views/all.py on lines 1092..1106
    src/business/views/all.py on lines 1114..1128
    src/business/views/all.py on lines 1145..1158
    src/business/views/all.py on lines 1166..1179
    src/business/views/all.py on lines 1195..1207
    src/business/views/all.py on lines 1215..1227
    src/business/views/all.py on lines 1243..1255
    src/business/views/all.py on lines 1263..1275
    src/business/views/all.py on lines 1291..1303
    src/business/views/all.py on lines 1311..1323
    src/business/views/all.py on lines 1342..1356
    src/business/views/all.py on lines 1364..1378
    src/business/views/all.py on lines 1394..1406
    src/business/views/all.py on lines 1414..1426
    src/business/views/all.py on lines 1442..1454
    src/business/views/all.py on lines 1462..1474
    src/business/views/all.py on lines 1490..1502
    src/business/views/all.py on lines 1510..1522
    src/business/views/all.py on lines 1538..1550
    src/business/views/all.py on lines 1558..1570
    src/business/views/all.py on lines 1586..1598
    src/business/views/all.py on lines 1606..1618
    src/business/views/all.py on lines 1634..1646
    src/business/views/all.py on lines 1654..1666

    Duplicated Code

    Duplicated code can lead to software that is hard to understand and difficult to change. The Don't Repeat Yourself (DRY) principle states:

    Every piece of knowledge must have a single, unambiguous, authoritative representation within a system.

    When you violate DRY, bugs and maintenance problems are sure to follow. Duplicated code has a tendency to both continue to replicate and also to diverge (leaving bugs as two similar implementations differ in subtle ways).

    Tuning

    This issue has a mass of 103.

    We set useful threshold defaults for the languages we support but you may want to adjust these settings based on your project guidelines.

    The threshold configuration represents the minimum mass a code block must have to be analyzed for duplication. The lower the threshold, the more fine-grained the comparison.

    If the engine is too easily reporting duplication, try raising the threshold. If you suspect that the engine isn't catching enough duplication, try lowering the threshold. The best setting tends to differ from language to language.

    See codeclimate-duplication's documentation for more information about tuning the mass threshold in your .codeclimate.yml.

    Refactorings

    Further Reading

    Similar blocks of code found in 64 locations. Consider refactoring.
    Open

    class pfStateUpdateView(UpdateView):
        model = pfState
        form_class = pfStateForm
        template_name = "business/object_form.html"
    
    
    Severity: Major
    Found in src/business/views/all.py and 63 other locations - About 6 hrs to fix
    src/business/views/all.py on lines 35..47
    src/business/views/all.py on lines 55..67
    src/business/views/all.py on lines 86..100
    src/business/views/all.py on lines 108..122
    src/business/views/all.py on lines 141..155
    src/business/views/all.py on lines 163..177
    src/business/views/all.py on lines 196..210
    src/business/views/all.py on lines 218..232
    src/business/views/all.py on lines 251..265
    src/business/views/all.py on lines 273..287
    src/business/views/all.py on lines 303..315
    src/business/views/all.py on lines 323..335
    src/business/views/all.py on lines 354..368
    src/business/views/all.py on lines 376..390
    src/business/views/all.py on lines 408..422
    src/business/views/all.py on lines 430..444
    src/business/views/all.py on lines 463..477
    src/business/views/all.py on lines 485..499
    src/business/views/all.py on lines 518..532
    src/business/views/all.py on lines 540..554
    src/business/views/all.py on lines 573..587
    src/business/views/all.py on lines 595..609
    src/business/views/all.py on lines 628..642
    src/business/views/all.py on lines 650..664
    src/business/views/all.py on lines 681..695
    src/business/views/all.py on lines 703..717
    src/business/views/all.py on lines 736..750
    src/business/views/all.py on lines 758..772
    src/business/views/all.py on lines 789..801
    src/business/views/all.py on lines 809..821
    src/business/views/all.py on lines 837..849
    src/business/views/all.py on lines 857..869
    src/business/views/all.py on lines 887..899
    src/business/views/all.py on lines 935..947
    src/business/views/all.py on lines 955..967
    src/business/views/all.py on lines 986..1000
    src/business/views/all.py on lines 1008..1022
    src/business/views/all.py on lines 1039..1053
    src/business/views/all.py on lines 1061..1075
    src/business/views/all.py on lines 1092..1106
    src/business/views/all.py on lines 1114..1128
    src/business/views/all.py on lines 1145..1158
    src/business/views/all.py on lines 1166..1179
    src/business/views/all.py on lines 1195..1207
    src/business/views/all.py on lines 1215..1227
    src/business/views/all.py on lines 1243..1255
    src/business/views/all.py on lines 1263..1275
    src/business/views/all.py on lines 1291..1303
    src/business/views/all.py on lines 1311..1323
    src/business/views/all.py on lines 1342..1356
    src/business/views/all.py on lines 1364..1378
    src/business/views/all.py on lines 1394..1406
    src/business/views/all.py on lines 1414..1426
    src/business/views/all.py on lines 1442..1454
    src/business/views/all.py on lines 1462..1474
    src/business/views/all.py on lines 1490..1502
    src/business/views/all.py on lines 1510..1522
    src/business/views/all.py on lines 1538..1550
    src/business/views/all.py on lines 1558..1570
    src/business/views/all.py on lines 1586..1598
    src/business/views/all.py on lines 1606..1618
    src/business/views/all.py on lines 1634..1646
    src/business/views/all.py on lines 1654..1666

    Duplicated Code

    Duplicated code can lead to software that is hard to understand and difficult to change. The Don't Repeat Yourself (DRY) principle states:

    Every piece of knowledge must have a single, unambiguous, authoritative representation within a system.

    When you violate DRY, bugs and maintenance problems are sure to follow. Duplicated code has a tendency to both continue to replicate and also to diverge (leaving bugs as two similar implementations differ in subtle ways).

    Tuning

    This issue has a mass of 103.

    We set useful threshold defaults for the languages we support but you may want to adjust these settings based on your project guidelines.

    The threshold configuration represents the minimum mass a code block must have to be analyzed for duplication. The lower the threshold, the more fine-grained the comparison.

    If the engine is too easily reporting duplication, try raising the threshold. If you suspect that the engine isn't catching enough duplication, try lowering the threshold. The best setting tends to differ from language to language.

    See codeclimate-duplication's documentation for more information about tuning the mass threshold in your .codeclimate.yml.

    Refactorings

    Further Reading

    Similar blocks of code found in 64 locations. Consider refactoring.
    Open

    class bzCreativeDesignCreateView(CreateView):
        model = bzCreativeDesign
        form_class = bzCreativeDesignForm
        template_name = "business/object_form.html"
    
    
    Severity: Major
    Found in src/business/views/all.py and 63 other locations - About 6 hrs to fix
    src/business/views/all.py on lines 35..47
    src/business/views/all.py on lines 55..67
    src/business/views/all.py on lines 86..100
    src/business/views/all.py on lines 108..122
    src/business/views/all.py on lines 163..177
    src/business/views/all.py on lines 196..210
    src/business/views/all.py on lines 218..232
    src/business/views/all.py on lines 251..265
    src/business/views/all.py on lines 273..287
    src/business/views/all.py on lines 303..315
    src/business/views/all.py on lines 323..335
    src/business/views/all.py on lines 354..368
    src/business/views/all.py on lines 376..390
    src/business/views/all.py on lines 408..422
    src/business/views/all.py on lines 430..444
    src/business/views/all.py on lines 463..477
    src/business/views/all.py on lines 485..499
    src/business/views/all.py on lines 518..532
    src/business/views/all.py on lines 540..554
    src/business/views/all.py on lines 573..587
    src/business/views/all.py on lines 595..609
    src/business/views/all.py on lines 628..642
    src/business/views/all.py on lines 650..664
    src/business/views/all.py on lines 681..695
    src/business/views/all.py on lines 703..717
    src/business/views/all.py on lines 736..750
    src/business/views/all.py on lines 758..772
    src/business/views/all.py on lines 789..801
    src/business/views/all.py on lines 809..821
    src/business/views/all.py on lines 837..849
    src/business/views/all.py on lines 857..869
    src/business/views/all.py on lines 887..899
    src/business/views/all.py on lines 907..919
    src/business/views/all.py on lines 935..947
    src/business/views/all.py on lines 955..967
    src/business/views/all.py on lines 986..1000
    src/business/views/all.py on lines 1008..1022
    src/business/views/all.py on lines 1039..1053
    src/business/views/all.py on lines 1061..1075
    src/business/views/all.py on lines 1092..1106
    src/business/views/all.py on lines 1114..1128
    src/business/views/all.py on lines 1145..1158
    src/business/views/all.py on lines 1166..1179
    src/business/views/all.py on lines 1195..1207
    src/business/views/all.py on lines 1215..1227
    src/business/views/all.py on lines 1243..1255
    src/business/views/all.py on lines 1263..1275
    src/business/views/all.py on lines 1291..1303
    src/business/views/all.py on lines 1311..1323
    src/business/views/all.py on lines 1342..1356
    src/business/views/all.py on lines 1364..1378
    src/business/views/all.py on lines 1394..1406
    src/business/views/all.py on lines 1414..1426
    src/business/views/all.py on lines 1442..1454
    src/business/views/all.py on lines 1462..1474
    src/business/views/all.py on lines 1490..1502
    src/business/views/all.py on lines 1510..1522
    src/business/views/all.py on lines 1538..1550
    src/business/views/all.py on lines 1558..1570
    src/business/views/all.py on lines 1586..1598
    src/business/views/all.py on lines 1606..1618
    src/business/views/all.py on lines 1634..1646
    src/business/views/all.py on lines 1654..1666

    Duplicated Code

    Duplicated code can lead to software that is hard to understand and difficult to change. The Don't Repeat Yourself (DRY) principle states:

    Every piece of knowledge must have a single, unambiguous, authoritative representation within a system.

    When you violate DRY, bugs and maintenance problems are sure to follow. Duplicated code has a tendency to both continue to replicate and also to diverge (leaving bugs as two similar implementations differ in subtle ways).

    Tuning

    This issue has a mass of 103.

    We set useful threshold defaults for the languages we support but you may want to adjust these settings based on your project guidelines.

    The threshold configuration represents the minimum mass a code block must have to be analyzed for duplication. The lower the threshold, the more fine-grained the comparison.

    If the engine is too easily reporting duplication, try raising the threshold. If you suspect that the engine isn't catching enough duplication, try lowering the threshold. The best setting tends to differ from language to language.

    See codeclimate-duplication's documentation for more information about tuning the mass threshold in your .codeclimate.yml.

    Refactorings

    Further Reading

    Similar blocks of code found in 64 locations. Consider refactoring.
    Open

    class wooCategoryCreateView(CreateView):
        model = wooCategory
        form_class = wooCategoryForm
        template_name = "business/object_form.html"
    
    
    Severity: Major
    Found in src/business/views/all.py and 63 other locations - About 6 hrs to fix
    src/business/views/all.py on lines 35..47
    src/business/views/all.py on lines 55..67
    src/business/views/all.py on lines 86..100
    src/business/views/all.py on lines 108..122
    src/business/views/all.py on lines 141..155
    src/business/views/all.py on lines 163..177
    src/business/views/all.py on lines 196..210
    src/business/views/all.py on lines 218..232
    src/business/views/all.py on lines 251..265
    src/business/views/all.py on lines 273..287
    src/business/views/all.py on lines 303..315
    src/business/views/all.py on lines 323..335
    src/business/views/all.py on lines 354..368
    src/business/views/all.py on lines 376..390
    src/business/views/all.py on lines 408..422
    src/business/views/all.py on lines 430..444
    src/business/views/all.py on lines 463..477
    src/business/views/all.py on lines 485..499
    src/business/views/all.py on lines 518..532
    src/business/views/all.py on lines 540..554
    src/business/views/all.py on lines 573..587
    src/business/views/all.py on lines 595..609
    src/business/views/all.py on lines 628..642
    src/business/views/all.py on lines 650..664
    src/business/views/all.py on lines 681..695
    src/business/views/all.py on lines 703..717
    src/business/views/all.py on lines 736..750
    src/business/views/all.py on lines 758..772
    src/business/views/all.py on lines 789..801
    src/business/views/all.py on lines 809..821
    src/business/views/all.py on lines 837..849
    src/business/views/all.py on lines 857..869
    src/business/views/all.py on lines 887..899
    src/business/views/all.py on lines 907..919
    src/business/views/all.py on lines 935..947
    src/business/views/all.py on lines 955..967
    src/business/views/all.py on lines 986..1000
    src/business/views/all.py on lines 1008..1022
    src/business/views/all.py on lines 1039..1053
    src/business/views/all.py on lines 1061..1075
    src/business/views/all.py on lines 1092..1106
    src/business/views/all.py on lines 1114..1128
    src/business/views/all.py on lines 1145..1158
    src/business/views/all.py on lines 1166..1179
    src/business/views/all.py on lines 1215..1227
    src/business/views/all.py on lines 1243..1255
    src/business/views/all.py on lines 1263..1275
    src/business/views/all.py on lines 1291..1303
    src/business/views/all.py on lines 1311..1323
    src/business/views/all.py on lines 1342..1356
    src/business/views/all.py on lines 1364..1378
    src/business/views/all.py on lines 1394..1406
    src/business/views/all.py on lines 1414..1426
    src/business/views/all.py on lines 1442..1454
    src/business/views/all.py on lines 1462..1474
    src/business/views/all.py on lines 1490..1502
    src/business/views/all.py on lines 1510..1522
    src/business/views/all.py on lines 1538..1550
    src/business/views/all.py on lines 1558..1570
    src/business/views/all.py on lines 1586..1598
    src/business/views/all.py on lines 1606..1618
    src/business/views/all.py on lines 1634..1646
    src/business/views/all.py on lines 1654..1666

    Duplicated Code

    Duplicated code can lead to software that is hard to understand and difficult to change. The Don't Repeat Yourself (DRY) principle states:

    Every piece of knowledge must have a single, unambiguous, authoritative representation within a system.

    When you violate DRY, bugs and maintenance problems are sure to follow. Duplicated code has a tendency to both continue to replicate and also to diverge (leaving bugs as two similar implementations differ in subtle ways).

    Tuning

    This issue has a mass of 103.

    We set useful threshold defaults for the languages we support but you may want to adjust these settings based on your project guidelines.

    The threshold configuration represents the minimum mass a code block must have to be analyzed for duplication. The lower the threshold, the more fine-grained the comparison.

    If the engine is too easily reporting duplication, try raising the threshold. If you suspect that the engine isn't catching enough duplication, try lowering the threshold. The best setting tends to differ from language to language.

    See codeclimate-duplication's documentation for more information about tuning the mass threshold in your .codeclimate.yml.

    Refactorings

    Further Reading

    Similar blocks of code found in 64 locations. Consider refactoring.
    Open

    class wooProductCreateView(CreateView):
        model = wooProduct
        form_class = wooProductForm
        template_name = "business/object_form.html"
    
    
    Severity: Major
    Found in src/business/views/all.py and 63 other locations - About 6 hrs to fix
    src/business/views/all.py on lines 35..47
    src/business/views/all.py on lines 55..67
    src/business/views/all.py on lines 86..100
    src/business/views/all.py on lines 108..122
    src/business/views/all.py on lines 141..155
    src/business/views/all.py on lines 163..177
    src/business/views/all.py on lines 196..210
    src/business/views/all.py on lines 218..232
    src/business/views/all.py on lines 251..265
    src/business/views/all.py on lines 273..287
    src/business/views/all.py on lines 303..315
    src/business/views/all.py on lines 323..335
    src/business/views/all.py on lines 354..368
    src/business/views/all.py on lines 376..390
    src/business/views/all.py on lines 408..422
    src/business/views/all.py on lines 430..444
    src/business/views/all.py on lines 463..477
    src/business/views/all.py on lines 485..499
    src/business/views/all.py on lines 518..532
    src/business/views/all.py on lines 540..554
    src/business/views/all.py on lines 573..587
    src/business/views/all.py on lines 595..609
    src/business/views/all.py on lines 628..642
    src/business/views/all.py on lines 650..664
    src/business/views/all.py on lines 681..695
    src/business/views/all.py on lines 703..717
    src/business/views/all.py on lines 736..750
    src/business/views/all.py on lines 758..772
    src/business/views/all.py on lines 789..801
    src/business/views/all.py on lines 809..821
    src/business/views/all.py on lines 837..849
    src/business/views/all.py on lines 857..869
    src/business/views/all.py on lines 887..899
    src/business/views/all.py on lines 907..919
    src/business/views/all.py on lines 935..947
    src/business/views/all.py on lines 955..967
    src/business/views/all.py on lines 986..1000
    src/business/views/all.py on lines 1008..1022
    src/business/views/all.py on lines 1039..1053
    src/business/views/all.py on lines 1061..1075
    src/business/views/all.py on lines 1092..1106
    src/business/views/all.py on lines 1114..1128
    src/business/views/all.py on lines 1145..1158
    src/business/views/all.py on lines 1166..1179
    src/business/views/all.py on lines 1195..1207
    src/business/views/all.py on lines 1215..1227
    src/business/views/all.py on lines 1243..1255
    src/business/views/all.py on lines 1263..1275
    src/business/views/all.py on lines 1311..1323
    src/business/views/all.py on lines 1342..1356
    src/business/views/all.py on lines 1364..1378
    src/business/views/all.py on lines 1394..1406
    src/business/views/all.py on lines 1414..1426
    src/business/views/all.py on lines 1442..1454
    src/business/views/all.py on lines 1462..1474
    src/business/views/all.py on lines 1490..1502
    src/business/views/all.py on lines 1510..1522
    src/business/views/all.py on lines 1538..1550
    src/business/views/all.py on lines 1558..1570
    src/business/views/all.py on lines 1586..1598
    src/business/views/all.py on lines 1606..1618
    src/business/views/all.py on lines 1634..1646
    src/business/views/all.py on lines 1654..1666

    Duplicated Code

    Duplicated code can lead to software that is hard to understand and difficult to change. The Don't Repeat Yourself (DRY) principle states:

    Every piece of knowledge must have a single, unambiguous, authoritative representation within a system.

    When you violate DRY, bugs and maintenance problems are sure to follow. Duplicated code has a tendency to both continue to replicate and also to diverge (leaving bugs as two similar implementations differ in subtle ways).

    Tuning

    This issue has a mass of 103.

    We set useful threshold defaults for the languages we support but you may want to adjust these settings based on your project guidelines.

    The threshold configuration represents the minimum mass a code block must have to be analyzed for duplication. The lower the threshold, the more fine-grained the comparison.

    If the engine is too easily reporting duplication, try raising the threshold. If you suspect that the engine isn't catching enough duplication, try lowering the threshold. The best setting tends to differ from language to language.

    See codeclimate-duplication's documentation for more information about tuning the mass threshold in your .codeclimate.yml.

    Refactorings

    Further Reading

    Similar blocks of code found in 64 locations. Consider refactoring.
    Open

    class wooShippingClassUpdateView(UpdateView):
        model = wooShippingClass
        form_class = wooShippingClassForm
        template_name = "business/object_form.html"
    
    
    Severity: Major
    Found in src/business/views/all.py and 63 other locations - About 6 hrs to fix
    src/business/views/all.py on lines 35..47
    src/business/views/all.py on lines 55..67
    src/business/views/all.py on lines 86..100
    src/business/views/all.py on lines 108..122
    src/business/views/all.py on lines 141..155
    src/business/views/all.py on lines 163..177
    src/business/views/all.py on lines 196..210
    src/business/views/all.py on lines 218..232
    src/business/views/all.py on lines 251..265
    src/business/views/all.py on lines 273..287
    src/business/views/all.py on lines 303..315
    src/business/views/all.py on lines 323..335
    src/business/views/all.py on lines 354..368
    src/business/views/all.py on lines 376..390
    src/business/views/all.py on lines 408..422
    src/business/views/all.py on lines 430..444
    src/business/views/all.py on lines 463..477
    src/business/views/all.py on lines 485..499
    src/business/views/all.py on lines 518..532
    src/business/views/all.py on lines 540..554
    src/business/views/all.py on lines 573..587
    src/business/views/all.py on lines 595..609
    src/business/views/all.py on lines 628..642
    src/business/views/all.py on lines 650..664
    src/business/views/all.py on lines 681..695
    src/business/views/all.py on lines 703..717
    src/business/views/all.py on lines 736..750
    src/business/views/all.py on lines 758..772
    src/business/views/all.py on lines 789..801
    src/business/views/all.py on lines 809..821
    src/business/views/all.py on lines 837..849
    src/business/views/all.py on lines 857..869
    src/business/views/all.py on lines 887..899
    src/business/views/all.py on lines 907..919
    src/business/views/all.py on lines 935..947
    src/business/views/all.py on lines 955..967
    src/business/views/all.py on lines 986..1000
    src/business/views/all.py on lines 1008..1022
    src/business/views/all.py on lines 1039..1053
    src/business/views/all.py on lines 1061..1075
    src/business/views/all.py on lines 1092..1106
    src/business/views/all.py on lines 1114..1128
    src/business/views/all.py on lines 1145..1158
    src/business/views/all.py on lines 1166..1179
    src/business/views/all.py on lines 1195..1207
    src/business/views/all.py on lines 1215..1227
    src/business/views/all.py on lines 1243..1255
    src/business/views/all.py on lines 1263..1275
    src/business/views/all.py on lines 1291..1303
    src/business/views/all.py on lines 1311..1323
    src/business/views/all.py on lines 1342..1356
    src/business/views/all.py on lines 1394..1406
    src/business/views/all.py on lines 1414..1426
    src/business/views/all.py on lines 1442..1454
    src/business/views/all.py on lines 1462..1474
    src/business/views/all.py on lines 1490..1502
    src/business/views/all.py on lines 1510..1522
    src/business/views/all.py on lines 1538..1550
    src/business/views/all.py on lines 1558..1570
    src/business/views/all.py on lines 1586..1598
    src/business/views/all.py on lines 1606..1618
    src/business/views/all.py on lines 1634..1646
    src/business/views/all.py on lines 1654..1666

    Duplicated Code

    Duplicated code can lead to software that is hard to understand and difficult to change. The Don't Repeat Yourself (DRY) principle states:

    Every piece of knowledge must have a single, unambiguous, authoritative representation within a system.

    When you violate DRY, bugs and maintenance problems are sure to follow. Duplicated code has a tendency to both continue to replicate and also to diverge (leaving bugs as two similar implementations differ in subtle ways).

    Tuning

    This issue has a mass of 103.

    We set useful threshold defaults for the languages we support but you may want to adjust these settings based on your project guidelines.

    The threshold configuration represents the minimum mass a code block must have to be analyzed for duplication. The lower the threshold, the more fine-grained the comparison.

    If the engine is too easily reporting duplication, try raising the threshold. If you suspect that the engine isn't catching enough duplication, try lowering the threshold. The best setting tends to differ from language to language.

    See codeclimate-duplication's documentation for more information about tuning the mass threshold in your .codeclimate.yml.

    Refactorings

    Further Reading

    Similar blocks of code found in 30 locations. Consider refactoring.
    Open

    class wpMediaSizeListView(TemplateView):
        template_name = "business/object_list.html"
    
        def get_context_data(self, **kwargs):
            context = super(wpMediaSizeListView, self).get_context_data(**kwargs)
    Severity: Major
    Found in src/business/views/all.py and 29 other locations - About 6 hrs to fix
    src/business/views/all.py on lines 22..32
    src/business/views/all.py on lines 70..83
    src/business/views/all.py on lines 125..138
    src/business/views/all.py on lines 180..193
    src/business/views/all.py on lines 235..248
    src/business/views/all.py on lines 290..300
    src/business/views/all.py on lines 338..351
    src/business/views/all.py on lines 393..405
    src/business/views/all.py on lines 447..460
    src/business/views/all.py on lines 502..515
    src/business/views/all.py on lines 557..570
    src/business/views/all.py on lines 612..625
    src/business/views/all.py on lines 667..678
    src/business/views/all.py on lines 720..733
    src/business/views/all.py on lines 824..834
    src/business/views/all.py on lines 922..932
    src/business/views/all.py on lines 970..983
    src/business/views/all.py on lines 1025..1036
    src/business/views/all.py on lines 1078..1089
    src/business/views/all.py on lines 1131..1142
    src/business/views/all.py on lines 1182..1192
    src/business/views/all.py on lines 1230..1240
    src/business/views/all.py on lines 1278..1288
    src/business/views/all.py on lines 1326..1339
    src/business/views/all.py on lines 1381..1391
    src/business/views/all.py on lines 1429..1439
    src/business/views/all.py on lines 1477..1487
    src/business/views/all.py on lines 1525..1535
    src/business/views/all.py on lines 1573..1583

    Duplicated Code

    Duplicated code can lead to software that is hard to understand and difficult to change. The Don't Repeat Yourself (DRY) principle states:

    Every piece of knowledge must have a single, unambiguous, authoritative representation within a system.

    When you violate DRY, bugs and maintenance problems are sure to follow. Duplicated code has a tendency to both continue to replicate and also to diverge (leaving bugs as two similar implementations differ in subtle ways).

    Tuning

    This issue has a mass of 103.

    We set useful threshold defaults for the languages we support but you may want to adjust these settings based on your project guidelines.

    The threshold configuration represents the minimum mass a code block must have to be analyzed for duplication. The lower the threshold, the more fine-grained the comparison.

    If the engine is too easily reporting duplication, try raising the threshold. If you suspect that the engine isn't catching enough duplication, try lowering the threshold. The best setting tends to differ from language to language.

    See codeclimate-duplication's documentation for more information about tuning the mass threshold in your .codeclimate.yml.

    Refactorings

    Further Reading

    Similar blocks of code found in 64 locations. Consider refactoring.
    Open

    class pfCatalogFileTypeUpdateView(UpdateView):
        model = pfCatalogFileType
        form_class = pfCatalogFileTypeForm
        template_name = "business/object_form.html"
    
    
    Severity: Major
    Found in src/business/views/all.py and 63 other locations - About 6 hrs to fix
    src/business/views/all.py on lines 35..47
    src/business/views/all.py on lines 55..67
    src/business/views/all.py on lines 86..100
    src/business/views/all.py on lines 108..122
    src/business/views/all.py on lines 141..155
    src/business/views/all.py on lines 163..177
    src/business/views/all.py on lines 196..210
    src/business/views/all.py on lines 218..232
    src/business/views/all.py on lines 251..265
    src/business/views/all.py on lines 273..287
    src/business/views/all.py on lines 303..315
    src/business/views/all.py on lines 323..335
    src/business/views/all.py on lines 354..368
    src/business/views/all.py on lines 376..390
    src/business/views/all.py on lines 408..422
    src/business/views/all.py on lines 430..444
    src/business/views/all.py on lines 463..477
    src/business/views/all.py on lines 485..499
    src/business/views/all.py on lines 518..532
    src/business/views/all.py on lines 573..587
    src/business/views/all.py on lines 595..609
    src/business/views/all.py on lines 628..642
    src/business/views/all.py on lines 650..664
    src/business/views/all.py on lines 681..695
    src/business/views/all.py on lines 703..717
    src/business/views/all.py on lines 736..750
    src/business/views/all.py on lines 758..772
    src/business/views/all.py on lines 789..801
    src/business/views/all.py on lines 809..821
    src/business/views/all.py on lines 837..849
    src/business/views/all.py on lines 857..869
    src/business/views/all.py on lines 887..899
    src/business/views/all.py on lines 907..919
    src/business/views/all.py on lines 935..947
    src/business/views/all.py on lines 955..967
    src/business/views/all.py on lines 986..1000
    src/business/views/all.py on lines 1008..1022
    src/business/views/all.py on lines 1039..1053
    src/business/views/all.py on lines 1061..1075
    src/business/views/all.py on lines 1092..1106
    src/business/views/all.py on lines 1114..1128
    src/business/views/all.py on lines 1145..1158
    src/business/views/all.py on lines 1166..1179
    src/business/views/all.py on lines 1195..1207
    src/business/views/all.py on lines 1215..1227
    src/business/views/all.py on lines 1243..1255
    src/business/views/all.py on lines 1263..1275
    src/business/views/all.py on lines 1291..1303
    src/business/views/all.py on lines 1311..1323
    src/business/views/all.py on lines 1342..1356
    src/business/views/all.py on lines 1364..1378
    src/business/views/all.py on lines 1394..1406
    src/business/views/all.py on lines 1414..1426
    src/business/views/all.py on lines 1442..1454
    src/business/views/all.py on lines 1462..1474
    src/business/views/all.py on lines 1490..1502
    src/business/views/all.py on lines 1510..1522
    src/business/views/all.py on lines 1538..1550
    src/business/views/all.py on lines 1558..1570
    src/business/views/all.py on lines 1586..1598
    src/business/views/all.py on lines 1606..1618
    src/business/views/all.py on lines 1634..1646
    src/business/views/all.py on lines 1654..1666

    Duplicated Code

    Duplicated code can lead to software that is hard to understand and difficult to change. The Don't Repeat Yourself (DRY) principle states:

    Every piece of knowledge must have a single, unambiguous, authoritative representation within a system.

    When you violate DRY, bugs and maintenance problems are sure to follow. Duplicated code has a tendency to both continue to replicate and also to diverge (leaving bugs as two similar implementations differ in subtle ways).

    Tuning

    This issue has a mass of 103.

    We set useful threshold defaults for the languages we support but you may want to adjust these settings based on your project guidelines.

    The threshold configuration represents the minimum mass a code block must have to be analyzed for duplication. The lower the threshold, the more fine-grained the comparison.

    If the engine is too easily reporting duplication, try raising the threshold. If you suspect that the engine isn't catching enough duplication, try lowering the threshold. The best setting tends to differ from language to language.

    See codeclimate-duplication's documentation for more information about tuning the mass threshold in your .codeclimate.yml.

    Refactorings

    Further Reading

    Similar blocks of code found in 64 locations. Consider refactoring.
    Open

    class pfCatalogSizeUpdateView(UpdateView):
        model = pfCatalogSize
        form_class = pfCatalogSizeForm
        template_name = "business/object_form.html"
    
    
    Severity: Major
    Found in src/business/views/all.py and 63 other locations - About 6 hrs to fix
    src/business/views/all.py on lines 35..47
    src/business/views/all.py on lines 55..67
    src/business/views/all.py on lines 86..100
    src/business/views/all.py on lines 108..122
    src/business/views/all.py on lines 141..155
    src/business/views/all.py on lines 163..177
    src/business/views/all.py on lines 196..210
    src/business/views/all.py on lines 218..232
    src/business/views/all.py on lines 251..265
    src/business/views/all.py on lines 273..287
    src/business/views/all.py on lines 303..315
    src/business/views/all.py on lines 323..335
    src/business/views/all.py on lines 354..368
    src/business/views/all.py on lines 376..390
    src/business/views/all.py on lines 408..422
    src/business/views/all.py on lines 430..444
    src/business/views/all.py on lines 463..477
    src/business/views/all.py on lines 485..499
    src/business/views/all.py on lines 518..532
    src/business/views/all.py on lines 540..554
    src/business/views/all.py on lines 573..587
    src/business/views/all.py on lines 595..609
    src/business/views/all.py on lines 628..642
    src/business/views/all.py on lines 650..664
    src/business/views/all.py on lines 681..695
    src/business/views/all.py on lines 736..750
    src/business/views/all.py on lines 758..772
    src/business/views/all.py on lines 789..801
    src/business/views/all.py on lines 809..821
    src/business/views/all.py on lines 837..849
    src/business/views/all.py on lines 857..869
    src/business/views/all.py on lines 887..899
    src/business/views/all.py on lines 907..919
    src/business/views/all.py on lines 935..947
    src/business/views/all.py on lines 955..967
    src/business/views/all.py on lines 986..1000
    src/business/views/all.py on lines 1008..1022
    src/business/views/all.py on lines 1039..1053
    src/business/views/all.py on lines 1061..1075
    src/business/views/all.py on lines 1092..1106
    src/business/views/all.py on lines 1114..1128
    src/business/views/all.py on lines 1145..1158
    src/business/views/all.py on lines 1166..1179
    src/business/views/all.py on lines 1195..1207
    src/business/views/all.py on lines 1215..1227
    src/business/views/all.py on lines 1243..1255
    src/business/views/all.py on lines 1263..1275
    src/business/views/all.py on lines 1291..1303
    src/business/views/all.py on lines 1311..1323
    src/business/views/all.py on lines 1342..1356
    src/business/views/all.py on lines 1364..1378
    src/business/views/all.py on lines 1394..1406
    src/business/views/all.py on lines 1414..1426
    src/business/views/all.py on lines 1442..1454
    src/business/views/all.py on lines 1462..1474
    src/business/views/all.py on lines 1490..1502
    src/business/views/all.py on lines 1510..1522
    src/business/views/all.py on lines 1538..1550
    src/business/views/all.py on lines 1558..1570
    src/business/views/all.py on lines 1586..1598
    src/business/views/all.py on lines 1606..1618
    src/business/views/all.py on lines 1634..1646
    src/business/views/all.py on lines 1654..1666

    Duplicated Code

    Duplicated code can lead to software that is hard to understand and difficult to change. The Don't Repeat Yourself (DRY) principle states:

    Every piece of knowledge must have a single, unambiguous, authoritative representation within a system.

    When you violate DRY, bugs and maintenance problems are sure to follow. Duplicated code has a tendency to both continue to replicate and also to diverge (leaving bugs as two similar implementations differ in subtle ways).

    Tuning

    This issue has a mass of 103.

    We set useful threshold defaults for the languages we support but you may want to adjust these settings based on your project guidelines.

    The threshold configuration represents the minimum mass a code block must have to be analyzed for duplication. The lower the threshold, the more fine-grained the comparison.

    If the engine is too easily reporting duplication, try raising the threshold. If you suspect that the engine isn't catching enough duplication, try lowering the threshold. The best setting tends to differ from language to language.

    See codeclimate-duplication's documentation for more information about tuning the mass threshold in your .codeclimate.yml.

    Refactorings

    Further Reading

    Similar blocks of code found in 64 locations. Consider refactoring.
    Open

    class wooTagCreateView(CreateView):
        model = wooTag
        form_class = wooTagForm
        template_name = "business/object_form.html"
    
    
    Severity: Major
    Found in src/business/views/all.py and 63 other locations - About 6 hrs to fix
    src/business/views/all.py on lines 35..47
    src/business/views/all.py on lines 55..67
    src/business/views/all.py on lines 86..100
    src/business/views/all.py on lines 108..122
    src/business/views/all.py on lines 141..155
    src/business/views/all.py on lines 163..177
    src/business/views/all.py on lines 196..210
    src/business/views/all.py on lines 218..232
    src/business/views/all.py on lines 251..265
    src/business/views/all.py on lines 273..287
    src/business/views/all.py on lines 303..315
    src/business/views/all.py on lines 323..335
    src/business/views/all.py on lines 354..368
    src/business/views/all.py on lines 376..390
    src/business/views/all.py on lines 408..422
    src/business/views/all.py on lines 430..444
    src/business/views/all.py on lines 463..477
    src/business/views/all.py on lines 485..499
    src/business/views/all.py on lines 518..532
    src/business/views/all.py on lines 540..554
    src/business/views/all.py on lines 573..587
    src/business/views/all.py on lines 595..609
    src/business/views/all.py on lines 628..642
    src/business/views/all.py on lines 650..664
    src/business/views/all.py on lines 681..695
    src/business/views/all.py on lines 703..717
    src/business/views/all.py on lines 736..750
    src/business/views/all.py on lines 758..772
    src/business/views/all.py on lines 789..801
    src/business/views/all.py on lines 809..821
    src/business/views/all.py on lines 837..849
    src/business/views/all.py on lines 857..869
    src/business/views/all.py on lines 887..899
    src/business/views/all.py on lines 907..919
    src/business/views/all.py on lines 935..947
    src/business/views/all.py on lines 955..967
    src/business/views/all.py on lines 986..1000
    src/business/views/all.py on lines 1008..1022
    src/business/views/all.py on lines 1039..1053
    src/business/views/all.py on lines 1061..1075
    src/business/views/all.py on lines 1092..1106
    src/business/views/all.py on lines 1114..1128
    src/business/views/all.py on lines 1145..1158
    src/business/views/all.py on lines 1166..1179
    src/business/views/all.py on lines 1195..1207
    src/business/views/all.py on lines 1215..1227
    src/business/views/all.py on lines 1243..1255
    src/business/views/all.py on lines 1263..1275
    src/business/views/all.py on lines 1291..1303
    src/business/views/all.py on lines 1311..1323
    src/business/views/all.py on lines 1342..1356
    src/business/views/all.py on lines 1364..1378
    src/business/views/all.py on lines 1394..1406
    src/business/views/all.py on lines 1414..1426
    src/business/views/all.py on lines 1462..1474
    src/business/views/all.py on lines 1490..1502
    src/business/views/all.py on lines 1510..1522
    src/business/views/all.py on lines 1538..1550
    src/business/views/all.py on lines 1558..1570
    src/business/views/all.py on lines 1586..1598
    src/business/views/all.py on lines 1606..1618
    src/business/views/all.py on lines 1634..1646
    src/business/views/all.py on lines 1654..1666

    Duplicated Code

    Duplicated code can lead to software that is hard to understand and difficult to change. The Don't Repeat Yourself (DRY) principle states:

    Every piece of knowledge must have a single, unambiguous, authoritative representation within a system.

    When you violate DRY, bugs and maintenance problems are sure to follow. Duplicated code has a tendency to both continue to replicate and also to diverge (leaving bugs as two similar implementations differ in subtle ways).

    Tuning

    This issue has a mass of 103.

    We set useful threshold defaults for the languages we support but you may want to adjust these settings based on your project guidelines.

    The threshold configuration represents the minimum mass a code block must have to be analyzed for duplication. The lower the threshold, the more fine-grained the comparison.

    If the engine is too easily reporting duplication, try raising the threshold. If you suspect that the engine isn't catching enough duplication, try lowering the threshold. The best setting tends to differ from language to language.

    See codeclimate-duplication's documentation for more information about tuning the mass threshold in your .codeclimate.yml.

    Refactorings

    Further Reading

    Similar blocks of code found in 64 locations. Consider refactoring.
    Open

    class wooTermCreateView(CreateView):
        model = wooTerm
        form_class = wooTermForm
        template_name = "business/object_form.html"
    
    
    Severity: Major
    Found in src/business/views/all.py and 63 other locations - About 6 hrs to fix
    src/business/views/all.py on lines 35..47
    src/business/views/all.py on lines 55..67
    src/business/views/all.py on lines 86..100
    src/business/views/all.py on lines 108..122
    src/business/views/all.py on lines 141..155
    src/business/views/all.py on lines 163..177
    src/business/views/all.py on lines 196..210
    src/business/views/all.py on lines 218..232
    src/business/views/all.py on lines 251..265
    src/business/views/all.py on lines 273..287
    src/business/views/all.py on lines 303..315
    src/business/views/all.py on lines 323..335
    src/business/views/all.py on lines 354..368
    src/business/views/all.py on lines 376..390
    src/business/views/all.py on lines 408..422
    src/business/views/all.py on lines 430..444
    src/business/views/all.py on lines 463..477
    src/business/views/all.py on lines 485..499
    src/business/views/all.py on lines 518..532
    src/business/views/all.py on lines 540..554
    src/business/views/all.py on lines 573..587
    src/business/views/all.py on lines 595..609
    src/business/views/all.py on lines 628..642
    src/business/views/all.py on lines 650..664
    src/business/views/all.py on lines 681..695
    src/business/views/all.py on lines 703..717
    src/business/views/all.py on lines 736..750
    src/business/views/all.py on lines 758..772
    src/business/views/all.py on lines 789..801
    src/business/views/all.py on lines 809..821
    src/business/views/all.py on lines 837..849
    src/business/views/all.py on lines 857..869
    src/business/views/all.py on lines 887..899
    src/business/views/all.py on lines 907..919
    src/business/views/all.py on lines 935..947
    src/business/views/all.py on lines 955..967
    src/business/views/all.py on lines 986..1000
    src/business/views/all.py on lines 1008..1022
    src/business/views/all.py on lines 1039..1053
    src/business/views/all.py on lines 1061..1075
    src/business/views/all.py on lines 1092..1106
    src/business/views/all.py on lines 1114..1128
    src/business/views/all.py on lines 1145..1158
    src/business/views/all.py on lines 1166..1179
    src/business/views/all.py on lines 1195..1207
    src/business/views/all.py on lines 1215..1227
    src/business/views/all.py on lines 1243..1255
    src/business/views/all.py on lines 1263..1275
    src/business/views/all.py on lines 1291..1303
    src/business/views/all.py on lines 1311..1323
    src/business/views/all.py on lines 1342..1356
    src/business/views/all.py on lines 1364..1378
    src/business/views/all.py on lines 1394..1406
    src/business/views/all.py on lines 1414..1426
    src/business/views/all.py on lines 1442..1454
    src/business/views/all.py on lines 1462..1474
    src/business/views/all.py on lines 1510..1522
    src/business/views/all.py on lines 1538..1550
    src/business/views/all.py on lines 1558..1570
    src/business/views/all.py on lines 1586..1598
    src/business/views/all.py on lines 1606..1618
    src/business/views/all.py on lines 1634..1646
    src/business/views/all.py on lines 1654..1666

    Duplicated Code

    Duplicated code can lead to software that is hard to understand and difficult to change. The Don't Repeat Yourself (DRY) principle states:

    Every piece of knowledge must have a single, unambiguous, authoritative representation within a system.

    When you violate DRY, bugs and maintenance problems are sure to follow. Duplicated code has a tendency to both continue to replicate and also to diverge (leaving bugs as two similar implementations differ in subtle ways).

    Tuning

    This issue has a mass of 103.

    We set useful threshold defaults for the languages we support but you may want to adjust these settings based on your project guidelines.

    The threshold configuration represents the minimum mass a code block must have to be analyzed for duplication. The lower the threshold, the more fine-grained the comparison.

    If the engine is too easily reporting duplication, try raising the threshold. If you suspect that the engine isn't catching enough duplication, try lowering the threshold. The best setting tends to differ from language to language.

    See codeclimate-duplication's documentation for more information about tuning the mass threshold in your .codeclimate.yml.

    Refactorings

    Further Reading

    Similar blocks of code found in 64 locations. Consider refactoring.
    Open

    class wpMediaUpdateView(UpdateView):
        model = wpMedia
        form_class = wpMediaForm
        template_name = "business/object_form.html"
    
    
    Severity: Major
    Found in src/business/views/all.py and 63 other locations - About 6 hrs to fix
    src/business/views/all.py on lines 35..47
    src/business/views/all.py on lines 55..67
    src/business/views/all.py on lines 86..100
    src/business/views/all.py on lines 108..122
    src/business/views/all.py on lines 141..155
    src/business/views/all.py on lines 163..177
    src/business/views/all.py on lines 196..210
    src/business/views/all.py on lines 218..232
    src/business/views/all.py on lines 251..265
    src/business/views/all.py on lines 273..287
    src/business/views/all.py on lines 303..315
    src/business/views/all.py on lines 323..335
    src/business/views/all.py on lines 354..368
    src/business/views/all.py on lines 376..390
    src/business/views/all.py on lines 408..422
    src/business/views/all.py on lines 430..444
    src/business/views/all.py on lines 463..477
    src/business/views/all.py on lines 485..499
    src/business/views/all.py on lines 518..532
    src/business/views/all.py on lines 540..554
    src/business/views/all.py on lines 573..587
    src/business/views/all.py on lines 595..609
    src/business/views/all.py on lines 628..642
    src/business/views/all.py on lines 650..664
    src/business/views/all.py on lines 681..695
    src/business/views/all.py on lines 703..717
    src/business/views/all.py on lines 736..750
    src/business/views/all.py on lines 758..772
    src/business/views/all.py on lines 789..801
    src/business/views/all.py on lines 809..821
    src/business/views/all.py on lines 837..849
    src/business/views/all.py on lines 857..869
    src/business/views/all.py on lines 887..899
    src/business/views/all.py on lines 907..919
    src/business/views/all.py on lines 935..947
    src/business/views/all.py on lines 955..967
    src/business/views/all.py on lines 986..1000
    src/business/views/all.py on lines 1008..1022
    src/business/views/all.py on lines 1039..1053
    src/business/views/all.py on lines 1061..1075
    src/business/views/all.py on lines 1092..1106
    src/business/views/all.py on lines 1114..1128
    src/business/views/all.py on lines 1145..1158
    src/business/views/all.py on lines 1166..1179
    src/business/views/all.py on lines 1195..1207
    src/business/views/all.py on lines 1215..1227
    src/business/views/all.py on lines 1243..1255
    src/business/views/all.py on lines 1263..1275
    src/business/views/all.py on lines 1291..1303
    src/business/views/all.py on lines 1311..1323
    src/business/views/all.py on lines 1342..1356
    src/business/views/all.py on lines 1364..1378
    src/business/views/all.py on lines 1394..1406
    src/business/views/all.py on lines 1414..1426
    src/business/views/all.py on lines 1442..1454
    src/business/views/all.py on lines 1462..1474
    src/business/views/all.py on lines 1490..1502
    src/business/views/all.py on lines 1510..1522
    src/business/views/all.py on lines 1538..1550
    src/business/views/all.py on lines 1558..1570
    src/business/views/all.py on lines 1586..1598
    src/business/views/all.py on lines 1634..1646
    src/business/views/all.py on lines 1654..1666

    Duplicated Code

    Duplicated code can lead to software that is hard to understand and difficult to change. The Don't Repeat Yourself (DRY) principle states:

    Every piece of knowledge must have a single, unambiguous, authoritative representation within a system.

    When you violate DRY, bugs and maintenance problems are sure to follow. Duplicated code has a tendency to both continue to replicate and also to diverge (leaving bugs as two similar implementations differ in subtle ways).

    Tuning

    This issue has a mass of 103.

    We set useful threshold defaults for the languages we support but you may want to adjust these settings based on your project guidelines.

    The threshold configuration represents the minimum mass a code block must have to be analyzed for duplication. The lower the threshold, the more fine-grained the comparison.

    If the engine is too easily reporting duplication, try raising the threshold. If you suspect that the engine isn't catching enough duplication, try lowering the threshold. The best setting tends to differ from language to language.

    See codeclimate-duplication's documentation for more information about tuning the mass threshold in your .codeclimate.yml.

    Refactorings

    Further Reading

    Similar blocks of code found in 64 locations. Consider refactoring.
    Open

    class wpMediaSizeCreateView(CreateView):
        model = wpMediaSize
        form_class = wpMediaSizeForm
        template_name = "business/object_form.html"
    
    
    Severity: Major
    Found in src/business/views/all.py and 63 other locations - About 6 hrs to fix
    src/business/views/all.py on lines 35..47
    src/business/views/all.py on lines 55..67
    src/business/views/all.py on lines 86..100
    src/business/views/all.py on lines 108..122
    src/business/views/all.py on lines 141..155
    src/business/views/all.py on lines 163..177
    src/business/views/all.py on lines 196..210
    src/business/views/all.py on lines 218..232
    src/business/views/all.py on lines 251..265
    src/business/views/all.py on lines 273..287
    src/business/views/all.py on lines 303..315
    src/business/views/all.py on lines 323..335
    src/business/views/all.py on lines 354..368
    src/business/views/all.py on lines 376..390
    src/business/views/all.py on lines 408..422
    src/business/views/all.py on lines 430..444
    src/business/views/all.py on lines 463..477
    src/business/views/all.py on lines 485..499
    src/business/views/all.py on lines 518..532
    src/business/views/all.py on lines 540..554
    src/business/views/all.py on lines 573..587
    src/business/views/all.py on lines 595..609
    src/business/views/all.py on lines 628..642
    src/business/views/all.py on lines 650..664
    src/business/views/all.py on lines 681..695
    src/business/views/all.py on lines 703..717
    src/business/views/all.py on lines 736..750
    src/business/views/all.py on lines 758..772
    src/business/views/all.py on lines 789..801
    src/business/views/all.py on lines 809..821
    src/business/views/all.py on lines 837..849
    src/business/views/all.py on lines 857..869
    src/business/views/all.py on lines 887..899
    src/business/views/all.py on lines 907..919
    src/business/views/all.py on lines 935..947
    src/business/views/all.py on lines 955..967
    src/business/views/all.py on lines 986..1000
    src/business/views/all.py on lines 1008..1022
    src/business/views/all.py on lines 1039..1053
    src/business/views/all.py on lines 1061..1075
    src/business/views/all.py on lines 1092..1106
    src/business/views/all.py on lines 1114..1128
    src/business/views/all.py on lines 1145..1158
    src/business/views/all.py on lines 1166..1179
    src/business/views/all.py on lines 1195..1207
    src/business/views/all.py on lines 1215..1227
    src/business/views/all.py on lines 1243..1255
    src/business/views/all.py on lines 1263..1275
    src/business/views/all.py on lines 1291..1303
    src/business/views/all.py on lines 1311..1323
    src/business/views/all.py on lines 1342..1356
    src/business/views/all.py on lines 1364..1378
    src/business/views/all.py on lines 1394..1406
    src/business/views/all.py on lines 1414..1426
    src/business/views/all.py on lines 1442..1454
    src/business/views/all.py on lines 1462..1474
    src/business/views/all.py on lines 1490..1502
    src/business/views/all.py on lines 1510..1522
    src/business/views/all.py on lines 1538..1550
    src/business/views/all.py on lines 1558..1570
    src/business/views/all.py on lines 1586..1598
    src/business/views/all.py on lines 1606..1618
    src/business/views/all.py on lines 1654..1666

    Duplicated Code

    Duplicated code can lead to software that is hard to understand and difficult to change. The Don't Repeat Yourself (DRY) principle states:

    Every piece of knowledge must have a single, unambiguous, authoritative representation within a system.

    When you violate DRY, bugs and maintenance problems are sure to follow. Duplicated code has a tendency to both continue to replicate and also to diverge (leaving bugs as two similar implementations differ in subtle ways).

    Tuning

    This issue has a mass of 103.

    We set useful threshold defaults for the languages we support but you may want to adjust these settings based on your project guidelines.

    The threshold configuration represents the minimum mass a code block must have to be analyzed for duplication. The lower the threshold, the more fine-grained the comparison.

    If the engine is too easily reporting duplication, try raising the threshold. If you suspect that the engine isn't catching enough duplication, try lowering the threshold. The best setting tends to differ from language to language.

    See codeclimate-duplication's documentation for more information about tuning the mass threshold in your .codeclimate.yml.

    Refactorings

    Further Reading

    Similar blocks of code found in 64 locations. Consider refactoring.
    Open

    class wpMediaSizeUpdateView(UpdateView):
        model = wpMediaSize
        form_class = wpMediaSizeForm
        template_name = "business/object_form.html"
    
    
    Severity: Major
    Found in src/business/views/all.py and 63 other locations - About 6 hrs to fix
    src/business/views/all.py on lines 35..47
    src/business/views/all.py on lines 55..67
    src/business/views/all.py on lines 86..100
    src/business/views/all.py on lines 108..122
    src/business/views/all.py on lines 141..155
    src/business/views/all.py on lines 163..177
    src/business/views/all.py on lines 196..210
    src/business/views/all.py on lines 218..232
    src/business/views/all.py on lines 251..265
    src/business/views/all.py on lines 273..287
    src/business/views/all.py on lines 303..315
    src/business/views/all.py on lines 323..335
    src/business/views/all.py on lines 354..368
    src/business/views/all.py on lines 376..390
    src/business/views/all.py on lines 408..422
    src/business/views/all.py on lines 430..444
    src/business/views/all.py on lines 463..477
    src/business/views/all.py on lines 485..499
    src/business/views/all.py on lines 518..532
    src/business/views/all.py on lines 540..554
    src/business/views/all.py on lines 573..587
    src/business/views/all.py on lines 595..609
    src/business/views/all.py on lines 628..642
    src/business/views/all.py on lines 650..664
    src/business/views/all.py on lines 681..695
    src/business/views/all.py on lines 703..717
    src/business/views/all.py on lines 736..750
    src/business/views/all.py on lines 758..772
    src/business/views/all.py on lines 789..801
    src/business/views/all.py on lines 809..821
    src/business/views/all.py on lines 837..849
    src/business/views/all.py on lines 857..869
    src/business/views/all.py on lines 887..899
    src/business/views/all.py on lines 907..919
    src/business/views/all.py on lines 935..947
    src/business/views/all.py on lines 955..967
    src/business/views/all.py on lines 986..1000
    src/business/views/all.py on lines 1008..1022
    src/business/views/all.py on lines 1039..1053
    src/business/views/all.py on lines 1061..1075
    src/business/views/all.py on lines 1092..1106
    src/business/views/all.py on lines 1114..1128
    src/business/views/all.py on lines 1145..1158
    src/business/views/all.py on lines 1166..1179
    src/business/views/all.py on lines 1195..1207
    src/business/views/all.py on lines 1215..1227
    src/business/views/all.py on lines 1243..1255
    src/business/views/all.py on lines 1263..1275
    src/business/views/all.py on lines 1291..1303
    src/business/views/all.py on lines 1311..1323
    src/business/views/all.py on lines 1342..1356
    src/business/views/all.py on lines 1364..1378
    src/business/views/all.py on lines 1394..1406
    src/business/views/all.py on lines 1414..1426
    src/business/views/all.py on lines 1442..1454
    src/business/views/all.py on lines 1462..1474
    src/business/views/all.py on lines 1490..1502
    src/business/views/all.py on lines 1510..1522
    src/business/views/all.py on lines 1538..1550
    src/business/views/all.py on lines 1558..1570
    src/business/views/all.py on lines 1586..1598
    src/business/views/all.py on lines 1606..1618
    src/business/views/all.py on lines 1634..1646

    Duplicated Code

    Duplicated code can lead to software that is hard to understand and difficult to change. The Don't Repeat Yourself (DRY) principle states:

    Every piece of knowledge must have a single, unambiguous, authoritative representation within a system.

    When you violate DRY, bugs and maintenance problems are sure to follow. Duplicated code has a tendency to both continue to replicate and also to diverge (leaving bugs as two similar implementations differ in subtle ways).

    Tuning

    This issue has a mass of 103.

    We set useful threshold defaults for the languages we support but you may want to adjust these settings based on your project guidelines.

    The threshold configuration represents the minimum mass a code block must have to be analyzed for duplication. The lower the threshold, the more fine-grained the comparison.

    If the engine is too easily reporting duplication, try raising the threshold. If you suspect that the engine isn't catching enough duplication, try lowering the threshold. The best setting tends to differ from language to language.

    See codeclimate-duplication's documentation for more information about tuning the mass threshold in your .codeclimate.yml.

    Refactorings

    Further Reading

    Similar blocks of code found in 30 locations. Consider refactoring.
    Open

    class bzCreativeCollectionListView(TemplateView):
        template_name = "business/object_list.html"
    
        def get_context_data(self, **kwargs):
            context = super(bzCreativeCollectionListView,
    Severity: Major
    Found in src/business/views/all.py and 29 other locations - About 6 hrs to fix
    src/business/views/all.py on lines 22..32
    src/business/views/all.py on lines 125..138
    src/business/views/all.py on lines 180..193
    src/business/views/all.py on lines 235..248
    src/business/views/all.py on lines 290..300
    src/business/views/all.py on lines 338..351
    src/business/views/all.py on lines 393..405
    src/business/views/all.py on lines 447..460
    src/business/views/all.py on lines 502..515
    src/business/views/all.py on lines 557..570
    src/business/views/all.py on lines 612..625
    src/business/views/all.py on lines 667..678
    src/business/views/all.py on lines 720..733
    src/business/views/all.py on lines 824..834
    src/business/views/all.py on lines 922..932
    src/business/views/all.py on lines 970..983
    src/business/views/all.py on lines 1025..1036
    src/business/views/all.py on lines 1078..1089
    src/business/views/all.py on lines 1131..1142
    src/business/views/all.py on lines 1182..1192
    src/business/views/all.py on lines 1230..1240
    src/business/views/all.py on lines 1278..1288
    src/business/views/all.py on lines 1326..1339
    src/business/views/all.py on lines 1381..1391
    src/business/views/all.py on lines 1429..1439
    src/business/views/all.py on lines 1477..1487
    src/business/views/all.py on lines 1525..1535
    src/business/views/all.py on lines 1573..1583
    src/business/views/all.py on lines 1621..1631

    Duplicated Code

    Duplicated code can lead to software that is hard to understand and difficult to change. The Don't Repeat Yourself (DRY) principle states:

    Every piece of knowledge must have a single, unambiguous, authoritative representation within a system.

    When you violate DRY, bugs and maintenance problems are sure to follow. Duplicated code has a tendency to both continue to replicate and also to diverge (leaving bugs as two similar implementations differ in subtle ways).

    Tuning

    This issue has a mass of 103.

    We set useful threshold defaults for the languages we support but you may want to adjust these settings based on your project guidelines.

    The threshold configuration represents the minimum mass a code block must have to be analyzed for duplication. The lower the threshold, the more fine-grained the comparison.

    If the engine is too easily reporting duplication, try raising the threshold. If you suspect that the engine isn't catching enough duplication, try lowering the threshold. The best setting tends to differ from language to language.

    See codeclimate-duplication's documentation for more information about tuning the mass threshold in your .codeclimate.yml.

    Refactorings

    Further Reading

    Similar blocks of code found in 64 locations. Consider refactoring.
    Open

    class bzCreativeCollectionUpdateView(UpdateView):
        model = bzCreativeCollection
        form_class = bzCreativeCollectionForm
        template_name = "business/object_form.html"
    
    
    Severity: Major
    Found in src/business/views/all.py and 63 other locations - About 6 hrs to fix
    src/business/views/all.py on lines 35..47
    src/business/views/all.py on lines 55..67
    src/business/views/all.py on lines 86..100
    src/business/views/all.py on lines 141..155
    src/business/views/all.py on lines 163..177
    src/business/views/all.py on lines 196..210
    src/business/views/all.py on lines 218..232
    src/business/views/all.py on lines 251..265
    src/business/views/all.py on lines 273..287
    src/business/views/all.py on lines 303..315
    src/business/views/all.py on lines 323..335
    src/business/views/all.py on lines 354..368
    src/business/views/all.py on lines 376..390
    src/business/views/all.py on lines 408..422
    src/business/views/all.py on lines 430..444
    src/business/views/all.py on lines 463..477
    src/business/views/all.py on lines 485..499
    src/business/views/all.py on lines 518..532
    src/business/views/all.py on lines 540..554
    src/business/views/all.py on lines 573..587
    src/business/views/all.py on lines 595..609
    src/business/views/all.py on lines 628..642
    src/business/views/all.py on lines 650..664
    src/business/views/all.py on lines 681..695
    src/business/views/all.py on lines 703..717
    src/business/views/all.py on lines 736..750
    src/business/views/all.py on lines 758..772
    src/business/views/all.py on lines 789..801
    src/business/views/all.py on lines 809..821
    src/business/views/all.py on lines 837..849
    src/business/views/all.py on lines 857..869
    src/business/views/all.py on lines 887..899
    src/business/views/all.py on lines 907..919
    src/business/views/all.py on lines 935..947
    src/business/views/all.py on lines 955..967
    src/business/views/all.py on lines 986..1000
    src/business/views/all.py on lines 1008..1022
    src/business/views/all.py on lines 1039..1053
    src/business/views/all.py on lines 1061..1075
    src/business/views/all.py on lines 1092..1106
    src/business/views/all.py on lines 1114..1128
    src/business/views/all.py on lines 1145..1158
    src/business/views/all.py on lines 1166..1179
    src/business/views/all.py on lines 1195..1207
    src/business/views/all.py on lines 1215..1227
    src/business/views/all.py on lines 1243..1255
    src/business/views/all.py on lines 1263..1275
    src/business/views/all.py on lines 1291..1303
    src/business/views/all.py on lines 1311..1323
    src/business/views/all.py on lines 1342..1356
    src/business/views/all.py on lines 1364..1378
    src/business/views/all.py on lines 1394..1406
    src/business/views/all.py on lines 1414..1426
    src/business/views/all.py on lines 1442..1454
    src/business/views/all.py on lines 1462..1474
    src/business/views/all.py on lines 1490..1502
    src/business/views/all.py on lines 1510..1522
    src/business/views/all.py on lines 1538..1550
    src/business/views/all.py on lines 1558..1570
    src/business/views/all.py on lines 1586..1598
    src/business/views/all.py on lines 1606..1618
    src/business/views/all.py on lines 1634..1646
    src/business/views/all.py on lines 1654..1666

    Duplicated Code

    Duplicated code can lead to software that is hard to understand and difficult to change. The Don't Repeat Yourself (DRY) principle states:

    Every piece of knowledge must have a single, unambiguous, authoritative representation within a system.

    When you violate DRY, bugs and maintenance problems are sure to follow. Duplicated code has a tendency to both continue to replicate and also to diverge (leaving bugs as two similar implementations differ in subtle ways).

    Tuning

    This issue has a mass of 103.

    We set useful threshold defaults for the languages we support but you may want to adjust these settings based on your project guidelines.

    The threshold configuration represents the minimum mass a code block must have to be analyzed for duplication. The lower the threshold, the more fine-grained the comparison.

    If the engine is too easily reporting duplication, try raising the threshold. If you suspect that the engine isn't catching enough duplication, try lowering the threshold. The best setting tends to differ from language to language.

    See codeclimate-duplication's documentation for more information about tuning the mass threshold in your .codeclimate.yml.

    Refactorings

    Further Reading

    Similar blocks of code found in 64 locations. Consider refactoring.
    Open

    class bzCreativeLayoutCreateView(CreateView):
        model = bzCreativeLayout
        form_class = bzCreativeLayoutForm
        template_name = "business/object_form.html"
    
    
    Severity: Major
    Found in src/business/views/all.py and 63 other locations - About 6 hrs to fix
    src/business/views/all.py on lines 35..47
    src/business/views/all.py on lines 55..67
    src/business/views/all.py on lines 86..100
    src/business/views/all.py on lines 108..122
    src/business/views/all.py on lines 141..155
    src/business/views/all.py on lines 163..177
    src/business/views/all.py on lines 218..232
    src/business/views/all.py on lines 251..265
    src/business/views/all.py on lines 273..287
    src/business/views/all.py on lines 303..315
    src/business/views/all.py on lines 323..335
    src/business/views/all.py on lines 354..368
    src/business/views/all.py on lines 376..390
    src/business/views/all.py on lines 408..422
    src/business/views/all.py on lines 430..444
    src/business/views/all.py on lines 463..477
    src/business/views/all.py on lines 485..499
    src/business/views/all.py on lines 518..532
    src/business/views/all.py on lines 540..554
    src/business/views/all.py on lines 573..587
    src/business/views/all.py on lines 595..609
    src/business/views/all.py on lines 628..642
    src/business/views/all.py on lines 650..664
    src/business/views/all.py on lines 681..695
    src/business/views/all.py on lines 703..717
    src/business/views/all.py on lines 736..750
    src/business/views/all.py on lines 758..772
    src/business/views/all.py on lines 789..801
    src/business/views/all.py on lines 809..821
    src/business/views/all.py on lines 837..849
    src/business/views/all.py on lines 857..869
    src/business/views/all.py on lines 887..899
    src/business/views/all.py on lines 907..919
    src/business/views/all.py on lines 935..947
    src/business/views/all.py on lines 955..967
    src/business/views/all.py on lines 986..1000
    src/business/views/all.py on lines 1008..1022
    src/business/views/all.py on lines 1039..1053
    src/business/views/all.py on lines 1061..1075
    src/business/views/all.py on lines 1092..1106
    src/business/views/all.py on lines 1114..1128
    src/business/views/all.py on lines 1145..1158
    src/business/views/all.py on lines 1166..1179
    src/business/views/all.py on lines 1195..1207
    src/business/views/all.py on lines 1215..1227
    src/business/views/all.py on lines 1243..1255
    src/business/views/all.py on lines 1263..1275
    src/business/views/all.py on lines 1291..1303
    src/business/views/all.py on lines 1311..1323
    src/business/views/all.py on lines 1342..1356
    src/business/views/all.py on lines 1364..1378
    src/business/views/all.py on lines 1394..1406
    src/business/views/all.py on lines 1414..1426
    src/business/views/all.py on lines 1442..1454
    src/business/views/all.py on lines 1462..1474
    src/business/views/all.py on lines 1490..1502
    src/business/views/all.py on lines 1510..1522
    src/business/views/all.py on lines 1538..1550
    src/business/views/all.py on lines 1558..1570
    src/business/views/all.py on lines 1586..1598
    src/business/views/all.py on lines 1606..1618
    src/business/views/all.py on lines 1634..1646
    src/business/views/all.py on lines 1654..1666

    Duplicated Code

    Duplicated code can lead to software that is hard to understand and difficult to change. The Don't Repeat Yourself (DRY) principle states:

    Every piece of knowledge must have a single, unambiguous, authoritative representation within a system.

    When you violate DRY, bugs and maintenance problems are sure to follow. Duplicated code has a tendency to both continue to replicate and also to diverge (leaving bugs as two similar implementations differ in subtle ways).

    Tuning

    This issue has a mass of 103.

    We set useful threshold defaults for the languages we support but you may want to adjust these settings based on your project guidelines.

    The threshold configuration represents the minimum mass a code block must have to be analyzed for duplication. The lower the threshold, the more fine-grained the comparison.

    If the engine is too easily reporting duplication, try raising the threshold. If you suspect that the engine isn't catching enough duplication, try lowering the threshold. The best setting tends to differ from language to language.

    See codeclimate-duplication's documentation for more information about tuning the mass threshold in your .codeclimate.yml.

    Refactorings

    Further Reading

    Similar blocks of code found in 64 locations. Consider refactoring.
    Open

    class bzCreativeLayoutUpdateView(UpdateView):
        model = bzCreativeLayout
        form_class = bzCreativeLayoutForm
        template_name = "business/object_form.html"
    
    
    Severity: Major
    Found in src/business/views/all.py and 63 other locations - About 6 hrs to fix
    src/business/views/all.py on lines 35..47
    src/business/views/all.py on lines 55..67
    src/business/views/all.py on lines 86..100
    src/business/views/all.py on lines 108..122
    src/business/views/all.py on lines 141..155
    src/business/views/all.py on lines 163..177
    src/business/views/all.py on lines 196..210
    src/business/views/all.py on lines 251..265
    src/business/views/all.py on lines 273..287
    src/business/views/all.py on lines 303..315
    src/business/views/all.py on lines 323..335
    src/business/views/all.py on lines 354..368
    src/business/views/all.py on lines 376..390
    src/business/views/all.py on lines 408..422
    src/business/views/all.py on lines 430..444
    src/business/views/all.py on lines 463..477
    src/business/views/all.py on lines 485..499
    src/business/views/all.py on lines 518..532
    src/business/views/all.py on lines 540..554
    src/business/views/all.py on lines 573..587
    src/business/views/all.py on lines 595..609
    src/business/views/all.py on lines 628..642
    src/business/views/all.py on lines 650..664
    src/business/views/all.py on lines 681..695
    src/business/views/all.py on lines 703..717
    src/business/views/all.py on lines 736..750
    src/business/views/all.py on lines 758..772
    src/business/views/all.py on lines 789..801
    src/business/views/all.py on lines 809..821
    src/business/views/all.py on lines 837..849
    src/business/views/all.py on lines 857..869
    src/business/views/all.py on lines 887..899
    src/business/views/all.py on lines 907..919
    src/business/views/all.py on lines 935..947
    src/business/views/all.py on lines 955..967
    src/business/views/all.py on lines 986..1000
    src/business/views/all.py on lines 1008..1022
    src/business/views/all.py on lines 1039..1053
    src/business/views/all.py on lines 1061..1075
    src/business/views/all.py on lines 1092..1106
    src/business/views/all.py on lines 1114..1128
    src/business/views/all.py on lines 1145..1158
    src/business/views/all.py on lines 1166..1179
    src/business/views/all.py on lines 1195..1207
    src/business/views/all.py on lines 1215..1227
    src/business/views/all.py on lines 1243..1255
    src/business/views/all.py on lines 1263..1275
    src/business/views/all.py on lines 1291..1303
    src/business/views/all.py on lines 1311..1323
    src/business/views/all.py on lines 1342..1356
    src/business/views/all.py on lines 1364..1378
    src/business/views/all.py on lines 1394..1406
    src/business/views/all.py on lines 1414..1426
    src/business/views/all.py on lines 1442..1454
    src/business/views/all.py on lines 1462..1474
    src/business/views/all.py on lines 1490..1502
    src/business/views/all.py on lines 1510..1522
    src/business/views/all.py on lines 1538..1550
    src/business/views/all.py on lines 1558..1570
    src/business/views/all.py on lines 1586..1598
    src/business/views/all.py on lines 1606..1618
    src/business/views/all.py on lines 1634..1646
    src/business/views/all.py on lines 1654..1666

    Duplicated Code

    Duplicated code can lead to software that is hard to understand and difficult to change. The Don't Repeat Yourself (DRY) principle states:

    Every piece of knowledge must have a single, unambiguous, authoritative representation within a system.

    When you violate DRY, bugs and maintenance problems are sure to follow. Duplicated code has a tendency to both continue to replicate and also to diverge (leaving bugs as two similar implementations differ in subtle ways).

    Tuning

    This issue has a mass of 103.

    We set useful threshold defaults for the languages we support but you may want to adjust these settings based on your project guidelines.

    The threshold configuration represents the minimum mass a code block must have to be analyzed for duplication. The lower the threshold, the more fine-grained the comparison.

    If the engine is too easily reporting duplication, try raising the threshold. If you suspect that the engine isn't catching enough duplication, try lowering the threshold. The best setting tends to differ from language to language.

    See codeclimate-duplication's documentation for more information about tuning the mass threshold in your .codeclimate.yml.

    Refactorings

    Further Reading

    Similar blocks of code found in 64 locations. Consider refactoring.
    Open

    class wooAttributeCreateView(CreateView):
        model = wooAttribute
        form_class = wooAttributeForm
        template_name = "business/object_form.html"
    
    
    Severity: Major
    Found in src/business/views/all.py and 63 other locations - About 6 hrs to fix
    src/business/views/all.py on lines 35..47
    src/business/views/all.py on lines 55..67
    src/business/views/all.py on lines 86..100
    src/business/views/all.py on lines 108..122
    src/business/views/all.py on lines 141..155
    src/business/views/all.py on lines 163..177
    src/business/views/all.py on lines 196..210
    src/business/views/all.py on lines 218..232
    src/business/views/all.py on lines 251..265
    src/business/views/all.py on lines 273..287
    src/business/views/all.py on lines 303..315
    src/business/views/all.py on lines 323..335
    src/business/views/all.py on lines 354..368
    src/business/views/all.py on lines 376..390
    src/business/views/all.py on lines 408..422
    src/business/views/all.py on lines 430..444
    src/business/views/all.py on lines 463..477
    src/business/views/all.py on lines 485..499
    src/business/views/all.py on lines 518..532
    src/business/views/all.py on lines 540..554
    src/business/views/all.py on lines 573..587
    src/business/views/all.py on lines 595..609
    src/business/views/all.py on lines 628..642
    src/business/views/all.py on lines 650..664
    src/business/views/all.py on lines 681..695
    src/business/views/all.py on lines 703..717
    src/business/views/all.py on lines 736..750
    src/business/views/all.py on lines 758..772
    src/business/views/all.py on lines 789..801
    src/business/views/all.py on lines 809..821
    src/business/views/all.py on lines 837..849
    src/business/views/all.py on lines 857..869
    src/business/views/all.py on lines 887..899
    src/business/views/all.py on lines 907..919
    src/business/views/all.py on lines 935..947
    src/business/views/all.py on lines 955..967
    src/business/views/all.py on lines 986..1000
    src/business/views/all.py on lines 1008..1022
    src/business/views/all.py on lines 1039..1053
    src/business/views/all.py on lines 1061..1075
    src/business/views/all.py on lines 1092..1106
    src/business/views/all.py on lines 1114..1128
    src/business/views/all.py on lines 1166..1179
    src/business/views/all.py on lines 1195..1207
    src/business/views/all.py on lines 1215..1227
    src/business/views/all.py on lines 1243..1255
    src/business/views/all.py on lines 1263..1275
    src/business/views/all.py on lines 1291..1303
    src/business/views/all.py on lines 1311..1323
    src/business/views/all.py on lines 1342..1356
    src/business/views/all.py on lines 1364..1378
    src/business/views/all.py on lines 1394..1406
    src/business/views/all.py on lines 1414..1426
    src/business/views/all.py on lines 1442..1454
    src/business/views/all.py on lines 1462..1474
    src/business/views/all.py on lines 1490..1502
    src/business/views/all.py on lines 1510..1522
    src/business/views/all.py on lines 1538..1550
    src/business/views/all.py on lines 1558..1570
    src/business/views/all.py on lines 1586..1598
    src/business/views/all.py on lines 1606..1618
    src/business/views/all.py on lines 1634..1646
    src/business/views/all.py on lines 1654..1666

    Duplicated Code

    Duplicated code can lead to software that is hard to understand and difficult to change. The Don't Repeat Yourself (DRY) principle states:

    Every piece of knowledge must have a single, unambiguous, authoritative representation within a system.

    When you violate DRY, bugs and maintenance problems are sure to follow. Duplicated code has a tendency to both continue to replicate and also to diverge (leaving bugs as two similar implementations differ in subtle ways).

    Tuning

    This issue has a mass of 103.

    We set useful threshold defaults for the languages we support but you may want to adjust these settings based on your project guidelines.

    The threshold configuration represents the minimum mass a code block must have to be analyzed for duplication. The lower the threshold, the more fine-grained the comparison.

    If the engine is too easily reporting duplication, try raising the threshold. If you suspect that the engine isn't catching enough duplication, try lowering the threshold. The best setting tends to differ from language to language.

    See codeclimate-duplication's documentation for more information about tuning the mass threshold in your .codeclimate.yml.

    Refactorings

    Further Reading

    Similar blocks of code found in 30 locations. Consider refactoring.
    Open

    class pfSyncVariantListView(TemplateView):
        template_name = "business/object_list.html"
    
        def get_context_data(self, **kwargs):
            context = super(pfSyncVariantListView, self).get_context_data(**kwargs)
    Severity: Major
    Found in src/business/views/all.py and 29 other locations - About 6 hrs to fix
    src/business/views/all.py on lines 22..32
    src/business/views/all.py on lines 70..83
    src/business/views/all.py on lines 125..138
    src/business/views/all.py on lines 180..193
    src/business/views/all.py on lines 235..248
    src/business/views/all.py on lines 290..300
    src/business/views/all.py on lines 338..351
    src/business/views/all.py on lines 393..405
    src/business/views/all.py on lines 447..460
    src/business/views/all.py on lines 502..515
    src/business/views/all.py on lines 557..570
    src/business/views/all.py on lines 612..625
    src/business/views/all.py on lines 667..678
    src/business/views/all.py on lines 720..733
    src/business/views/all.py on lines 824..834
    src/business/views/all.py on lines 922..932
    src/business/views/all.py on lines 970..983
    src/business/views/all.py on lines 1025..1036
    src/business/views/all.py on lines 1131..1142
    src/business/views/all.py on lines 1182..1192
    src/business/views/all.py on lines 1230..1240
    src/business/views/all.py on lines 1278..1288
    src/business/views/all.py on lines 1326..1339
    src/business/views/all.py on lines 1381..1391
    src/business/views/all.py on lines 1429..1439
    src/business/views/all.py on lines 1477..1487
    src/business/views/all.py on lines 1525..1535
    src/business/views/all.py on lines 1573..1583
    src/business/views/all.py on lines 1621..1631

    Duplicated Code

    Duplicated code can lead to software that is hard to understand and difficult to change. The Don't Repeat Yourself (DRY) principle states:

    Every piece of knowledge must have a single, unambiguous, authoritative representation within a system.

    When you violate DRY, bugs and maintenance problems are sure to follow. Duplicated code has a tendency to both continue to replicate and also to diverge (leaving bugs as two similar implementations differ in subtle ways).

    Tuning

    This issue has a mass of 103.

    We set useful threshold defaults for the languages we support but you may want to adjust these settings based on your project guidelines.

    The threshold configuration represents the minimum mass a code block must have to be analyzed for duplication. The lower the threshold, the more fine-grained the comparison.

    If the engine is too easily reporting duplication, try raising the threshold. If you suspect that the engine isn't catching enough duplication, try lowering the threshold. The best setting tends to differ from language to language.

    See codeclimate-duplication's documentation for more information about tuning the mass threshold in your .codeclimate.yml.

    Refactorings

    Further Reading

    Similar blocks of code found in 30 locations. Consider refactoring.
    Open

    class wooStoreListView(TemplateView):
        template_name = "business/object_list.html"
    
        def get_context_data(self, **kwargs):
            context = super(wooStoreListView, self).get_context_data(**kwargs)
    Severity: Major
    Found in src/business/views/all.py and 29 other locations - About 6 hrs to fix
    src/business/views/all.py on lines 22..32
    src/business/views/all.py on lines 70..83
    src/business/views/all.py on lines 125..138
    src/business/views/all.py on lines 180..193
    src/business/views/all.py on lines 235..248
    src/business/views/all.py on lines 290..300
    src/business/views/all.py on lines 338..351
    src/business/views/all.py on lines 393..405
    src/business/views/all.py on lines 447..460
    src/business/views/all.py on lines 502..515
    src/business/views/all.py on lines 557..570
    src/business/views/all.py on lines 612..625
    src/business/views/all.py on lines 667..678
    src/business/views/all.py on lines 720..733
    src/business/views/all.py on lines 824..834
    src/business/views/all.py on lines 922..932
    src/business/views/all.py on lines 970..983
    src/business/views/all.py on lines 1025..1036
    src/business/views/all.py on lines 1078..1089
    src/business/views/all.py on lines 1131..1142
    src/business/views/all.py on lines 1182..1192
    src/business/views/all.py on lines 1230..1240
    src/business/views/all.py on lines 1278..1288
    src/business/views/all.py on lines 1326..1339
    src/business/views/all.py on lines 1429..1439
    src/business/views/all.py on lines 1477..1487
    src/business/views/all.py on lines 1525..1535
    src/business/views/all.py on lines 1573..1583
    src/business/views/all.py on lines 1621..1631

    Duplicated Code

    Duplicated code can lead to software that is hard to understand and difficult to change. The Don't Repeat Yourself (DRY) principle states:

    Every piece of knowledge must have a single, unambiguous, authoritative representation within a system.

    When you violate DRY, bugs and maintenance problems are sure to follow. Duplicated code has a tendency to both continue to replicate and also to diverge (leaving bugs as two similar implementations differ in subtle ways).

    Tuning

    This issue has a mass of 103.

    We set useful threshold defaults for the languages we support but you may want to adjust these settings based on your project guidelines.

    The threshold configuration represents the minimum mass a code block must have to be analyzed for duplication. The lower the threshold, the more fine-grained the comparison.

    If the engine is too easily reporting duplication, try raising the threshold. If you suspect that the engine isn't catching enough duplication, try lowering the threshold. The best setting tends to differ from language to language.

    See codeclimate-duplication's documentation for more information about tuning the mass threshold in your .codeclimate.yml.

    Refactorings

    Further Reading

    Similar blocks of code found in 64 locations. Consider refactoring.
    Open

    class pfCatalogSizeCreateView(CreateView):
        model = pfCatalogSize
        form_class = pfCatalogSizeForm
        template_name = "business/object_form.html"
    
    
    Severity: Major
    Found in src/business/views/all.py and 63 other locations - About 6 hrs to fix
    src/business/views/all.py on lines 35..47
    src/business/views/all.py on lines 55..67
    src/business/views/all.py on lines 86..100
    src/business/views/all.py on lines 108..122
    src/business/views/all.py on lines 141..155
    src/business/views/all.py on lines 163..177
    src/business/views/all.py on lines 196..210
    src/business/views/all.py on lines 218..232
    src/business/views/all.py on lines 251..265
    src/business/views/all.py on lines 273..287
    src/business/views/all.py on lines 303..315
    src/business/views/all.py on lines 323..335
    src/business/views/all.py on lines 354..368
    src/business/views/all.py on lines 376..390
    src/business/views/all.py on lines 408..422
    src/business/views/all.py on lines 430..444
    src/business/views/all.py on lines 463..477
    src/business/views/all.py on lines 485..499
    src/business/views/all.py on lines 518..532
    src/business/views/all.py on lines 540..554
    src/business/views/all.py on lines 573..587
    src/business/views/all.py on lines 595..609
    src/business/views/all.py on lines 628..642
    src/business/views/all.py on lines 650..664
    src/business/views/all.py on lines 703..717
    src/business/views/all.py on lines 736..750
    src/business/views/all.py on lines 758..772
    src/business/views/all.py on lines 789..801
    src/business/views/all.py on lines 809..821
    src/business/views/all.py on lines 837..849
    src/business/views/all.py on lines 857..869
    src/business/views/all.py on lines 887..899
    src/business/views/all.py on lines 907..919
    src/business/views/all.py on lines 935..947
    src/business/views/all.py on lines 955..967
    src/business/views/all.py on lines 986..1000
    src/business/views/all.py on lines 1008..1022
    src/business/views/all.py on lines 1039..1053
    src/business/views/all.py on lines 1061..1075
    src/business/views/all.py on lines 1092..1106
    src/business/views/all.py on lines 1114..1128
    src/business/views/all.py on lines 1145..1158
    src/business/views/all.py on lines 1166..1179
    src/business/views/all.py on lines 1195..1207
    src/business/views/all.py on lines 1215..1227
    src/business/views/all.py on lines 1243..1255
    src/business/views/all.py on lines 1263..1275
    src/business/views/all.py on lines 1291..1303
    src/business/views/all.py on lines 1311..1323
    src/business/views/all.py on lines 1342..1356
    src/business/views/all.py on lines 1364..1378
    src/business/views/all.py on lines 1394..1406
    src/business/views/all.py on lines 1414..1426
    src/business/views/all.py on lines 1442..1454
    src/business/views/all.py on lines 1462..1474
    src/business/views/all.py on lines 1490..1502
    src/business/views/all.py on lines 1510..1522
    src/business/views/all.py on lines 1538..1550
    src/business/views/all.py on lines 1558..1570
    src/business/views/all.py on lines 1586..1598
    src/business/views/all.py on lines 1606..1618
    src/business/views/all.py on lines 1634..1646
    src/business/views/all.py on lines 1654..1666

    Duplicated Code

    Duplicated code can lead to software that is hard to understand and difficult to change. The Don't Repeat Yourself (DRY) principle states:

    Every piece of knowledge must have a single, unambiguous, authoritative representation within a system.

    When you violate DRY, bugs and maintenance problems are sure to follow. Duplicated code has a tendency to both continue to replicate and also to diverge (leaving bugs as two similar implementations differ in subtle ways).

    Tuning

    This issue has a mass of 103.

    We set useful threshold defaults for the languages we support but you may want to adjust these settings based on your project guidelines.

    The threshold configuration represents the minimum mass a code block must have to be analyzed for duplication. The lower the threshold, the more fine-grained the comparison.

    If the engine is too easily reporting duplication, try raising the threshold. If you suspect that the engine isn't catching enough duplication, try lowering the threshold. The best setting tends to differ from language to language.

    See codeclimate-duplication's documentation for more information about tuning the mass threshold in your .codeclimate.yml.

    Refactorings

    Further Reading

    Similar blocks of code found in 64 locations. Consider refactoring.
    Open

    class pfCatalogVariantCreateView(CreateView):
        model = pfCatalogVariant
        form_class = pfCatalogVariantForm
        template_name = "business/object_form.html"
    
    
    Severity: Major
    Found in src/business/views/all.py and 63 other locations - About 6 hrs to fix
    src/business/views/all.py on lines 35..47
    src/business/views/all.py on lines 55..67
    src/business/views/all.py on lines 86..100
    src/business/views/all.py on lines 108..122
    src/business/views/all.py on lines 141..155
    src/business/views/all.py on lines 163..177
    src/business/views/all.py on lines 196..210
    src/business/views/all.py on lines 218..232
    src/business/views/all.py on lines 251..265
    src/business/views/all.py on lines 273..287
    src/business/views/all.py on lines 303..315
    src/business/views/all.py on lines 323..335
    src/business/views/all.py on lines 354..368
    src/business/views/all.py on lines 376..390
    src/business/views/all.py on lines 408..422
    src/business/views/all.py on lines 430..444
    src/business/views/all.py on lines 463..477
    src/business/views/all.py on lines 485..499
    src/business/views/all.py on lines 518..532
    src/business/views/all.py on lines 540..554
    src/business/views/all.py on lines 573..587
    src/business/views/all.py on lines 595..609
    src/business/views/all.py on lines 628..642
    src/business/views/all.py on lines 650..664
    src/business/views/all.py on lines 681..695
    src/business/views/all.py on lines 703..717
    src/business/views/all.py on lines 758..772
    src/business/views/all.py on lines 789..801
    src/business/views/all.py on lines 809..821
    src/business/views/all.py on lines 837..849
    src/business/views/all.py on lines 857..869
    src/business/views/all.py on lines 887..899
    src/business/views/all.py on lines 907..919
    src/business/views/all.py on lines 935..947
    src/business/views/all.py on lines 955..967
    src/business/views/all.py on lines 986..1000
    src/business/views/all.py on lines 1008..1022
    src/business/views/all.py on lines 1039..1053
    src/business/views/all.py on lines 1061..1075
    src/business/views/all.py on lines 1092..1106
    src/business/views/all.py on lines 1114..1128
    src/business/views/all.py on lines 1145..1158
    src/business/views/all.py on lines 1166..1179
    src/business/views/all.py on lines 1195..1207
    src/business/views/all.py on lines 1215..1227
    src/business/views/all.py on lines 1243..1255
    src/business/views/all.py on lines 1263..1275
    src/business/views/all.py on lines 1291..1303
    src/business/views/all.py on lines 1311..1323
    src/business/views/all.py on lines 1342..1356
    src/business/views/all.py on lines 1364..1378
    src/business/views/all.py on lines 1394..1406
    src/business/views/all.py on lines 1414..1426
    src/business/views/all.py on lines 1442..1454
    src/business/views/all.py on lines 1462..1474
    src/business/views/all.py on lines 1490..1502
    src/business/views/all.py on lines 1510..1522
    src/business/views/all.py on lines 1538..1550
    src/business/views/all.py on lines 1558..1570
    src/business/views/all.py on lines 1586..1598
    src/business/views/all.py on lines 1606..1618
    src/business/views/all.py on lines 1634..1646
    src/business/views/all.py on lines 1654..1666

    Duplicated Code

    Duplicated code can lead to software that is hard to understand and difficult to change. The Don't Repeat Yourself (DRY) principle states:

    Every piece of knowledge must have a single, unambiguous, authoritative representation within a system.

    When you violate DRY, bugs and maintenance problems are sure to follow. Duplicated code has a tendency to both continue to replicate and also to diverge (leaving bugs as two similar implementations differ in subtle ways).

    Tuning

    This issue has a mass of 103.

    We set useful threshold defaults for the languages we support but you may want to adjust these settings based on your project guidelines.

    The threshold configuration represents the minimum mass a code block must have to be analyzed for duplication. The lower the threshold, the more fine-grained the comparison.

    If the engine is too easily reporting duplication, try raising the threshold. If you suspect that the engine isn't catching enough duplication, try lowering the threshold. The best setting tends to differ from language to language.

    See codeclimate-duplication's documentation for more information about tuning the mass threshold in your .codeclimate.yml.

    Refactorings

    Further Reading

    Similar blocks of code found in 64 locations. Consider refactoring.
    Open

    class bzProductUpdateView(UpdateView):
        model = bzProduct
        form_class = bzProductForm
        template_name = "business/object_form.html"
    
    
    Severity: Major
    Found in src/business/views/all.py and 63 other locations - About 6 hrs to fix
    src/business/views/all.py on lines 35..47
    src/business/views/all.py on lines 55..67
    src/business/views/all.py on lines 86..100
    src/business/views/all.py on lines 108..122
    src/business/views/all.py on lines 141..155
    src/business/views/all.py on lines 163..177
    src/business/views/all.py on lines 196..210
    src/business/views/all.py on lines 218..232
    src/business/views/all.py on lines 251..265
    src/business/views/all.py on lines 273..287
    src/business/views/all.py on lines 303..315
    src/business/views/all.py on lines 354..368
    src/business/views/all.py on lines 376..390
    src/business/views/all.py on lines 408..422
    src/business/views/all.py on lines 430..444
    src/business/views/all.py on lines 463..477
    src/business/views/all.py on lines 485..499
    src/business/views/all.py on lines 518..532
    src/business/views/all.py on lines 540..554
    src/business/views/all.py on lines 573..587
    src/business/views/all.py on lines 595..609
    src/business/views/all.py on lines 628..642
    src/business/views/all.py on lines 650..664
    src/business/views/all.py on lines 681..695
    src/business/views/all.py on lines 703..717
    src/business/views/all.py on lines 736..750
    src/business/views/all.py on lines 758..772
    src/business/views/all.py on lines 789..801
    src/business/views/all.py on lines 809..821
    src/business/views/all.py on lines 837..849
    src/business/views/all.py on lines 857..869
    src/business/views/all.py on lines 887..899
    src/business/views/all.py on lines 907..919
    src/business/views/all.py on lines 935..947
    src/business/views/all.py on lines 955..967
    src/business/views/all.py on lines 986..1000
    src/business/views/all.py on lines 1008..1022
    src/business/views/all.py on lines 1039..1053
    src/business/views/all.py on lines 1061..1075
    src/business/views/all.py on lines 1092..1106
    src/business/views/all.py on lines 1114..1128
    src/business/views/all.py on lines 1145..1158
    src/business/views/all.py on lines 1166..1179
    src/business/views/all.py on lines 1195..1207
    src/business/views/all.py on lines 1215..1227
    src/business/views/all.py on lines 1243..1255
    src/business/views/all.py on lines 1263..1275
    src/business/views/all.py on lines 1291..1303
    src/business/views/all.py on lines 1311..1323
    src/business/views/all.py on lines 1342..1356
    src/business/views/all.py on lines 1364..1378
    src/business/views/all.py on lines 1394..1406
    src/business/views/all.py on lines 1414..1426
    src/business/views/all.py on lines 1442..1454
    src/business/views/all.py on lines 1462..1474
    src/business/views/all.py on lines 1490..1502
    src/business/views/all.py on lines 1510..1522
    src/business/views/all.py on lines 1538..1550
    src/business/views/all.py on lines 1558..1570
    src/business/views/all.py on lines 1586..1598
    src/business/views/all.py on lines 1606..1618
    src/business/views/all.py on lines 1634..1646
    src/business/views/all.py on lines 1654..1666

    Duplicated Code

    Duplicated code can lead to software that is hard to understand and difficult to change. The Don't Repeat Yourself (DRY) principle states:

    Every piece of knowledge must have a single, unambiguous, authoritative representation within a system.

    When you violate DRY, bugs and maintenance problems are sure to follow. Duplicated code has a tendency to both continue to replicate and also to diverge (leaving bugs as two similar implementations differ in subtle ways).

    Tuning

    This issue has a mass of 103.

    We set useful threshold defaults for the languages we support but you may want to adjust these settings based on your project guidelines.

    The threshold configuration represents the minimum mass a code block must have to be analyzed for duplication. The lower the threshold, the more fine-grained the comparison.

    If the engine is too easily reporting duplication, try raising the threshold. If you suspect that the engine isn't catching enough duplication, try lowering the threshold. The best setting tends to differ from language to language.

    See codeclimate-duplication's documentation for more information about tuning the mass threshold in your .codeclimate.yml.

    Refactorings

    Further Reading

    Similar blocks of code found in 64 locations. Consider refactoring.
    Open

    class wooImageCreateView(CreateView):
        model = wooImage
        form_class = wooImageForm
        template_name = "business/object_form.html"
    
    
    Severity: Major
    Found in src/business/views/all.py and 63 other locations - About 6 hrs to fix
    src/business/views/all.py on lines 35..47
    src/business/views/all.py on lines 55..67
    src/business/views/all.py on lines 86..100
    src/business/views/all.py on lines 108..122
    src/business/views/all.py on lines 141..155
    src/business/views/all.py on lines 163..177
    src/business/views/all.py on lines 196..210
    src/business/views/all.py on lines 218..232
    src/business/views/all.py on lines 251..265
    src/business/views/all.py on lines 273..287
    src/business/views/all.py on lines 303..315
    src/business/views/all.py on lines 323..335
    src/business/views/all.py on lines 354..368
    src/business/views/all.py on lines 376..390
    src/business/views/all.py on lines 408..422
    src/business/views/all.py on lines 430..444
    src/business/views/all.py on lines 463..477
    src/business/views/all.py on lines 485..499
    src/business/views/all.py on lines 518..532
    src/business/views/all.py on lines 540..554
    src/business/views/all.py on lines 573..587
    src/business/views/all.py on lines 595..609
    src/business/views/all.py on lines 628..642
    src/business/views/all.py on lines 650..664
    src/business/views/all.py on lines 681..695
    src/business/views/all.py on lines 703..717
    src/business/views/all.py on lines 736..750
    src/business/views/all.py on lines 758..772
    src/business/views/all.py on lines 789..801
    src/business/views/all.py on lines 809..821
    src/business/views/all.py on lines 837..849
    src/business/views/all.py on lines 857..869
    src/business/views/all.py on lines 887..899
    src/business/views/all.py on lines 907..919
    src/business/views/all.py on lines 935..947
    src/business/views/all.py on lines 955..967
    src/business/views/all.py on lines 986..1000
    src/business/views/all.py on lines 1008..1022
    src/business/views/all.py on lines 1039..1053
    src/business/views/all.py on lines 1061..1075
    src/business/views/all.py on lines 1092..1106
    src/business/views/all.py on lines 1114..1128
    src/business/views/all.py on lines 1145..1158
    src/business/views/all.py on lines 1166..1179
    src/business/views/all.py on lines 1195..1207
    src/business/views/all.py on lines 1215..1227
    src/business/views/all.py on lines 1263..1275
    src/business/views/all.py on lines 1291..1303
    src/business/views/all.py on lines 1311..1323
    src/business/views/all.py on lines 1342..1356
    src/business/views/all.py on lines 1364..1378
    src/business/views/all.py on lines 1394..1406
    src/business/views/all.py on lines 1414..1426
    src/business/views/all.py on lines 1442..1454
    src/business/views/all.py on lines 1462..1474
    src/business/views/all.py on lines 1490..1502
    src/business/views/all.py on lines 1510..1522
    src/business/views/all.py on lines 1538..1550
    src/business/views/all.py on lines 1558..1570
    src/business/views/all.py on lines 1586..1598
    src/business/views/all.py on lines 1606..1618
    src/business/views/all.py on lines 1634..1646
    src/business/views/all.py on lines 1654..1666

    Duplicated Code

    Duplicated code can lead to software that is hard to understand and difficult to change. The Don't Repeat Yourself (DRY) principle states:

    Every piece of knowledge must have a single, unambiguous, authoritative representation within a system.

    When you violate DRY, bugs and maintenance problems are sure to follow. Duplicated code has a tendency to both continue to replicate and also to diverge (leaving bugs as two similar implementations differ in subtle ways).

    Tuning

    This issue has a mass of 103.

    We set useful threshold defaults for the languages we support but you may want to adjust these settings based on your project guidelines.

    The threshold configuration represents the minimum mass a code block must have to be analyzed for duplication. The lower the threshold, the more fine-grained the comparison.

    If the engine is too easily reporting duplication, try raising the threshold. If you suspect that the engine isn't catching enough duplication, try lowering the threshold. The best setting tends to differ from language to language.

    See codeclimate-duplication's documentation for more information about tuning the mass threshold in your .codeclimate.yml.

    Refactorings

    Further Reading

    Similar blocks of code found in 64 locations. Consider refactoring.
    Open

    class pfCatalogColorUpdateView(UpdateView):
        model = pfCatalogColor
        form_class = pfCatalogColorForm
        template_name = "business/object_form.html"
    
    
    Severity: Major
    Found in src/business/views/all.py and 63 other locations - About 6 hrs to fix
    src/business/views/all.py on lines 35..47
    src/business/views/all.py on lines 55..67
    src/business/views/all.py on lines 86..100
    src/business/views/all.py on lines 108..122
    src/business/views/all.py on lines 141..155
    src/business/views/all.py on lines 163..177
    src/business/views/all.py on lines 196..210
    src/business/views/all.py on lines 218..232
    src/business/views/all.py on lines 251..265
    src/business/views/all.py on lines 273..287
    src/business/views/all.py on lines 303..315
    src/business/views/all.py on lines 323..335
    src/business/views/all.py on lines 354..368
    src/business/views/all.py on lines 376..390
    src/business/views/all.py on lines 408..422
    src/business/views/all.py on lines 463..477
    src/business/views/all.py on lines 485..499
    src/business/views/all.py on lines 518..532
    src/business/views/all.py on lines 540..554
    src/business/views/all.py on lines 573..587
    src/business/views/all.py on lines 595..609
    src/business/views/all.py on lines 628..642
    src/business/views/all.py on lines 650..664
    src/business/views/all.py on lines 681..695
    src/business/views/all.py on lines 703..717
    src/business/views/all.py on lines 736..750
    src/business/views/all.py on lines 758..772
    src/business/views/all.py on lines 789..801
    src/business/views/all.py on lines 809..821
    src/business/views/all.py on lines 837..849
    src/business/views/all.py on lines 857..869
    src/business/views/all.py on lines 887..899
    src/business/views/all.py on lines 907..919
    src/business/views/all.py on lines 935..947
    src/business/views/all.py on lines 955..967
    src/business/views/all.py on lines 986..1000
    src/business/views/all.py on lines 1008..1022
    src/business/views/all.py on lines 1039..1053
    src/business/views/all.py on lines 1061..1075
    src/business/views/all.py on lines 1092..1106
    src/business/views/all.py on lines 1114..1128
    src/business/views/all.py on lines 1145..1158
    src/business/views/all.py on lines 1166..1179
    src/business/views/all.py on lines 1195..1207
    src/business/views/all.py on lines 1215..1227
    src/business/views/all.py on lines 1243..1255
    src/business/views/all.py on lines 1263..1275
    src/business/views/all.py on lines 1291..1303
    src/business/views/all.py on lines 1311..1323
    src/business/views/all.py on lines 1342..1356
    src/business/views/all.py on lines 1364..1378
    src/business/views/all.py on lines 1394..1406
    src/business/views/all.py on lines 1414..1426
    src/business/views/all.py on lines 1442..1454
    src/business/views/all.py on lines 1462..1474
    src/business/views/all.py on lines 1490..1502
    src/business/views/all.py on lines 1510..1522
    src/business/views/all.py on lines 1538..1550
    src/business/views/all.py on lines 1558..1570
    src/business/views/all.py on lines 1586..1598
    src/business/views/all.py on lines 1606..1618
    src/business/views/all.py on lines 1634..1646
    src/business/views/all.py on lines 1654..1666

    Duplicated Code

    Duplicated code can lead to software that is hard to understand and difficult to change. The Don't Repeat Yourself (DRY) principle states:

    Every piece of knowledge must have a single, unambiguous, authoritative representation within a system.

    When you violate DRY, bugs and maintenance problems are sure to follow. Duplicated code has a tendency to both continue to replicate and also to diverge (leaving bugs as two similar implementations differ in subtle ways).

    Tuning

    This issue has a mass of 103.

    We set useful threshold defaults for the languages we support but you may want to adjust these settings based on your project guidelines.

    The threshold configuration represents the minimum mass a code block must have to be analyzed for duplication. The lower the threshold, the more fine-grained the comparison.

    If the engine is too easily reporting duplication, try raising the threshold. If you suspect that the engine isn't catching enough duplication, try lowering the threshold. The best setting tends to differ from language to language.

    See codeclimate-duplication's documentation for more information about tuning the mass threshold in your .codeclimate.yml.

    Refactorings

    Further Reading

    Similar blocks of code found in 30 locations. Consider refactoring.
    Open

    class bzProductVariantListView(TemplateView):
        template_name = "business/object_list.html"
    
        def get_context_data(self, **kwargs):
            context = super(bzProductVariantListView,
    Severity: Major
    Found in src/business/views/all.py and 29 other locations - About 6 hrs to fix
    src/business/views/all.py on lines 22..32
    src/business/views/all.py on lines 70..83
    src/business/views/all.py on lines 125..138
    src/business/views/all.py on lines 180..193
    src/business/views/all.py on lines 235..248
    src/business/views/all.py on lines 290..300
    src/business/views/all.py on lines 393..405
    src/business/views/all.py on lines 447..460
    src/business/views/all.py on lines 502..515
    src/business/views/all.py on lines 557..570
    src/business/views/all.py on lines 612..625
    src/business/views/all.py on lines 667..678
    src/business/views/all.py on lines 720..733
    src/business/views/all.py on lines 824..834
    src/business/views/all.py on lines 922..932
    src/business/views/all.py on lines 970..983
    src/business/views/all.py on lines 1025..1036
    src/business/views/all.py on lines 1078..1089
    src/business/views/all.py on lines 1131..1142
    src/business/views/all.py on lines 1182..1192
    src/business/views/all.py on lines 1230..1240
    src/business/views/all.py on lines 1278..1288
    src/business/views/all.py on lines 1326..1339
    src/business/views/all.py on lines 1381..1391
    src/business/views/all.py on lines 1429..1439
    src/business/views/all.py on lines 1477..1487
    src/business/views/all.py on lines 1525..1535
    src/business/views/all.py on lines 1573..1583
    src/business/views/all.py on lines 1621..1631

    Duplicated Code

    Duplicated code can lead to software that is hard to understand and difficult to change. The Don't Repeat Yourself (DRY) principle states:

    Every piece of knowledge must have a single, unambiguous, authoritative representation within a system.

    When you violate DRY, bugs and maintenance problems are sure to follow. Duplicated code has a tendency to both continue to replicate and also to diverge (leaving bugs as two similar implementations differ in subtle ways).

    Tuning

    This issue has a mass of 103.

    We set useful threshold defaults for the languages we support but you may want to adjust these settings based on your project guidelines.

    The threshold configuration represents the minimum mass a code block must have to be analyzed for duplication. The lower the threshold, the more fine-grained the comparison.

    If the engine is too easily reporting duplication, try raising the threshold. If you suspect that the engine isn't catching enough duplication, try lowering the threshold. The best setting tends to differ from language to language.

    See codeclimate-duplication's documentation for more information about tuning the mass threshold in your .codeclimate.yml.

    Refactorings

    Further Reading

    Similar blocks of code found in 64 locations. Consider refactoring.
    Open

    class pfCatalogOptionTypeUpdateView(UpdateView):
        model = pfCatalogOptionType
        form_class = pfCatalogOptionTypeForm
        template_name = "business/object_form.html"
    
    
    Severity: Major
    Found in src/business/views/all.py and 63 other locations - About 6 hrs to fix
    src/business/views/all.py on lines 35..47
    src/business/views/all.py on lines 55..67
    src/business/views/all.py on lines 86..100
    src/business/views/all.py on lines 108..122
    src/business/views/all.py on lines 141..155
    src/business/views/all.py on lines 163..177
    src/business/views/all.py on lines 196..210
    src/business/views/all.py on lines 218..232
    src/business/views/all.py on lines 251..265
    src/business/views/all.py on lines 273..287
    src/business/views/all.py on lines 303..315
    src/business/views/all.py on lines 323..335
    src/business/views/all.py on lines 354..368
    src/business/views/all.py on lines 376..390
    src/business/views/all.py on lines 408..422
    src/business/views/all.py on lines 430..444
    src/business/views/all.py on lines 463..477
    src/business/views/all.py on lines 485..499
    src/business/views/all.py on lines 518..532
    src/business/views/all.py on lines 540..554
    src/business/views/all.py on lines 573..587
    src/business/views/all.py on lines 628..642
    src/business/views/all.py on lines 650..664
    src/business/views/all.py on lines 681..695
    src/business/views/all.py on lines 703..717
    src/business/views/all.py on lines 736..750
    src/business/views/all.py on lines 758..772
    src/business/views/all.py on lines 789..801
    src/business/views/all.py on lines 809..821
    src/business/views/all.py on lines 837..849
    src/business/views/all.py on lines 857..869
    src/business/views/all.py on lines 887..899
    src/business/views/all.py on lines 907..919
    src/business/views/all.py on lines 935..947
    src/business/views/all.py on lines 955..967
    src/business/views/all.py on lines 986..1000
    src/business/views/all.py on lines 1008..1022
    src/business/views/all.py on lines 1039..1053
    src/business/views/all.py on lines 1061..1075
    src/business/views/all.py on lines 1092..1106
    src/business/views/all.py on lines 1114..1128
    src/business/views/all.py on lines 1145..1158
    src/business/views/all.py on lines 1166..1179
    src/business/views/all.py on lines 1195..1207
    src/business/views/all.py on lines 1215..1227
    src/business/views/all.py on lines 1243..1255
    src/business/views/all.py on lines 1263..1275
    src/business/views/all.py on lines 1291..1303
    src/business/views/all.py on lines 1311..1323
    src/business/views/all.py on lines 1342..1356
    src/business/views/all.py on lines 1364..1378
    src/business/views/all.py on lines 1394..1406
    src/business/views/all.py on lines 1414..1426
    src/business/views/all.py on lines 1442..1454
    src/business/views/all.py on lines 1462..1474
    src/business/views/all.py on lines 1490..1502
    src/business/views/all.py on lines 1510..1522
    src/business/views/all.py on lines 1538..1550
    src/business/views/all.py on lines 1558..1570
    src/business/views/all.py on lines 1586..1598
    src/business/views/all.py on lines 1606..1618
    src/business/views/all.py on lines 1634..1646
    src/business/views/all.py on lines 1654..1666

    Duplicated Code

    Duplicated code can lead to software that is hard to understand and difficult to change. The Don't Repeat Yourself (DRY) principle states:

    Every piece of knowledge must have a single, unambiguous, authoritative representation within a system.

    When you violate DRY, bugs and maintenance problems are sure to follow. Duplicated code has a tendency to both continue to replicate and also to diverge (leaving bugs as two similar implementations differ in subtle ways).

    Tuning

    This issue has a mass of 103.

    We set useful threshold defaults for the languages we support but you may want to adjust these settings based on your project guidelines.

    The threshold configuration represents the minimum mass a code block must have to be analyzed for duplication. The lower the threshold, the more fine-grained the comparison.

    If the engine is too easily reporting duplication, try raising the threshold. If you suspect that the engine isn't catching enough duplication, try lowering the threshold. The best setting tends to differ from language to language.

    See codeclimate-duplication's documentation for more information about tuning the mass threshold in your .codeclimate.yml.

    Refactorings

    Further Reading

    Similar blocks of code found in 64 locations. Consider refactoring.
    Open

    class pfCatalogOptionTypeCreateView(CreateView):
        model = pfCatalogOptionType
        form_class = pfCatalogOptionTypeForm
        template_name = "business/object_form.html"
    
    
    Severity: Major
    Found in src/business/views/all.py and 63 other locations - About 6 hrs to fix
    src/business/views/all.py on lines 35..47
    src/business/views/all.py on lines 55..67
    src/business/views/all.py on lines 86..100
    src/business/views/all.py on lines 108..122
    src/business/views/all.py on lines 141..155
    src/business/views/all.py on lines 163..177
    src/business/views/all.py on lines 196..210
    src/business/views/all.py on lines 218..232
    src/business/views/all.py on lines 251..265
    src/business/views/all.py on lines 273..287
    src/business/views/all.py on lines 303..315
    src/business/views/all.py on lines 323..335
    src/business/views/all.py on lines 354..368
    src/business/views/all.py on lines 376..390
    src/business/views/all.py on lines 408..422
    src/business/views/all.py on lines 430..444
    src/business/views/all.py on lines 463..477
    src/business/views/all.py on lines 485..499
    src/business/views/all.py on lines 518..532
    src/business/views/all.py on lines 540..554
    src/business/views/all.py on lines 595..609
    src/business/views/all.py on lines 628..642
    src/business/views/all.py on lines 650..664
    src/business/views/all.py on lines 681..695
    src/business/views/all.py on lines 703..717
    src/business/views/all.py on lines 736..750
    src/business/views/all.py on lines 758..772
    src/business/views/all.py on lines 789..801
    src/business/views/all.py on lines 809..821
    src/business/views/all.py on lines 837..849
    src/business/views/all.py on lines 857..869
    src/business/views/all.py on lines 887..899
    src/business/views/all.py on lines 907..919
    src/business/views/all.py on lines 935..947
    src/business/views/all.py on lines 955..967
    src/business/views/all.py on lines 986..1000
    src/business/views/all.py on lines 1008..1022
    src/business/views/all.py on lines 1039..1053
    src/business/views/all.py on lines 1061..1075
    src/business/views/all.py on lines 1092..1106
    src/business/views/all.py on lines 1114..1128
    src/business/views/all.py on lines 1145..1158
    src/business/views/all.py on lines 1166..1179
    src/business/views/all.py on lines 1195..1207
    src/business/views/all.py on lines 1215..1227
    src/business/views/all.py on lines 1243..1255
    src/business/views/all.py on lines 1263..1275
    src/business/views/all.py on lines 1291..1303
    src/business/views/all.py on lines 1311..1323
    src/business/views/all.py on lines 1342..1356
    src/business/views/all.py on lines 1364..1378
    src/business/views/all.py on lines 1394..1406
    src/business/views/all.py on lines 1414..1426
    src/business/views/all.py on lines 1442..1454
    src/business/views/all.py on lines 1462..1474
    src/business/views/all.py on lines 1490..1502
    src/business/views/all.py on lines 1510..1522
    src/business/views/all.py on lines 1538..1550
    src/business/views/all.py on lines 1558..1570
    src/business/views/all.py on lines 1586..1598
    src/business/views/all.py on lines 1606..1618
    src/business/views/all.py on lines 1634..1646
    src/business/views/all.py on lines 1654..1666

    Duplicated Code

    Duplicated code can lead to software that is hard to understand and difficult to change. The Don't Repeat Yourself (DRY) principle states:

    Every piece of knowledge must have a single, unambiguous, authoritative representation within a system.

    When you violate DRY, bugs and maintenance problems are sure to follow. Duplicated code has a tendency to both continue to replicate and also to diverge (leaving bugs as two similar implementations differ in subtle ways).

    Tuning

    This issue has a mass of 103.

    We set useful threshold defaults for the languages we support but you may want to adjust these settings based on your project guidelines.

    The threshold configuration represents the minimum mass a code block must have to be analyzed for duplication. The lower the threshold, the more fine-grained the comparison.

    If the engine is too easily reporting duplication, try raising the threshold. If you suspect that the engine isn't catching enough duplication, try lowering the threshold. The best setting tends to differ from language to language.

    See codeclimate-duplication's documentation for more information about tuning the mass threshold in your .codeclimate.yml.

    Refactorings

    Further Reading

    Similar blocks of code found in 64 locations. Consider refactoring.
    Open

    class pfSyncVariantCreateView(CreateView):
        model = pfSyncVariant
        form_class = pfSyncVariantForm
        template_name = "business/object_form.html"
    
    
    Severity: Major
    Found in src/business/views/all.py and 63 other locations - About 6 hrs to fix
    src/business/views/all.py on lines 35..47
    src/business/views/all.py on lines 55..67
    src/business/views/all.py on lines 86..100
    src/business/views/all.py on lines 108..122
    src/business/views/all.py on lines 141..155
    src/business/views/all.py on lines 163..177
    src/business/views/all.py on lines 196..210
    src/business/views/all.py on lines 218..232
    src/business/views/all.py on lines 251..265
    src/business/views/all.py on lines 273..287
    src/business/views/all.py on lines 303..315
    src/business/views/all.py on lines 323..335
    src/business/views/all.py on lines 354..368
    src/business/views/all.py on lines 376..390
    src/business/views/all.py on lines 408..422
    src/business/views/all.py on lines 430..444
    src/business/views/all.py on lines 463..477
    src/business/views/all.py on lines 485..499
    src/business/views/all.py on lines 518..532
    src/business/views/all.py on lines 540..554
    src/business/views/all.py on lines 573..587
    src/business/views/all.py on lines 595..609
    src/business/views/all.py on lines 628..642
    src/business/views/all.py on lines 650..664
    src/business/views/all.py on lines 681..695
    src/business/views/all.py on lines 703..717
    src/business/views/all.py on lines 736..750
    src/business/views/all.py on lines 758..772
    src/business/views/all.py on lines 789..801
    src/business/views/all.py on lines 809..821
    src/business/views/all.py on lines 837..849
    src/business/views/all.py on lines 857..869
    src/business/views/all.py on lines 887..899
    src/business/views/all.py on lines 907..919
    src/business/views/all.py on lines 935..947
    src/business/views/all.py on lines 955..967
    src/business/views/all.py on lines 986..1000
    src/business/views/all.py on lines 1008..1022
    src/business/views/all.py on lines 1039..1053
    src/business/views/all.py on lines 1061..1075
    src/business/views/all.py on lines 1114..1128
    src/business/views/all.py on lines 1145..1158
    src/business/views/all.py on lines 1166..1179
    src/business/views/all.py on lines 1195..1207
    src/business/views/all.py on lines 1215..1227
    src/business/views/all.py on lines 1243..1255
    src/business/views/all.py on lines 1263..1275
    src/business/views/all.py on lines 1291..1303
    src/business/views/all.py on lines 1311..1323
    src/business/views/all.py on lines 1342..1356
    src/business/views/all.py on lines 1364..1378
    src/business/views/all.py on lines 1394..1406
    src/business/views/all.py on lines 1414..1426
    src/business/views/all.py on lines 1442..1454
    src/business/views/all.py on lines 1462..1474
    src/business/views/all.py on lines 1490..1502
    src/business/views/all.py on lines 1510..1522
    src/business/views/all.py on lines 1538..1550
    src/business/views/all.py on lines 1558..1570
    src/business/views/all.py on lines 1586..1598
    src/business/views/all.py on lines 1606..1618
    src/business/views/all.py on lines 1634..1646
    src/business/views/all.py on lines 1654..1666

    Duplicated Code

    Duplicated code can lead to software that is hard to understand and difficult to change. The Don't Repeat Yourself (DRY) principle states:

    Every piece of knowledge must have a single, unambiguous, authoritative representation within a system.

    When you violate DRY, bugs and maintenance problems are sure to follow. Duplicated code has a tendency to both continue to replicate and also to diverge (leaving bugs as two similar implementations differ in subtle ways).

    Tuning

    This issue has a mass of 103.

    We set useful threshold defaults for the languages we support but you may want to adjust these settings based on your project guidelines.

    The threshold configuration represents the minimum mass a code block must have to be analyzed for duplication. The lower the threshold, the more fine-grained the comparison.

    If the engine is too easily reporting duplication, try raising the threshold. If you suspect that the engine isn't catching enough duplication, try lowering the threshold. The best setting tends to differ from language to language.

    See codeclimate-duplication's documentation for more information about tuning the mass threshold in your .codeclimate.yml.

    Refactorings

    Further Reading

    Similar blocks of code found in 64 locations. Consider refactoring.
    Open

    class pfSyncProductUpdateView(UpdateView):
        model = pfSyncProduct
        form_class = pfSyncProductForm
        template_name = "business/object_form.html"
    
    
    Severity: Major
    Found in src/business/views/all.py and 63 other locations - About 6 hrs to fix
    src/business/views/all.py on lines 35..47
    src/business/views/all.py on lines 55..67
    src/business/views/all.py on lines 86..100
    src/business/views/all.py on lines 108..122
    src/business/views/all.py on lines 141..155
    src/business/views/all.py on lines 163..177
    src/business/views/all.py on lines 196..210
    src/business/views/all.py on lines 218..232
    src/business/views/all.py on lines 251..265
    src/business/views/all.py on lines 273..287
    src/business/views/all.py on lines 303..315
    src/business/views/all.py on lines 323..335
    src/business/views/all.py on lines 354..368
    src/business/views/all.py on lines 376..390
    src/business/views/all.py on lines 408..422
    src/business/views/all.py on lines 430..444
    src/business/views/all.py on lines 463..477
    src/business/views/all.py on lines 485..499
    src/business/views/all.py on lines 518..532
    src/business/views/all.py on lines 540..554
    src/business/views/all.py on lines 573..587
    src/business/views/all.py on lines 595..609
    src/business/views/all.py on lines 628..642
    src/business/views/all.py on lines 650..664
    src/business/views/all.py on lines 681..695
    src/business/views/all.py on lines 703..717
    src/business/views/all.py on lines 736..750
    src/business/views/all.py on lines 758..772
    src/business/views/all.py on lines 789..801
    src/business/views/all.py on lines 809..821
    src/business/views/all.py on lines 837..849
    src/business/views/all.py on lines 857..869
    src/business/views/all.py on lines 887..899
    src/business/views/all.py on lines 907..919
    src/business/views/all.py on lines 935..947
    src/business/views/all.py on lines 955..967
    src/business/views/all.py on lines 986..1000
    src/business/views/all.py on lines 1008..1022
    src/business/views/all.py on lines 1039..1053
    src/business/views/all.py on lines 1092..1106
    src/business/views/all.py on lines 1114..1128
    src/business/views/all.py on lines 1145..1158
    src/business/views/all.py on lines 1166..1179
    src/business/views/all.py on lines 1195..1207
    src/business/views/all.py on lines 1215..1227
    src/business/views/all.py on lines 1243..1255
    src/business/views/all.py on lines 1263..1275
    src/business/views/all.py on lines 1291..1303
    src/business/views/all.py on lines 1311..1323
    src/business/views/all.py on lines 1342..1356
    src/business/views/all.py on lines 1364..1378
    src/business/views/all.py on lines 1394..1406
    src/business/views/all.py on lines 1414..1426
    src/business/views/all.py on lines 1442..1454
    src/business/views/all.py on lines 1462..1474
    src/business/views/all.py on lines 1490..1502
    src/business/views/all.py on lines 1510..1522
    src/business/views/all.py on lines 1538..1550
    src/business/views/all.py on lines 1558..1570
    src/business/views/all.py on lines 1586..1598
    src/business/views/all.py on lines 1606..1618
    src/business/views/all.py on lines 1634..1646
    src/business/views/all.py on lines 1654..1666

    Duplicated Code

    Duplicated code can lead to software that is hard to understand and difficult to change. The Don't Repeat Yourself (DRY) principle states:

    Every piece of knowledge must have a single, unambiguous, authoritative representation within a system.

    When you violate DRY, bugs and maintenance problems are sure to follow. Duplicated code has a tendency to both continue to replicate and also to diverge (leaving bugs as two similar implementations differ in subtle ways).

    Tuning

    This issue has a mass of 103.

    We set useful threshold defaults for the languages we support but you may want to adjust these settings based on your project guidelines.

    The threshold configuration represents the minimum mass a code block must have to be analyzed for duplication. The lower the threshold, the more fine-grained the comparison.

    If the engine is too easily reporting duplication, try raising the threshold. If you suspect that the engine isn't catching enough duplication, try lowering the threshold. The best setting tends to differ from language to language.

    See codeclimate-duplication's documentation for more information about tuning the mass threshold in your .codeclimate.yml.

    Refactorings

    Further Reading

    Similar blocks of code found in 64 locations. Consider refactoring.
    Open

    class wooStoreCreateView(CreateView):
        model = wooStore
        form_class = wooStoreForm
        template_name = "business/object_form.html"
    
    
    Severity: Major
    Found in src/business/views/all.py and 63 other locations - About 6 hrs to fix
    src/business/views/all.py on lines 35..47
    src/business/views/all.py on lines 55..67
    src/business/views/all.py on lines 86..100
    src/business/views/all.py on lines 108..122
    src/business/views/all.py on lines 141..155
    src/business/views/all.py on lines 163..177
    src/business/views/all.py on lines 196..210
    src/business/views/all.py on lines 218..232
    src/business/views/all.py on lines 251..265
    src/business/views/all.py on lines 273..287
    src/business/views/all.py on lines 303..315
    src/business/views/all.py on lines 323..335
    src/business/views/all.py on lines 354..368
    src/business/views/all.py on lines 376..390
    src/business/views/all.py on lines 408..422
    src/business/views/all.py on lines 430..444
    src/business/views/all.py on lines 463..477
    src/business/views/all.py on lines 485..499
    src/business/views/all.py on lines 518..532
    src/business/views/all.py on lines 540..554
    src/business/views/all.py on lines 573..587
    src/business/views/all.py on lines 595..609
    src/business/views/all.py on lines 628..642
    src/business/views/all.py on lines 650..664
    src/business/views/all.py on lines 681..695
    src/business/views/all.py on lines 703..717
    src/business/views/all.py on lines 736..750
    src/business/views/all.py on lines 758..772
    src/business/views/all.py on lines 789..801
    src/business/views/all.py on lines 809..821
    src/business/views/all.py on lines 837..849
    src/business/views/all.py on lines 857..869
    src/business/views/all.py on lines 887..899
    src/business/views/all.py on lines 907..919
    src/business/views/all.py on lines 935..947
    src/business/views/all.py on lines 955..967
    src/business/views/all.py on lines 986..1000
    src/business/views/all.py on lines 1008..1022
    src/business/views/all.py on lines 1039..1053
    src/business/views/all.py on lines 1061..1075
    src/business/views/all.py on lines 1092..1106
    src/business/views/all.py on lines 1114..1128
    src/business/views/all.py on lines 1145..1158
    src/business/views/all.py on lines 1166..1179
    src/business/views/all.py on lines 1195..1207
    src/business/views/all.py on lines 1215..1227
    src/business/views/all.py on lines 1243..1255
    src/business/views/all.py on lines 1263..1275
    src/business/views/all.py on lines 1291..1303
    src/business/views/all.py on lines 1311..1323
    src/business/views/all.py on lines 1342..1356
    src/business/views/all.py on lines 1364..1378
    src/business/views/all.py on lines 1414..1426
    src/business/views/all.py on lines 1442..1454
    src/business/views/all.py on lines 1462..1474
    src/business/views/all.py on lines 1490..1502
    src/business/views/all.py on lines 1510..1522
    src/business/views/all.py on lines 1538..1550
    src/business/views/all.py on lines 1558..1570
    src/business/views/all.py on lines 1586..1598
    src/business/views/all.py on lines 1606..1618
    src/business/views/all.py on lines 1634..1646
    src/business/views/all.py on lines 1654..1666

    Duplicated Code

    Duplicated code can lead to software that is hard to understand and difficult to change. The Don't Repeat Yourself (DRY) principle states:

    Every piece of knowledge must have a single, unambiguous, authoritative representation within a system.

    When you violate DRY, bugs and maintenance problems are sure to follow. Duplicated code has a tendency to both continue to replicate and also to diverge (leaving bugs as two similar implementations differ in subtle ways).

    Tuning

    This issue has a mass of 103.

    We set useful threshold defaults for the languages we support but you may want to adjust these settings based on your project guidelines.

    The threshold configuration represents the minimum mass a code block must have to be analyzed for duplication. The lower the threshold, the more fine-grained the comparison.

    If the engine is too easily reporting duplication, try raising the threshold. If you suspect that the engine isn't catching enough duplication, try lowering the threshold. The best setting tends to differ from language to language.

    See codeclimate-duplication's documentation for more information about tuning the mass threshold in your .codeclimate.yml.

    Refactorings

    Further Reading

    Similar blocks of code found in 30 locations. Consider refactoring.
    Open

    class pfCatalogProductListView(TemplateView):
        template_name = "business/object_list.html"
    
        def get_context_data(self, **kwargs):
            context = super(pfCatalogProductListView,
    Severity: Major
    Found in src/business/views/all.py and 29 other locations - About 6 hrs to fix
    src/business/views/all.py on lines 22..32
    src/business/views/all.py on lines 70..83
    src/business/views/all.py on lines 125..138
    src/business/views/all.py on lines 180..193
    src/business/views/all.py on lines 235..248
    src/business/views/all.py on lines 290..300
    src/business/views/all.py on lines 338..351
    src/business/views/all.py on lines 393..405
    src/business/views/all.py on lines 447..460
    src/business/views/all.py on lines 502..515
    src/business/views/all.py on lines 557..570
    src/business/views/all.py on lines 667..678
    src/business/views/all.py on lines 720..733
    src/business/views/all.py on lines 824..834
    src/business/views/all.py on lines 922..932
    src/business/views/all.py on lines 970..983
    src/business/views/all.py on lines 1025..1036
    src/business/views/all.py on lines 1078..1089
    src/business/views/all.py on lines 1131..1142
    src/business/views/all.py on lines 1182..1192
    src/business/views/all.py on lines 1230..1240
    src/business/views/all.py on lines 1278..1288
    src/business/views/all.py on lines 1326..1339
    src/business/views/all.py on lines 1381..1391
    src/business/views/all.py on lines 1429..1439
    src/business/views/all.py on lines 1477..1487
    src/business/views/all.py on lines 1525..1535
    src/business/views/all.py on lines 1573..1583
    src/business/views/all.py on lines 1621..1631

    Duplicated Code

    Duplicated code can lead to software that is hard to understand and difficult to change. The Don't Repeat Yourself (DRY) principle states:

    Every piece of knowledge must have a single, unambiguous, authoritative representation within a system.

    When you violate DRY, bugs and maintenance problems are sure to follow. Duplicated code has a tendency to both continue to replicate and also to diverge (leaving bugs as two similar implementations differ in subtle ways).

    Tuning

    This issue has a mass of 103.

    We set useful threshold defaults for the languages we support but you may want to adjust these settings based on your project guidelines.

    The threshold configuration represents the minimum mass a code block must have to be analyzed for duplication. The lower the threshold, the more fine-grained the comparison.

    If the engine is too easily reporting duplication, try raising the threshold. If you suspect that the engine isn't catching enough duplication, try lowering the threshold. The best setting tends to differ from language to language.

    See codeclimate-duplication's documentation for more information about tuning the mass threshold in your .codeclimate.yml.

    Refactorings

    Further Reading

    Similar blocks of code found in 30 locations. Consider refactoring.
    Open

    class pfSyncProductListView(TemplateView):
        template_name = "business/object_list.html"
    
        def get_context_data(self, **kwargs):
            context = super(pfSyncProductListView, self).get_context_data(**kwargs)
    Severity: Major
    Found in src/business/views/all.py and 29 other locations - About 6 hrs to fix
    src/business/views/all.py on lines 22..32
    src/business/views/all.py on lines 70..83
    src/business/views/all.py on lines 125..138
    src/business/views/all.py on lines 180..193
    src/business/views/all.py on lines 235..248
    src/business/views/all.py on lines 290..300
    src/business/views/all.py on lines 338..351
    src/business/views/all.py on lines 393..405
    src/business/views/all.py on lines 447..460
    src/business/views/all.py on lines 502..515
    src/business/views/all.py on lines 557..570
    src/business/views/all.py on lines 612..625
    src/business/views/all.py on lines 667..678
    src/business/views/all.py on lines 720..733
    src/business/views/all.py on lines 824..834
    src/business/views/all.py on lines 922..932
    src/business/views/all.py on lines 970..983
    src/business/views/all.py on lines 1078..1089
    src/business/views/all.py on lines 1131..1142
    src/business/views/all.py on lines 1182..1192
    src/business/views/all.py on lines 1230..1240
    src/business/views/all.py on lines 1278..1288
    src/business/views/all.py on lines 1326..1339
    src/business/views/all.py on lines 1381..1391
    src/business/views/all.py on lines 1429..1439
    src/business/views/all.py on lines 1477..1487
    src/business/views/all.py on lines 1525..1535
    src/business/views/all.py on lines 1573..1583
    src/business/views/all.py on lines 1621..1631

    Duplicated Code

    Duplicated code can lead to software that is hard to understand and difficult to change. The Don't Repeat Yourself (DRY) principle states:

    Every piece of knowledge must have a single, unambiguous, authoritative representation within a system.

    When you violate DRY, bugs and maintenance problems are sure to follow. Duplicated code has a tendency to both continue to replicate and also to diverge (leaving bugs as two similar implementations differ in subtle ways).

    Tuning

    This issue has a mass of 103.

    We set useful threshold defaults for the languages we support but you may want to adjust these settings based on your project guidelines.

    The threshold configuration represents the minimum mass a code block must have to be analyzed for duplication. The lower the threshold, the more fine-grained the comparison.

    If the engine is too easily reporting duplication, try raising the threshold. If you suspect that the engine isn't catching enough duplication, try lowering the threshold. The best setting tends to differ from language to language.

    See codeclimate-duplication's documentation for more information about tuning the mass threshold in your .codeclimate.yml.

    Refactorings

    Further Reading

    Similar blocks of code found in 30 locations. Consider refactoring.
    Open

    class wpMediaListView(TemplateView):
        template_name = "business/object_list.html"
    
        def get_context_data(self, **kwargs):
            context = super(wpMediaListView, self).get_context_data(**kwargs)
    Severity: Major
    Found in src/business/views/all.py and 29 other locations - About 6 hrs to fix
    src/business/views/all.py on lines 22..32
    src/business/views/all.py on lines 70..83
    src/business/views/all.py on lines 125..138
    src/business/views/all.py on lines 180..193
    src/business/views/all.py on lines 235..248
    src/business/views/all.py on lines 290..300
    src/business/views/all.py on lines 338..351
    src/business/views/all.py on lines 393..405
    src/business/views/all.py on lines 447..460
    src/business/views/all.py on lines 502..515
    src/business/views/all.py on lines 557..570
    src/business/views/all.py on lines 612..625
    src/business/views/all.py on lines 667..678
    src/business/views/all.py on lines 720..733
    src/business/views/all.py on lines 824..834
    src/business/views/all.py on lines 922..932
    src/business/views/all.py on lines 970..983
    src/business/views/all.py on lines 1025..1036
    src/business/views/all.py on lines 1078..1089
    src/business/views/all.py on lines 1131..1142
    src/business/views/all.py on lines 1182..1192
    src/business/views/all.py on lines 1230..1240
    src/business/views/all.py on lines 1278..1288
    src/business/views/all.py on lines 1326..1339
    src/business/views/all.py on lines 1381..1391
    src/business/views/all.py on lines 1429..1439
    src/business/views/all.py on lines 1477..1487
    src/business/views/all.py on lines 1525..1535
    src/business/views/all.py on lines 1621..1631

    Duplicated Code

    Duplicated code can lead to software that is hard to understand and difficult to change. The Don't Repeat Yourself (DRY) principle states:

    Every piece of knowledge must have a single, unambiguous, authoritative representation within a system.

    When you violate DRY, bugs and maintenance problems are sure to follow. Duplicated code has a tendency to both continue to replicate and also to diverge (leaving bugs as two similar implementations differ in subtle ways).

    Tuning

    This issue has a mass of 103.

    We set useful threshold defaults for the languages we support but you may want to adjust these settings based on your project guidelines.

    The threshold configuration represents the minimum mass a code block must have to be analyzed for duplication. The lower the threshold, the more fine-grained the comparison.

    If the engine is too easily reporting duplication, try raising the threshold. If you suspect that the engine isn't catching enough duplication, try lowering the threshold. The best setting tends to differ from language to language.

    See codeclimate-duplication's documentation for more information about tuning the mass threshold in your .codeclimate.yml.

    Refactorings

    Further Reading

    Similar blocks of code found in 64 locations. Consider refactoring.
    Open

    class bzCreativeRenderingUpdateView(UpdateView):
        model = bzCreativeRendering
        form_class = bzCreativeRenderingForm
        template_name = "business/object_form.html"
    
    
    Severity: Major
    Found in src/business/views/all.py and 63 other locations - About 6 hrs to fix
    src/business/views/all.py on lines 35..47
    src/business/views/all.py on lines 55..67
    src/business/views/all.py on lines 86..100
    src/business/views/all.py on lines 108..122
    src/business/views/all.py on lines 141..155
    src/business/views/all.py on lines 163..177
    src/business/views/all.py on lines 196..210
    src/business/views/all.py on lines 218..232
    src/business/views/all.py on lines 251..265
    src/business/views/all.py on lines 303..315
    src/business/views/all.py on lines 323..335
    src/business/views/all.py on lines 354..368
    src/business/views/all.py on lines 376..390
    src/business/views/all.py on lines 408..422
    src/business/views/all.py on lines 430..444
    src/business/views/all.py on lines 463..477
    src/business/views/all.py on lines 485..499
    src/business/views/all.py on lines 518..532
    src/business/views/all.py on lines 540..554
    src/business/views/all.py on lines 573..587
    src/business/views/all.py on lines 595..609
    src/business/views/all.py on lines 628..642
    src/business/views/all.py on lines 650..664
    src/business/views/all.py on lines 681..695
    src/business/views/all.py on lines 703..717
    src/business/views/all.py on lines 736..750
    src/business/views/all.py on lines 758..772
    src/business/views/all.py on lines 789..801
    src/business/views/all.py on lines 809..821
    src/business/views/all.py on lines 837..849
    src/business/views/all.py on lines 857..869
    src/business/views/all.py on lines 887..899
    src/business/views/all.py on lines 907..919
    src/business/views/all.py on lines 935..947
    src/business/views/all.py on lines 955..967
    src/business/views/all.py on lines 986..1000
    src/business/views/all.py on lines 1008..1022
    src/business/views/all.py on lines 1039..1053
    src/business/views/all.py on lines 1061..1075
    src/business/views/all.py on lines 1092..1106
    src/business/views/all.py on lines 1114..1128
    src/business/views/all.py on lines 1145..1158
    src/business/views/all.py on lines 1166..1179
    src/business/views/all.py on lines 1195..1207
    src/business/views/all.py on lines 1215..1227
    src/business/views/all.py on lines 1243..1255
    src/business/views/all.py on lines 1263..1275
    src/business/views/all.py on lines 1291..1303
    src/business/views/all.py on lines 1311..1323
    src/business/views/all.py on lines 1342..1356
    src/business/views/all.py on lines 1364..1378
    src/business/views/all.py on lines 1394..1406
    src/business/views/all.py on lines 1414..1426
    src/business/views/all.py on lines 1442..1454
    src/business/views/all.py on lines 1462..1474
    src/business/views/all.py on lines 1490..1502
    src/business/views/all.py on lines 1510..1522
    src/business/views/all.py on lines 1538..1550
    src/business/views/all.py on lines 1558..1570
    src/business/views/all.py on lines 1586..1598
    src/business/views/all.py on lines 1606..1618
    src/business/views/all.py on lines 1634..1646
    src/business/views/all.py on lines 1654..1666

    Duplicated Code

    Duplicated code can lead to software that is hard to understand and difficult to change. The Don't Repeat Yourself (DRY) principle states:

    Every piece of knowledge must have a single, unambiguous, authoritative representation within a system.

    When you violate DRY, bugs and maintenance problems are sure to follow. Duplicated code has a tendency to both continue to replicate and also to diverge (leaving bugs as two similar implementations differ in subtle ways).

    Tuning

    This issue has a mass of 103.

    We set useful threshold defaults for the languages we support but you may want to adjust these settings based on your project guidelines.

    The threshold configuration represents the minimum mass a code block must have to be analyzed for duplication. The lower the threshold, the more fine-grained the comparison.

    If the engine is too easily reporting duplication, try raising the threshold. If you suspect that the engine isn't catching enough duplication, try lowering the threshold. The best setting tends to differ from language to language.

    See codeclimate-duplication's documentation for more information about tuning the mass threshold in your .codeclimate.yml.

    Refactorings

    Further Reading

    Similar blocks of code found in 64 locations. Consider refactoring.
    Open

    class bzProductCreateView(CreateView):
        model = bzProduct
        form_class = bzProductForm
        template_name = "business/object_form.html"
    
    
    Severity: Major
    Found in src/business/views/all.py and 63 other locations - About 6 hrs to fix
    src/business/views/all.py on lines 35..47
    src/business/views/all.py on lines 55..67
    src/business/views/all.py on lines 86..100
    src/business/views/all.py on lines 108..122
    src/business/views/all.py on lines 141..155
    src/business/views/all.py on lines 163..177
    src/business/views/all.py on lines 196..210
    src/business/views/all.py on lines 218..232
    src/business/views/all.py on lines 251..265
    src/business/views/all.py on lines 273..287
    src/business/views/all.py on lines 323..335
    src/business/views/all.py on lines 354..368
    src/business/views/all.py on lines 376..390
    src/business/views/all.py on lines 408..422
    src/business/views/all.py on lines 430..444
    src/business/views/all.py on lines 463..477
    src/business/views/all.py on lines 485..499
    src/business/views/all.py on lines 518..532
    src/business/views/all.py on lines 540..554
    src/business/views/all.py on lines 573..587
    src/business/views/all.py on lines 595..609
    src/business/views/all.py on lines 628..642
    src/business/views/all.py on lines 650..664
    src/business/views/all.py on lines 681..695
    src/business/views/all.py on lines 703..717
    src/business/views/all.py on lines 736..750
    src/business/views/all.py on lines 758..772
    src/business/views/all.py on lines 789..801
    src/business/views/all.py on lines 809..821
    src/business/views/all.py on lines 837..849
    src/business/views/all.py on lines 857..869
    src/business/views/all.py on lines 887..899
    src/business/views/all.py on lines 907..919
    src/business/views/all.py on lines 935..947
    src/business/views/all.py on lines 955..967
    src/business/views/all.py on lines 986..1000
    src/business/views/all.py on lines 1008..1022
    src/business/views/all.py on lines 1039..1053
    src/business/views/all.py on lines 1061..1075
    src/business/views/all.py on lines 1092..1106
    src/business/views/all.py on lines 1114..1128
    src/business/views/all.py on lines 1145..1158
    src/business/views/all.py on lines 1166..1179
    src/business/views/all.py on lines 1195..1207
    src/business/views/all.py on lines 1215..1227
    src/business/views/all.py on lines 1243..1255
    src/business/views/all.py on lines 1263..1275
    src/business/views/all.py on lines 1291..1303
    src/business/views/all.py on lines 1311..1323
    src/business/views/all.py on lines 1342..1356
    src/business/views/all.py on lines 1364..1378
    src/business/views/all.py on lines 1394..1406
    src/business/views/all.py on lines 1414..1426
    src/business/views/all.py on lines 1442..1454
    src/business/views/all.py on lines 1462..1474
    src/business/views/all.py on lines 1490..1502
    src/business/views/all.py on lines 1510..1522
    src/business/views/all.py on lines 1538..1550
    src/business/views/all.py on lines 1558..1570
    src/business/views/all.py on lines 1586..1598
    src/business/views/all.py on lines 1606..1618
    src/business/views/all.py on lines 1634..1646
    src/business/views/all.py on lines 1654..1666

    Duplicated Code

    Duplicated code can lead to software that is hard to understand and difficult to change. The Don't Repeat Yourself (DRY) principle states:

    Every piece of knowledge must have a single, unambiguous, authoritative representation within a system.

    When you violate DRY, bugs and maintenance problems are sure to follow. Duplicated code has a tendency to both continue to replicate and also to diverge (leaving bugs as two similar implementations differ in subtle ways).

    Tuning

    This issue has a mass of 103.

    We set useful threshold defaults for the languages we support but you may want to adjust these settings based on your project guidelines.

    The threshold configuration represents the minimum mass a code block must have to be analyzed for duplication. The lower the threshold, the more fine-grained the comparison.

    If the engine is too easily reporting duplication, try raising the threshold. If you suspect that the engine isn't catching enough duplication, try lowering the threshold. The best setting tends to differ from language to language.

    See codeclimate-duplication's documentation for more information about tuning the mass threshold in your .codeclimate.yml.

    Refactorings

    Further Reading

    Similar blocks of code found in 64 locations. Consider refactoring.
    Open

    class pfCatalogFileSpecCreateView(CreateView):
        model = pfCatalogFileSpec
        form_class = pfCatalogFileSpecForm
        template_name = "business/object_form.html"
    
    
    Severity: Major
    Found in src/business/views/all.py and 63 other locations - About 6 hrs to fix
    src/business/views/all.py on lines 35..47
    src/business/views/all.py on lines 55..67
    src/business/views/all.py on lines 86..100
    src/business/views/all.py on lines 108..122
    src/business/views/all.py on lines 141..155
    src/business/views/all.py on lines 163..177
    src/business/views/all.py on lines 196..210
    src/business/views/all.py on lines 218..232
    src/business/views/all.py on lines 251..265
    src/business/views/all.py on lines 273..287
    src/business/views/all.py on lines 303..315
    src/business/views/all.py on lines 323..335
    src/business/views/all.py on lines 354..368
    src/business/views/all.py on lines 376..390
    src/business/views/all.py on lines 408..422
    src/business/views/all.py on lines 430..444
    src/business/views/all.py on lines 485..499
    src/business/views/all.py on lines 518..532
    src/business/views/all.py on lines 540..554
    src/business/views/all.py on lines 573..587
    src/business/views/all.py on lines 595..609
    src/business/views/all.py on lines 628..642
    src/business/views/all.py on lines 650..664
    src/business/views/all.py on lines 681..695
    src/business/views/all.py on lines 703..717
    src/business/views/all.py on lines 736..750
    src/business/views/all.py on lines 758..772
    src/business/views/all.py on lines 789..801
    src/business/views/all.py on lines 809..821
    src/business/views/all.py on lines 837..849
    src/business/views/all.py on lines 857..869
    src/business/views/all.py on lines 887..899
    src/business/views/all.py on lines 907..919
    src/business/views/all.py on lines 935..947
    src/business/views/all.py on lines 955..967
    src/business/views/all.py on lines 986..1000
    src/business/views/all.py on lines 1008..1022
    src/business/views/all.py on lines 1039..1053
    src/business/views/all.py on lines 1061..1075
    src/business/views/all.py on lines 1092..1106
    src/business/views/all.py on lines 1114..1128
    src/business/views/all.py on lines 1145..1158
    src/business/views/all.py on lines 1166..1179
    src/business/views/all.py on lines 1195..1207
    src/business/views/all.py on lines 1215..1227
    src/business/views/all.py on lines 1243..1255
    src/business/views/all.py on lines 1263..1275
    src/business/views/all.py on lines 1291..1303
    src/business/views/all.py on lines 1311..1323
    src/business/views/all.py on lines 1342..1356
    src/business/views/all.py on lines 1364..1378
    src/business/views/all.py on lines 1394..1406
    src/business/views/all.py on lines 1414..1426
    src/business/views/all.py on lines 1442..1454
    src/business/views/all.py on lines 1462..1474
    src/business/views/all.py on lines 1490..1502
    src/business/views/all.py on lines 1510..1522
    src/business/views/all.py on lines 1538..1550
    src/business/views/all.py on lines 1558..1570
    src/business/views/all.py on lines 1586..1598
    src/business/views/all.py on lines 1606..1618
    src/business/views/all.py on lines 1634..1646
    src/business/views/all.py on lines 1654..1666

    Duplicated Code

    Duplicated code can lead to software that is hard to understand and difficult to change. The Don't Repeat Yourself (DRY) principle states:

    Every piece of knowledge must have a single, unambiguous, authoritative representation within a system.

    When you violate DRY, bugs and maintenance problems are sure to follow. Duplicated code has a tendency to both continue to replicate and also to diverge (leaving bugs as two similar implementations differ in subtle ways).

    Tuning

    This issue has a mass of 103.

    We set useful threshold defaults for the languages we support but you may want to adjust these settings based on your project guidelines.

    The threshold configuration represents the minimum mass a code block must have to be analyzed for duplication. The lower the threshold, the more fine-grained the comparison.

    If the engine is too easily reporting duplication, try raising the threshold. If you suspect that the engine isn't catching enough duplication, try lowering the threshold. The best setting tends to differ from language to language.

    See codeclimate-duplication's documentation for more information about tuning the mass threshold in your .codeclimate.yml.

    Refactorings

    Further Reading

    Similar blocks of code found in 64 locations. Consider refactoring.
    Open

    class pfCatalogProductUpdateView(UpdateView):
        model = pfCatalogProduct
        form_class = pfCatalogProductForm
        template_name = "business/object_form.html"
    
    
    Severity: Major
    Found in src/business/views/all.py and 63 other locations - About 6 hrs to fix
    src/business/views/all.py on lines 35..47
    src/business/views/all.py on lines 55..67
    src/business/views/all.py on lines 86..100
    src/business/views/all.py on lines 108..122
    src/business/views/all.py on lines 141..155
    src/business/views/all.py on lines 163..177
    src/business/views/all.py on lines 196..210
    src/business/views/all.py on lines 218..232
    src/business/views/all.py on lines 251..265
    src/business/views/all.py on lines 273..287
    src/business/views/all.py on lines 303..315
    src/business/views/all.py on lines 323..335
    src/business/views/all.py on lines 354..368
    src/business/views/all.py on lines 376..390
    src/business/views/all.py on lines 408..422
    src/business/views/all.py on lines 430..444
    src/business/views/all.py on lines 463..477
    src/business/views/all.py on lines 485..499
    src/business/views/all.py on lines 518..532
    src/business/views/all.py on lines 540..554
    src/business/views/all.py on lines 573..587
    src/business/views/all.py on lines 595..609
    src/business/views/all.py on lines 628..642
    src/business/views/all.py on lines 681..695
    src/business/views/all.py on lines 703..717
    src/business/views/all.py on lines 736..750
    src/business/views/all.py on lines 758..772
    src/business/views/all.py on lines 789..801
    src/business/views/all.py on lines 809..821
    src/business/views/all.py on lines 837..849
    src/business/views/all.py on lines 857..869
    src/business/views/all.py on lines 887..899
    src/business/views/all.py on lines 907..919
    src/business/views/all.py on lines 935..947
    src/business/views/all.py on lines 955..967
    src/business/views/all.py on lines 986..1000
    src/business/views/all.py on lines 1008..1022
    src/business/views/all.py on lines 1039..1053
    src/business/views/all.py on lines 1061..1075
    src/business/views/all.py on lines 1092..1106
    src/business/views/all.py on lines 1114..1128
    src/business/views/all.py on lines 1145..1158
    src/business/views/all.py on lines 1166..1179
    src/business/views/all.py on lines 1195..1207
    src/business/views/all.py on lines 1215..1227
    src/business/views/all.py on lines 1243..1255
    src/business/views/all.py on lines 1263..1275
    src/business/views/all.py on lines 1291..1303
    src/business/views/all.py on lines 1311..1323
    src/business/views/all.py on lines 1342..1356
    src/business/views/all.py on lines 1364..1378
    src/business/views/all.py on lines 1394..1406
    src/business/views/all.py on lines 1414..1426
    src/business/views/all.py on lines 1442..1454
    src/business/views/all.py on lines 1462..1474
    src/business/views/all.py on lines 1490..1502
    src/business/views/all.py on lines 1510..1522
    src/business/views/all.py on lines 1538..1550
    src/business/views/all.py on lines 1558..1570
    src/business/views/all.py on lines 1586..1598
    src/business/views/all.py on lines 1606..1618
    src/business/views/all.py on lines 1634..1646
    src/business/views/all.py on lines 1654..1666

    Duplicated Code

    Duplicated code can lead to software that is hard to understand and difficult to change. The Don't Repeat Yourself (DRY) principle states:

    Every piece of knowledge must have a single, unambiguous, authoritative representation within a system.

    When you violate DRY, bugs and maintenance problems are sure to follow. Duplicated code has a tendency to both continue to replicate and also to diverge (leaving bugs as two similar implementations differ in subtle ways).

    Tuning

    This issue has a mass of 103.

    We set useful threshold defaults for the languages we support but you may want to adjust these settings based on your project guidelines.

    The threshold configuration represents the minimum mass a code block must have to be analyzed for duplication. The lower the threshold, the more fine-grained the comparison.

    If the engine is too easily reporting duplication, try raising the threshold. If you suspect that the engine isn't catching enough duplication, try lowering the threshold. The best setting tends to differ from language to language.

    See codeclimate-duplication's documentation for more information about tuning the mass threshold in your .codeclimate.yml.

    Refactorings

    Further Reading

    Similar blocks of code found in 64 locations. Consider refactoring.
    Open

    class wooImageUpdateView(UpdateView):
        model = wooImage
        form_class = wooImageForm
        template_name = "business/object_form.html"
    
    
    Severity: Major
    Found in src/business/views/all.py and 63 other locations - About 6 hrs to fix
    src/business/views/all.py on lines 35..47
    src/business/views/all.py on lines 55..67
    src/business/views/all.py on lines 86..100
    src/business/views/all.py on lines 108..122
    src/business/views/all.py on lines 141..155
    src/business/views/all.py on lines 163..177
    src/business/views/all.py on lines 196..210
    src/business/views/all.py on lines 218..232
    src/business/views/all.py on lines 251..265
    src/business/views/all.py on lines 273..287
    src/business/views/all.py on lines 303..315
    src/business/views/all.py on lines 323..335
    src/business/views/all.py on lines 354..368
    src/business/views/all.py on lines 376..390
    src/business/views/all.py on lines 408..422
    src/business/views/all.py on lines 430..444
    src/business/views/all.py on lines 463..477
    src/business/views/all.py on lines 485..499
    src/business/views/all.py on lines 518..532
    src/business/views/all.py on lines 540..554
    src/business/views/all.py on lines 573..587
    src/business/views/all.py on lines 595..609
    src/business/views/all.py on lines 628..642
    src/business/views/all.py on lines 650..664
    src/business/views/all.py on lines 681..695
    src/business/views/all.py on lines 703..717
    src/business/views/all.py on lines 736..750
    src/business/views/all.py on lines 758..772
    src/business/views/all.py on lines 789..801
    src/business/views/all.py on lines 809..821
    src/business/views/all.py on lines 837..849
    src/business/views/all.py on lines 857..869
    src/business/views/all.py on lines 887..899
    src/business/views/all.py on lines 907..919
    src/business/views/all.py on lines 935..947
    src/business/views/all.py on lines 955..967
    src/business/views/all.py on lines 986..1000
    src/business/views/all.py on lines 1008..1022
    src/business/views/all.py on lines 1039..1053
    src/business/views/all.py on lines 1061..1075
    src/business/views/all.py on lines 1092..1106
    src/business/views/all.py on lines 1114..1128
    src/business/views/all.py on lines 1145..1158
    src/business/views/all.py on lines 1166..1179
    src/business/views/all.py on lines 1195..1207
    src/business/views/all.py on lines 1215..1227
    src/business/views/all.py on lines 1243..1255
    src/business/views/all.py on lines 1291..1303
    src/business/views/all.py on lines 1311..1323
    src/business/views/all.py on lines 1342..1356
    src/business/views/all.py on lines 1364..1378
    src/business/views/all.py on lines 1394..1406
    src/business/views/all.py on lines 1414..1426
    src/business/views/all.py on lines 1442..1454
    src/business/views/all.py on lines 1462..1474
    src/business/views/all.py on lines 1490..1502
    src/business/views/all.py on lines 1510..1522
    src/business/views/all.py on lines 1538..1550
    src/business/views/all.py on lines 1558..1570
    src/business/views/all.py on lines 1586..1598
    src/business/views/all.py on lines 1606..1618
    src/business/views/all.py on lines 1634..1646
    src/business/views/all.py on lines 1654..1666

    Duplicated Code

    Duplicated code can lead to software that is hard to understand and difficult to change. The Don't Repeat Yourself (DRY) principle states:

    Every piece of knowledge must have a single, unambiguous, authoritative representation within a system.

    When you violate DRY, bugs and maintenance problems are sure to follow. Duplicated code has a tendency to both continue to replicate and also to diverge (leaving bugs as two similar implementations differ in subtle ways).

    Tuning

    This issue has a mass of 103.

    We set useful threshold defaults for the languages we support but you may want to adjust these settings based on your project guidelines.

    The threshold configuration represents the minimum mass a code block must have to be analyzed for duplication. The lower the threshold, the more fine-grained the comparison.

    If the engine is too easily reporting duplication, try raising the threshold. If you suspect that the engine isn't catching enough duplication, try lowering the threshold. The best setting tends to differ from language to language.

    See codeclimate-duplication's documentation for more information about tuning the mass threshold in your .codeclimate.yml.

    Refactorings

    Further Reading

    Similar blocks of code found in 64 locations. Consider refactoring.
    Open

    class wooShippingClassCreateView(CreateView):
        model = wooShippingClass
        form_class = wooShippingClassForm
        template_name = "business/object_form.html"
    
    
    Severity: Major
    Found in src/business/views/all.py and 63 other locations - About 6 hrs to fix
    src/business/views/all.py on lines 35..47
    src/business/views/all.py on lines 55..67
    src/business/views/all.py on lines 86..100
    src/business/views/all.py on lines 108..122
    src/business/views/all.py on lines 141..155
    src/business/views/all.py on lines 163..177
    src/business/views/all.py on lines 196..210
    src/business/views/all.py on lines 218..232
    src/business/views/all.py on lines 251..265
    src/business/views/all.py on lines 273..287
    src/business/views/all.py on lines 303..315
    src/business/views/all.py on lines 323..335
    src/business/views/all.py on lines 354..368
    src/business/views/all.py on lines 376..390
    src/business/views/all.py on lines 408..422
    src/business/views/all.py on lines 430..444
    src/business/views/all.py on lines 463..477
    src/business/views/all.py on lines 485..499
    src/business/views/all.py on lines 518..532
    src/business/views/all.py on lines 540..554
    src/business/views/all.py on lines 573..587
    src/business/views/all.py on lines 595..609
    src/business/views/all.py on lines 628..642
    src/business/views/all.py on lines 650..664
    src/business/views/all.py on lines 681..695
    src/business/views/all.py on lines 703..717
    src/business/views/all.py on lines 736..750
    src/business/views/all.py on lines 758..772
    src/business/views/all.py on lines 789..801
    src/business/views/all.py on lines 809..821
    src/business/views/all.py on lines 837..849
    src/business/views/all.py on lines 857..869
    src/business/views/all.py on lines 887..899
    src/business/views/all.py on lines 907..919
    src/business/views/all.py on lines 935..947
    src/business/views/all.py on lines 955..967
    src/business/views/all.py on lines 986..1000
    src/business/views/all.py on lines 1008..1022
    src/business/views/all.py on lines 1039..1053
    src/business/views/all.py on lines 1061..1075
    src/business/views/all.py on lines 1092..1106
    src/business/views/all.py on lines 1114..1128
    src/business/views/all.py on lines 1145..1158
    src/business/views/all.py on lines 1166..1179
    src/business/views/all.py on lines 1195..1207
    src/business/views/all.py on lines 1215..1227
    src/business/views/all.py on lines 1243..1255
    src/business/views/all.py on lines 1263..1275
    src/business/views/all.py on lines 1291..1303
    src/business/views/all.py on lines 1311..1323
    src/business/views/all.py on lines 1364..1378
    src/business/views/all.py on lines 1394..1406
    src/business/views/all.py on lines 1414..1426
    src/business/views/all.py on lines 1442..1454
    src/business/views/all.py on lines 1462..1474
    src/business/views/all.py on lines 1490..1502
    src/business/views/all.py on lines 1510..1522
    src/business/views/all.py on lines 1538..1550
    src/business/views/all.py on lines 1558..1570
    src/business/views/all.py on lines 1586..1598
    src/business/views/all.py on lines 1606..1618
    src/business/views/all.py on lines 1634..1646
    src/business/views/all.py on lines 1654..1666

    Duplicated Code

    Duplicated code can lead to software that is hard to understand and difficult to change. The Don't Repeat Yourself (DRY) principle states:

    Every piece of knowledge must have a single, unambiguous, authoritative representation within a system.

    When you violate DRY, bugs and maintenance problems are sure to follow. Duplicated code has a tendency to both continue to replicate and also to diverge (leaving bugs as two similar implementations differ in subtle ways).

    Tuning

    This issue has a mass of 103.

    We set useful threshold defaults for the languages we support but you may want to adjust these settings based on your project guidelines.

    The threshold configuration represents the minimum mass a code block must have to be analyzed for duplication. The lower the threshold, the more fine-grained the comparison.

    If the engine is too easily reporting duplication, try raising the threshold. If you suspect that the engine isn't catching enough duplication, try lowering the threshold. The best setting tends to differ from language to language.

    See codeclimate-duplication's documentation for more information about tuning the mass threshold in your .codeclimate.yml.

    Refactorings

    Further Reading

    Similar blocks of code found in 30 locations. Consider refactoring.
    Open

    class pfPrintFileListView(TemplateView):
        template_name = "business/object_list.html"
    
        def get_context_data(self, **kwargs):
            context = super(pfPrintFileListView, self).get_context_data(**kwargs)
    Severity: Major
    Found in src/business/views/all.py and 29 other locations - About 6 hrs to fix
    src/business/views/all.py on lines 22..32
    src/business/views/all.py on lines 70..83
    src/business/views/all.py on lines 125..138
    src/business/views/all.py on lines 180..193
    src/business/views/all.py on lines 235..248
    src/business/views/all.py on lines 290..300
    src/business/views/all.py on lines 338..351
    src/business/views/all.py on lines 393..405
    src/business/views/all.py on lines 447..460
    src/business/views/all.py on lines 502..515
    src/business/views/all.py on lines 557..570
    src/business/views/all.py on lines 612..625
    src/business/views/all.py on lines 667..678
    src/business/views/all.py on lines 720..733
    src/business/views/all.py on lines 922..932
    src/business/views/all.py on lines 970..983
    src/business/views/all.py on lines 1025..1036
    src/business/views/all.py on lines 1078..1089
    src/business/views/all.py on lines 1131..1142
    src/business/views/all.py on lines 1182..1192
    src/business/views/all.py on lines 1230..1240
    src/business/views/all.py on lines 1278..1288
    src/business/views/all.py on lines 1326..1339
    src/business/views/all.py on lines 1381..1391
    src/business/views/all.py on lines 1429..1439
    src/business/views/all.py on lines 1477..1487
    src/business/views/all.py on lines 1525..1535
    src/business/views/all.py on lines 1573..1583
    src/business/views/all.py on lines 1621..1631

    Duplicated Code

    Duplicated code can lead to software that is hard to understand and difficult to change. The Don't Repeat Yourself (DRY) principle states:

    Every piece of knowledge must have a single, unambiguous, authoritative representation within a system.

    When you violate DRY, bugs and maintenance problems are sure to follow. Duplicated code has a tendency to both continue to replicate and also to diverge (leaving bugs as two similar implementations differ in subtle ways).

    Tuning

    This issue has a mass of 103.

    We set useful threshold defaults for the languages we support but you may want to adjust these settings based on your project guidelines.

    The threshold configuration represents the minimum mass a code block must have to be analyzed for duplication. The lower the threshold, the more fine-grained the comparison.

    If the engine is too easily reporting duplication, try raising the threshold. If you suspect that the engine isn't catching enough duplication, try lowering the threshold. The best setting tends to differ from language to language.

    See codeclimate-duplication's documentation for more information about tuning the mass threshold in your .codeclimate.yml.

    Refactorings

    Further Reading

    Similar blocks of code found in 30 locations. Consider refactoring.
    Open

    class wooTagListView(TemplateView):
        template_name = "business/object_list.html"
    
        def get_context_data(self, **kwargs):
            context = super(wooTagListView, self).get_context_data(**kwargs)
    Severity: Major
    Found in src/business/views/all.py and 29 other locations - About 6 hrs to fix
    src/business/views/all.py on lines 22..32
    src/business/views/all.py on lines 70..83
    src/business/views/all.py on lines 125..138
    src/business/views/all.py on lines 180..193
    src/business/views/all.py on lines 235..248
    src/business/views/all.py on lines 290..300
    src/business/views/all.py on lines 338..351
    src/business/views/all.py on lines 393..405
    src/business/views/all.py on lines 447..460
    src/business/views/all.py on lines 502..515
    src/business/views/all.py on lines 557..570
    src/business/views/all.py on lines 612..625
    src/business/views/all.py on lines 667..678
    src/business/views/all.py on lines 720..733
    src/business/views/all.py on lines 824..834
    src/business/views/all.py on lines 922..932
    src/business/views/all.py on lines 970..983
    src/business/views/all.py on lines 1025..1036
    src/business/views/all.py on lines 1078..1089
    src/business/views/all.py on lines 1131..1142
    src/business/views/all.py on lines 1182..1192
    src/business/views/all.py on lines 1230..1240
    src/business/views/all.py on lines 1278..1288
    src/business/views/all.py on lines 1326..1339
    src/business/views/all.py on lines 1381..1391
    src/business/views/all.py on lines 1477..1487
    src/business/views/all.py on lines 1525..1535
    src/business/views/all.py on lines 1573..1583
    src/business/views/all.py on lines 1621..1631

    Duplicated Code

    Duplicated code can lead to software that is hard to understand and difficult to change. The Don't Repeat Yourself (DRY) principle states:

    Every piece of knowledge must have a single, unambiguous, authoritative representation within a system.

    When you violate DRY, bugs and maintenance problems are sure to follow. Duplicated code has a tendency to both continue to replicate and also to diverge (leaving bugs as two similar implementations differ in subtle ways).

    Tuning

    This issue has a mass of 103.

    We set useful threshold defaults for the languages we support but you may want to adjust these settings based on your project guidelines.

    The threshold configuration represents the minimum mass a code block must have to be analyzed for duplication. The lower the threshold, the more fine-grained the comparison.

    If the engine is too easily reporting duplication, try raising the threshold. If you suspect that the engine isn't catching enough duplication, try lowering the threshold. The best setting tends to differ from language to language.

    See codeclimate-duplication's documentation for more information about tuning the mass threshold in your .codeclimate.yml.

    Refactorings

    Further Reading

    Similar blocks of code found in 64 locations. Consider refactoring.
    Open

    class pfCatalogProductCreateView(CreateView):
        model = pfCatalogProduct
        form_class = pfCatalogProductForm
        template_name = "business/object_form.html"
    
    
    Severity: Major
    Found in src/business/views/all.py and 63 other locations - About 6 hrs to fix
    src/business/views/all.py on lines 35..47
    src/business/views/all.py on lines 55..67
    src/business/views/all.py on lines 86..100
    src/business/views/all.py on lines 108..122
    src/business/views/all.py on lines 141..155
    src/business/views/all.py on lines 163..177
    src/business/views/all.py on lines 196..210
    src/business/views/all.py on lines 218..232
    src/business/views/all.py on lines 251..265
    src/business/views/all.py on lines 273..287
    src/business/views/all.py on lines 303..315
    src/business/views/all.py on lines 323..335
    src/business/views/all.py on lines 354..368
    src/business/views/all.py on lines 376..390
    src/business/views/all.py on lines 408..422
    src/business/views/all.py on lines 430..444
    src/business/views/all.py on lines 463..477
    src/business/views/all.py on lines 485..499
    src/business/views/all.py on lines 518..532
    src/business/views/all.py on lines 540..554
    src/business/views/all.py on lines 573..587
    src/business/views/all.py on lines 595..609
    src/business/views/all.py on lines 650..664
    src/business/views/all.py on lines 681..695
    src/business/views/all.py on lines 703..717
    src/business/views/all.py on lines 736..750
    src/business/views/all.py on lines 758..772
    src/business/views/all.py on lines 789..801
    src/business/views/all.py on lines 809..821
    src/business/views/all.py on lines 837..849
    src/business/views/all.py on lines 857..869
    src/business/views/all.py on lines 887..899
    src/business/views/all.py on lines 907..919
    src/business/views/all.py on lines 935..947
    src/business/views/all.py on lines 955..967
    src/business/views/all.py on lines 986..1000
    src/business/views/all.py on lines 1008..1022
    src/business/views/all.py on lines 1039..1053
    src/business/views/all.py on lines 1061..1075
    src/business/views/all.py on lines 1092..1106
    src/business/views/all.py on lines 1114..1128
    src/business/views/all.py on lines 1145..1158
    src/business/views/all.py on lines 1166..1179
    src/business/views/all.py on lines 1195..1207
    src/business/views/all.py on lines 1215..1227
    src/business/views/all.py on lines 1243..1255
    src/business/views/all.py on lines 1263..1275
    src/business/views/all.py on lines 1291..1303
    src/business/views/all.py on lines 1311..1323
    src/business/views/all.py on lines 1342..1356
    src/business/views/all.py on lines 1364..1378
    src/business/views/all.py on lines 1394..1406
    src/business/views/all.py on lines 1414..1426
    src/business/views/all.py on lines 1442..1454
    src/business/views/all.py on lines 1462..1474
    src/business/views/all.py on lines 1490..1502
    src/business/views/all.py on lines 1510..1522
    src/business/views/all.py on lines 1538..1550
    src/business/views/all.py on lines 1558..1570
    src/business/views/all.py on lines 1586..1598
    src/business/views/all.py on lines 1606..1618
    src/business/views/all.py on lines 1634..1646
    src/business/views/all.py on lines 1654..1666

    Duplicated Code

    Duplicated code can lead to software that is hard to understand and difficult to change. The Don't Repeat Yourself (DRY) principle states:

    Every piece of knowledge must have a single, unambiguous, authoritative representation within a system.

    When you violate DRY, bugs and maintenance problems are sure to follow. Duplicated code has a tendency to both continue to replicate and also to diverge (leaving bugs as two similar implementations differ in subtle ways).

    Tuning

    This issue has a mass of 103.

    We set useful threshold defaults for the languages we support but you may want to adjust these settings based on your project guidelines.

    The threshold configuration represents the minimum mass a code block must have to be analyzed for duplication. The lower the threshold, the more fine-grained the comparison.

    If the engine is too easily reporting duplication, try raising the threshold. If you suspect that the engine isn't catching enough duplication, try lowering the threshold. The best setting tends to differ from language to language.

    See codeclimate-duplication's documentation for more information about tuning the mass threshold in your .codeclimate.yml.

    Refactorings

    Further Reading

    Similar blocks of code found in 64 locations. Consider refactoring.
    Open

    class pfCountryCreateView(CreateView):
        model = pfCountry
        form_class = pfCountryForm
        template_name = "business/object_form.html"
    
    
    Severity: Major
    Found in src/business/views/all.py and 63 other locations - About 6 hrs to fix
    src/business/views/all.py on lines 35..47
    src/business/views/all.py on lines 55..67
    src/business/views/all.py on lines 86..100
    src/business/views/all.py on lines 108..122
    src/business/views/all.py on lines 141..155
    src/business/views/all.py on lines 163..177
    src/business/views/all.py on lines 196..210
    src/business/views/all.py on lines 218..232
    src/business/views/all.py on lines 251..265
    src/business/views/all.py on lines 273..287
    src/business/views/all.py on lines 303..315
    src/business/views/all.py on lines 323..335
    src/business/views/all.py on lines 354..368
    src/business/views/all.py on lines 376..390
    src/business/views/all.py on lines 408..422
    src/business/views/all.py on lines 430..444
    src/business/views/all.py on lines 463..477
    src/business/views/all.py on lines 485..499
    src/business/views/all.py on lines 518..532
    src/business/views/all.py on lines 540..554
    src/business/views/all.py on lines 573..587
    src/business/views/all.py on lines 595..609
    src/business/views/all.py on lines 628..642
    src/business/views/all.py on lines 650..664
    src/business/views/all.py on lines 681..695
    src/business/views/all.py on lines 703..717
    src/business/views/all.py on lines 736..750
    src/business/views/all.py on lines 758..772
    src/business/views/all.py on lines 809..821
    src/business/views/all.py on lines 837..849
    src/business/views/all.py on lines 857..869
    src/business/views/all.py on lines 887..899
    src/business/views/all.py on lines 907..919
    src/business/views/all.py on lines 935..947
    src/business/views/all.py on lines 955..967
    src/business/views/all.py on lines 986..1000
    src/business/views/all.py on lines 1008..1022
    src/business/views/all.py on lines 1039..1053
    src/business/views/all.py on lines 1061..1075
    src/business/views/all.py on lines 1092..1106
    src/business/views/all.py on lines 1114..1128
    src/business/views/all.py on lines 1145..1158
    src/business/views/all.py on lines 1166..1179
    src/business/views/all.py on lines 1195..1207
    src/business/views/all.py on lines 1215..1227
    src/business/views/all.py on lines 1243..1255
    src/business/views/all.py on lines 1263..1275
    src/business/views/all.py on lines 1291..1303
    src/business/views/all.py on lines 1311..1323
    src/business/views/all.py on lines 1342..1356
    src/business/views/all.py on lines 1364..1378
    src/business/views/all.py on lines 1394..1406
    src/business/views/all.py on lines 1414..1426
    src/business/views/all.py on lines 1442..1454
    src/business/views/all.py on lines 1462..1474
    src/business/views/all.py on lines 1490..1502
    src/business/views/all.py on lines 1510..1522
    src/business/views/all.py on lines 1538..1550
    src/business/views/all.py on lines 1558..1570
    src/business/views/all.py on lines 1586..1598
    src/business/views/all.py on lines 1606..1618
    src/business/views/all.py on lines 1634..1646
    src/business/views/all.py on lines 1654..1666

    Duplicated Code

    Duplicated code can lead to software that is hard to understand and difficult to change. The Don't Repeat Yourself (DRY) principle states:

    Every piece of knowledge must have a single, unambiguous, authoritative representation within a system.

    When you violate DRY, bugs and maintenance problems are sure to follow. Duplicated code has a tendency to both continue to replicate and also to diverge (leaving bugs as two similar implementations differ in subtle ways).

    Tuning

    This issue has a mass of 103.

    We set useful threshold defaults for the languages we support but you may want to adjust these settings based on your project guidelines.

    The threshold configuration represents the minimum mass a code block must have to be analyzed for duplication. The lower the threshold, the more fine-grained the comparison.

    If the engine is too easily reporting duplication, try raising the threshold. If you suspect that the engine isn't catching enough duplication, try lowering the threshold. The best setting tends to differ from language to language.

    See codeclimate-duplication's documentation for more information about tuning the mass threshold in your .codeclimate.yml.

    Refactorings

    Further Reading

    Similar blocks of code found in 30 locations. Consider refactoring.
    Open

    class bzBrandListView(TemplateView):
        template_name = "business/object_list.html"
    
        def get_context_data(self, **kwargs):
            context = super(bzBrandListView, self).get_context_data(**kwargs)
    Severity: Major
    Found in src/business/views/all.py and 29 other locations - About 6 hrs to fix
    src/business/views/all.py on lines 70..83
    src/business/views/all.py on lines 125..138
    src/business/views/all.py on lines 180..193
    src/business/views/all.py on lines 235..248
    src/business/views/all.py on lines 290..300
    src/business/views/all.py on lines 338..351
    src/business/views/all.py on lines 393..405
    src/business/views/all.py on lines 447..460
    src/business/views/all.py on lines 502..515
    src/business/views/all.py on lines 557..570
    src/business/views/all.py on lines 612..625
    src/business/views/all.py on lines 667..678
    src/business/views/all.py on lines 720..733
    src/business/views/all.py on lines 824..834
    src/business/views/all.py on lines 922..932
    src/business/views/all.py on lines 970..983
    src/business/views/all.py on lines 1025..1036
    src/business/views/all.py on lines 1078..1089
    src/business/views/all.py on lines 1131..1142
    src/business/views/all.py on lines 1182..1192
    src/business/views/all.py on lines 1230..1240
    src/business/views/all.py on lines 1278..1288
    src/business/views/all.py on lines 1326..1339
    src/business/views/all.py on lines 1381..1391
    src/business/views/all.py on lines 1429..1439
    src/business/views/all.py on lines 1477..1487
    src/business/views/all.py on lines 1525..1535
    src/business/views/all.py on lines 1573..1583
    src/business/views/all.py on lines 1621..1631

    Duplicated Code

    Duplicated code can lead to software that is hard to understand and difficult to change. The Don't Repeat Yourself (DRY) principle states:

    Every piece of knowledge must have a single, unambiguous, authoritative representation within a system.

    When you violate DRY, bugs and maintenance problems are sure to follow. Duplicated code has a tendency to both continue to replicate and also to diverge (leaving bugs as two similar implementations differ in subtle ways).

    Tuning

    This issue has a mass of 103.

    We set useful threshold defaults for the languages we support but you may want to adjust these settings based on your project guidelines.

    The threshold configuration represents the minimum mass a code block must have to be analyzed for duplication. The lower the threshold, the more fine-grained the comparison.

    If the engine is too easily reporting duplication, try raising the threshold. If you suspect that the engine isn't catching enough duplication, try lowering the threshold. The best setting tends to differ from language to language.

    See codeclimate-duplication's documentation for more information about tuning the mass threshold in your .codeclimate.yml.

    Refactorings

    Further Reading

    Similar blocks of code found in 30 locations. Consider refactoring.
    Open

    class pfStoreListView(TemplateView):
        template_name = "business/object_list.html"
    
        def get_context_data(self, **kwargs):
            context = super(pfStoreListView, self).get_context_data(**kwargs)
    Severity: Major
    Found in src/business/views/all.py and 29 other locations - About 6 hrs to fix
    src/business/views/all.py on lines 22..32
    src/business/views/all.py on lines 70..83
    src/business/views/all.py on lines 125..138
    src/business/views/all.py on lines 180..193
    src/business/views/all.py on lines 235..248
    src/business/views/all.py on lines 290..300
    src/business/views/all.py on lines 338..351
    src/business/views/all.py on lines 393..405
    src/business/views/all.py on lines 447..460
    src/business/views/all.py on lines 502..515
    src/business/views/all.py on lines 557..570
    src/business/views/all.py on lines 612..625
    src/business/views/all.py on lines 667..678
    src/business/views/all.py on lines 720..733
    src/business/views/all.py on lines 824..834
    src/business/views/all.py on lines 970..983
    src/business/views/all.py on lines 1025..1036
    src/business/views/all.py on lines 1078..1089
    src/business/views/all.py on lines 1131..1142
    src/business/views/all.py on lines 1182..1192
    src/business/views/all.py on lines 1230..1240
    src/business/views/all.py on lines 1278..1288
    src/business/views/all.py on lines 1326..1339
    src/business/views/all.py on lines 1381..1391
    src/business/views/all.py on lines 1429..1439
    src/business/views/all.py on lines 1477..1487
    src/business/views/all.py on lines 1525..1535
    src/business/views/all.py on lines 1573..1583
    src/business/views/all.py on lines 1621..1631

    Duplicated Code

    Duplicated code can lead to software that is hard to understand and difficult to change. The Don't Repeat Yourself (DRY) principle states:

    Every piece of knowledge must have a single, unambiguous, authoritative representation within a system.

    When you violate DRY, bugs and maintenance problems are sure to follow. Duplicated code has a tendency to both continue to replicate and also to diverge (leaving bugs as two similar implementations differ in subtle ways).

    Tuning

    This issue has a mass of 103.

    We set useful threshold defaults for the languages we support but you may want to adjust these settings based on your project guidelines.

    The threshold configuration represents the minimum mass a code block must have to be analyzed for duplication. The lower the threshold, the more fine-grained the comparison.

    If the engine is too easily reporting duplication, try raising the threshold. If you suspect that the engine isn't catching enough duplication, try lowering the threshold. The best setting tends to differ from language to language.

    See codeclimate-duplication's documentation for more information about tuning the mass threshold in your .codeclimate.yml.

    Refactorings

    Further Reading

    Similar blocks of code found in 64 locations. Consider refactoring.
    Open

    class pfCatalogFileTypeCreateView(CreateView):
        model = pfCatalogFileType
        form_class = pfCatalogFileTypeForm
        template_name = "business/object_form.html"
    
    
    Severity: Major
    Found in src/business/views/all.py and 63 other locations - About 6 hrs to fix
    src/business/views/all.py on lines 35..47
    src/business/views/all.py on lines 55..67
    src/business/views/all.py on lines 86..100
    src/business/views/all.py on lines 108..122
    src/business/views/all.py on lines 141..155
    src/business/views/all.py on lines 163..177
    src/business/views/all.py on lines 196..210
    src/business/views/all.py on lines 218..232
    src/business/views/all.py on lines 251..265
    src/business/views/all.py on lines 273..287
    src/business/views/all.py on lines 303..315
    src/business/views/all.py on lines 323..335
    src/business/views/all.py on lines 354..368
    src/business/views/all.py on lines 376..390
    src/business/views/all.py on lines 408..422
    src/business/views/all.py on lines 430..444
    src/business/views/all.py on lines 463..477
    src/business/views/all.py on lines 485..499
    src/business/views/all.py on lines 540..554
    src/business/views/all.py on lines 573..587
    src/business/views/all.py on lines 595..609
    src/business/views/all.py on lines 628..642
    src/business/views/all.py on lines 650..664
    src/business/views/all.py on lines 681..695
    src/business/views/all.py on lines 703..717
    src/business/views/all.py on lines 736..750
    src/business/views/all.py on lines 758..772
    src/business/views/all.py on lines 789..801
    src/business/views/all.py on lines 809..821
    src/business/views/all.py on lines 837..849
    src/business/views/all.py on lines 857..869
    src/business/views/all.py on lines 887..899
    src/business/views/all.py on lines 907..919
    src/business/views/all.py on lines 935..947
    src/business/views/all.py on lines 955..967
    src/business/views/all.py on lines 986..1000
    src/business/views/all.py on lines 1008..1022
    src/business/views/all.py on lines 1039..1053
    src/business/views/all.py on lines 1061..1075
    src/business/views/all.py on lines 1092..1106
    src/business/views/all.py on lines 1114..1128
    src/business/views/all.py on lines 1145..1158
    src/business/views/all.py on lines 1166..1179
    src/business/views/all.py on lines 1195..1207
    src/business/views/all.py on lines 1215..1227
    src/business/views/all.py on lines 1243..1255
    src/business/views/all.py on lines 1263..1275
    src/business/views/all.py on lines 1291..1303
    src/business/views/all.py on lines 1311..1323
    src/business/views/all.py on lines 1342..1356
    src/business/views/all.py on lines 1364..1378
    src/business/views/all.py on lines 1394..1406
    src/business/views/all.py on lines 1414..1426
    src/business/views/all.py on lines 1442..1454
    src/business/views/all.py on lines 1462..1474
    src/business/views/all.py on lines 1490..1502
    src/business/views/all.py on lines 1510..1522
    src/business/views/all.py on lines 1538..1550
    src/business/views/all.py on lines 1558..1570
    src/business/views/all.py on lines 1586..1598
    src/business/views/all.py on lines 1606..1618
    src/business/views/all.py on lines 1634..1646
    src/business/views/all.py on lines 1654..1666

    Duplicated Code

    Duplicated code can lead to software that is hard to understand and difficult to change. The Don't Repeat Yourself (DRY) principle states:

    Every piece of knowledge must have a single, unambiguous, authoritative representation within a system.

    When you violate DRY, bugs and maintenance problems are sure to follow. Duplicated code has a tendency to both continue to replicate and also to diverge (leaving bugs as two similar implementations differ in subtle ways).

    Tuning

    This issue has a mass of 103.

    We set useful threshold defaults for the languages we support but you may want to adjust these settings based on your project guidelines.

    The threshold configuration represents the minimum mass a code block must have to be analyzed for duplication. The lower the threshold, the more fine-grained the comparison.

    If the engine is too easily reporting duplication, try raising the threshold. If you suspect that the engine isn't catching enough duplication, try lowering the threshold. The best setting tends to differ from language to language.

    See codeclimate-duplication's documentation for more information about tuning the mass threshold in your .codeclimate.yml.

    Refactorings

    Further Reading

    Similar blocks of code found in 64 locations. Consider refactoring.
    Open

    class pfPrintFileCreateView(CreateView):
        model = pfPrintFile
        form_class = pfPrintFileForm
        template_name = "business/object_form.html"
    
    
    Severity: Major
    Found in src/business/views/all.py and 63 other locations - About 6 hrs to fix
    src/business/views/all.py on lines 35..47
    src/business/views/all.py on lines 55..67
    src/business/views/all.py on lines 86..100
    src/business/views/all.py on lines 108..122
    src/business/views/all.py on lines 141..155
    src/business/views/all.py on lines 163..177
    src/business/views/all.py on lines 196..210
    src/business/views/all.py on lines 218..232
    src/business/views/all.py on lines 251..265
    src/business/views/all.py on lines 273..287
    src/business/views/all.py on lines 303..315
    src/business/views/all.py on lines 323..335
    src/business/views/all.py on lines 354..368
    src/business/views/all.py on lines 376..390
    src/business/views/all.py on lines 408..422
    src/business/views/all.py on lines 430..444
    src/business/views/all.py on lines 463..477
    src/business/views/all.py on lines 485..499
    src/business/views/all.py on lines 518..532
    src/business/views/all.py on lines 540..554
    src/business/views/all.py on lines 573..587
    src/business/views/all.py on lines 595..609
    src/business/views/all.py on lines 628..642
    src/business/views/all.py on lines 650..664
    src/business/views/all.py on lines 681..695
    src/business/views/all.py on lines 703..717
    src/business/views/all.py on lines 736..750
    src/business/views/all.py on lines 758..772
    src/business/views/all.py on lines 789..801
    src/business/views/all.py on lines 809..821
    src/business/views/all.py on lines 857..869
    src/business/views/all.py on lines 887..899
    src/business/views/all.py on lines 907..919
    src/business/views/all.py on lines 935..947
    src/business/views/all.py on lines 955..967
    src/business/views/all.py on lines 986..1000
    src/business/views/all.py on lines 1008..1022
    src/business/views/all.py on lines 1039..1053
    src/business/views/all.py on lines 1061..1075
    src/business/views/all.py on lines 1092..1106
    src/business/views/all.py on lines 1114..1128
    src/business/views/all.py on lines 1145..1158
    src/business/views/all.py on lines 1166..1179
    src/business/views/all.py on lines 1195..1207
    src/business/views/all.py on lines 1215..1227
    src/business/views/all.py on lines 1243..1255
    src/business/views/all.py on lines 1263..1275
    src/business/views/all.py on lines 1291..1303
    src/business/views/all.py on lines 1311..1323
    src/business/views/all.py on lines 1342..1356
    src/business/views/all.py on lines 1364..1378
    src/business/views/all.py on lines 1394..1406
    src/business/views/all.py on lines 1414..1426
    src/business/views/all.py on lines 1442..1454
    src/business/views/all.py on lines 1462..1474
    src/business/views/all.py on lines 1490..1502
    src/business/views/all.py on lines 1510..1522
    src/business/views/all.py on lines 1538..1550
    src/business/views/all.py on lines 1558..1570
    src/business/views/all.py on lines 1586..1598
    src/business/views/all.py on lines 1606..1618
    src/business/views/all.py on lines 1634..1646
    src/business/views/all.py on lines 1654..1666

    Duplicated Code

    Duplicated code can lead to software that is hard to understand and difficult to change. The Don't Repeat Yourself (DRY) principle states:

    Every piece of knowledge must have a single, unambiguous, authoritative representation within a system.

    When you violate DRY, bugs and maintenance problems are sure to follow. Duplicated code has a tendency to both continue to replicate and also to diverge (leaving bugs as two similar implementations differ in subtle ways).

    Tuning

    This issue has a mass of 103.

    We set useful threshold defaults for the languages we support but you may want to adjust these settings based on your project guidelines.

    The threshold configuration represents the minimum mass a code block must have to be analyzed for duplication. The lower the threshold, the more fine-grained the comparison.

    If the engine is too easily reporting duplication, try raising the threshold. If you suspect that the engine isn't catching enough duplication, try lowering the threshold. The best setting tends to differ from language to language.

    See codeclimate-duplication's documentation for more information about tuning the mass threshold in your .codeclimate.yml.

    Refactorings

    Further Reading

    Similar blocks of code found in 64 locations. Consider refactoring.
    Open

    class pfSyncItemOptionCreateView(CreateView):
        model = pfSyncItemOption
        form_class = pfSyncItemOptionForm
        template_name = "business/object_form.html"
    
    
    Severity: Major
    Found in src/business/views/all.py and 63 other locations - About 6 hrs to fix
    src/business/views/all.py on lines 35..47
    src/business/views/all.py on lines 55..67
    src/business/views/all.py on lines 86..100
    src/business/views/all.py on lines 108..122
    src/business/views/all.py on lines 141..155
    src/business/views/all.py on lines 163..177
    src/business/views/all.py on lines 196..210
    src/business/views/all.py on lines 218..232
    src/business/views/all.py on lines 251..265
    src/business/views/all.py on lines 273..287
    src/business/views/all.py on lines 303..315
    src/business/views/all.py on lines 323..335
    src/business/views/all.py on lines 354..368
    src/business/views/all.py on lines 376..390
    src/business/views/all.py on lines 408..422
    src/business/views/all.py on lines 430..444
    src/business/views/all.py on lines 463..477
    src/business/views/all.py on lines 485..499
    src/business/views/all.py on lines 518..532
    src/business/views/all.py on lines 540..554
    src/business/views/all.py on lines 573..587
    src/business/views/all.py on lines 595..609
    src/business/views/all.py on lines 628..642
    src/business/views/all.py on lines 650..664
    src/business/views/all.py on lines 681..695
    src/business/views/all.py on lines 703..717
    src/business/views/all.py on lines 736..750
    src/business/views/all.py on lines 758..772
    src/business/views/all.py on lines 789..801
    src/business/views/all.py on lines 809..821
    src/business/views/all.py on lines 837..849
    src/business/views/all.py on lines 857..869
    src/business/views/all.py on lines 887..899
    src/business/views/all.py on lines 907..919
    src/business/views/all.py on lines 935..947
    src/business/views/all.py on lines 955..967
    src/business/views/all.py on lines 1008..1022
    src/business/views/all.py on lines 1039..1053
    src/business/views/all.py on lines 1061..1075
    src/business/views/all.py on lines 1092..1106
    src/business/views/all.py on lines 1114..1128
    src/business/views/all.py on lines 1145..1158
    src/business/views/all.py on lines 1166..1179
    src/business/views/all.py on lines 1195..1207
    src/business/views/all.py on lines 1215..1227
    src/business/views/all.py on lines 1243..1255
    src/business/views/all.py on lines 1263..1275
    src/business/views/all.py on lines 1291..1303
    src/business/views/all.py on lines 1311..1323
    src/business/views/all.py on lines 1342..1356
    src/business/views/all.py on lines 1364..1378
    src/business/views/all.py on lines 1394..1406
    src/business/views/all.py on lines 1414..1426
    src/business/views/all.py on lines 1442..1454
    src/business/views/all.py on lines 1462..1474
    src/business/views/all.py on lines 1490..1502
    src/business/views/all.py on lines 1510..1522
    src/business/views/all.py on lines 1538..1550
    src/business/views/all.py on lines 1558..1570
    src/business/views/all.py on lines 1586..1598
    src/business/views/all.py on lines 1606..1618
    src/business/views/all.py on lines 1634..1646
    src/business/views/all.py on lines 1654..1666

    Duplicated Code

    Duplicated code can lead to software that is hard to understand and difficult to change. The Don't Repeat Yourself (DRY) principle states:

    Every piece of knowledge must have a single, unambiguous, authoritative representation within a system.

    When you violate DRY, bugs and maintenance problems are sure to follow. Duplicated code has a tendency to both continue to replicate and also to diverge (leaving bugs as two similar implementations differ in subtle ways).

    Tuning

    This issue has a mass of 103.

    We set useful threshold defaults for the languages we support but you may want to adjust these settings based on your project guidelines.

    The threshold configuration represents the minimum mass a code block must have to be analyzed for duplication. The lower the threshold, the more fine-grained the comparison.

    If the engine is too easily reporting duplication, try raising the threshold. If you suspect that the engine isn't catching enough duplication, try lowering the threshold. The best setting tends to differ from language to language.

    See codeclimate-duplication's documentation for more information about tuning the mass threshold in your .codeclimate.yml.

    Refactorings

    Further Reading

    Similar blocks of code found in 64 locations. Consider refactoring.
    Open

    class pfSyncItemOptionUpdateView(UpdateView):
        model = pfSyncItemOption
        form_class = pfSyncItemOptionForm
        template_name = "business/object_form.html"
    
    
    Severity: Major
    Found in src/business/views/all.py and 63 other locations - About 6 hrs to fix
    src/business/views/all.py on lines 35..47
    src/business/views/all.py on lines 55..67
    src/business/views/all.py on lines 86..100
    src/business/views/all.py on lines 108..122
    src/business/views/all.py on lines 141..155
    src/business/views/all.py on lines 163..177
    src/business/views/all.py on lines 196..210
    src/business/views/all.py on lines 218..232
    src/business/views/all.py on lines 251..265
    src/business/views/all.py on lines 273..287
    src/business/views/all.py on lines 303..315
    src/business/views/all.py on lines 323..335
    src/business/views/all.py on lines 354..368
    src/business/views/all.py on lines 376..390
    src/business/views/all.py on lines 408..422
    src/business/views/all.py on lines 430..444
    src/business/views/all.py on lines 463..477
    src/business/views/all.py on lines 485..499
    src/business/views/all.py on lines 518..532
    src/business/views/all.py on lines 540..554
    src/business/views/all.py on lines 573..587
    src/business/views/all.py on lines 595..609
    src/business/views/all.py on lines 628..642
    src/business/views/all.py on lines 650..664
    src/business/views/all.py on lines 681..695
    src/business/views/all.py on lines 703..717
    src/business/views/all.py on lines 736..750
    src/business/views/all.py on lines 758..772
    src/business/views/all.py on lines 789..801
    src/business/views/all.py on lines 809..821
    src/business/views/all.py on lines 837..849
    src/business/views/all.py on lines 857..869
    src/business/views/all.py on lines 887..899
    src/business/views/all.py on lines 907..919
    src/business/views/all.py on lines 935..947
    src/business/views/all.py on lines 955..967
    src/business/views/all.py on lines 986..1000
    src/business/views/all.py on lines 1039..1053
    src/business/views/all.py on lines 1061..1075
    src/business/views/all.py on lines 1092..1106
    src/business/views/all.py on lines 1114..1128
    src/business/views/all.py on lines 1145..1158
    src/business/views/all.py on lines 1166..1179
    src/business/views/all.py on lines 1195..1207
    src/business/views/all.py on lines 1215..1227
    src/business/views/all.py on lines 1243..1255
    src/business/views/all.py on lines 1263..1275
    src/business/views/all.py on lines 1291..1303
    src/business/views/all.py on lines 1311..1323
    src/business/views/all.py on lines 1342..1356
    src/business/views/all.py on lines 1364..1378
    src/business/views/all.py on lines 1394..1406
    src/business/views/all.py on lines 1414..1426
    src/business/views/all.py on lines 1442..1454
    src/business/views/all.py on lines 1462..1474
    src/business/views/all.py on lines 1490..1502
    src/business/views/all.py on lines 1510..1522
    src/business/views/all.py on lines 1538..1550
    src/business/views/all.py on lines 1558..1570
    src/business/views/all.py on lines 1586..1598
    src/business/views/all.py on lines 1606..1618
    src/business/views/all.py on lines 1634..1646
    src/business/views/all.py on lines 1654..1666

    Duplicated Code

    Duplicated code can lead to software that is hard to understand and difficult to change. The Don't Repeat Yourself (DRY) principle states:

    Every piece of knowledge must have a single, unambiguous, authoritative representation within a system.

    When you violate DRY, bugs and maintenance problems are sure to follow. Duplicated code has a tendency to both continue to replicate and also to diverge (leaving bugs as two similar implementations differ in subtle ways).

    Tuning

    This issue has a mass of 103.

    We set useful threshold defaults for the languages we support but you may want to adjust these settings based on your project guidelines.

    The threshold configuration represents the minimum mass a code block must have to be analyzed for duplication. The lower the threshold, the more fine-grained the comparison.

    If the engine is too easily reporting duplication, try raising the threshold. If you suspect that the engine isn't catching enough duplication, try lowering the threshold. The best setting tends to differ from language to language.

    See codeclimate-duplication's documentation for more information about tuning the mass threshold in your .codeclimate.yml.

    Refactorings

    Further Reading

    Similar blocks of code found in 64 locations. Consider refactoring.
    Open

    class wooProductUpdateView(UpdateView):
        model = wooProduct
        form_class = wooProductForm
        template_name = "business/object_form.html"
    
    
    Severity: Major
    Found in src/business/views/all.py and 63 other locations - About 6 hrs to fix
    src/business/views/all.py on lines 35..47
    src/business/views/all.py on lines 55..67
    src/business/views/all.py on lines 86..100
    src/business/views/all.py on lines 108..122
    src/business/views/all.py on lines 141..155
    src/business/views/all.py on lines 163..177
    src/business/views/all.py on lines 196..210
    src/business/views/all.py on lines 218..232
    src/business/views/all.py on lines 251..265
    src/business/views/all.py on lines 273..287
    src/business/views/all.py on lines 303..315
    src/business/views/all.py on lines 323..335
    src/business/views/all.py on lines 354..368
    src/business/views/all.py on lines 376..390
    src/business/views/all.py on lines 408..422
    src/business/views/all.py on lines 430..444
    src/business/views/all.py on lines 463..477
    src/business/views/all.py on lines 485..499
    src/business/views/all.py on lines 518..532
    src/business/views/all.py on lines 540..554
    src/business/views/all.py on lines 573..587
    src/business/views/all.py on lines 595..609
    src/business/views/all.py on lines 628..642
    src/business/views/all.py on lines 650..664
    src/business/views/all.py on lines 681..695
    src/business/views/all.py on lines 703..717
    src/business/views/all.py on lines 736..750
    src/business/views/all.py on lines 758..772
    src/business/views/all.py on lines 789..801
    src/business/views/all.py on lines 809..821
    src/business/views/all.py on lines 837..849
    src/business/views/all.py on lines 857..869
    src/business/views/all.py on lines 887..899
    src/business/views/all.py on lines 907..919
    src/business/views/all.py on lines 935..947
    src/business/views/all.py on lines 955..967
    src/business/views/all.py on lines 986..1000
    src/business/views/all.py on lines 1008..1022
    src/business/views/all.py on lines 1039..1053
    src/business/views/all.py on lines 1061..1075
    src/business/views/all.py on lines 1092..1106
    src/business/views/all.py on lines 1114..1128
    src/business/views/all.py on lines 1145..1158
    src/business/views/all.py on lines 1166..1179
    src/business/views/all.py on lines 1195..1207
    src/business/views/all.py on lines 1215..1227
    src/business/views/all.py on lines 1243..1255
    src/business/views/all.py on lines 1263..1275
    src/business/views/all.py on lines 1291..1303
    src/business/views/all.py on lines 1342..1356
    src/business/views/all.py on lines 1364..1378
    src/business/views/all.py on lines 1394..1406
    src/business/views/all.py on lines 1414..1426
    src/business/views/all.py on lines 1442..1454
    src/business/views/all.py on lines 1462..1474
    src/business/views/all.py on lines 1490..1502
    src/business/views/all.py on lines 1510..1522
    src/business/views/all.py on lines 1538..1550
    src/business/views/all.py on lines 1558..1570
    src/business/views/all.py on lines 1586..1598
    src/business/views/all.py on lines 1606..1618
    src/business/views/all.py on lines 1634..1646
    src/business/views/all.py on lines 1654..1666

    Duplicated Code

    Duplicated code can lead to software that is hard to understand and difficult to change. The Don't Repeat Yourself (DRY) principle states:

    Every piece of knowledge must have a single, unambiguous, authoritative representation within a system.

    When you violate DRY, bugs and maintenance problems are sure to follow. Duplicated code has a tendency to both continue to replicate and also to diverge (leaving bugs as two similar implementations differ in subtle ways).

    Tuning

    This issue has a mass of 103.

    We set useful threshold defaults for the languages we support but you may want to adjust these settings based on your project guidelines.

    The threshold configuration represents the minimum mass a code block must have to be analyzed for duplication. The lower the threshold, the more fine-grained the comparison.

    If the engine is too easily reporting duplication, try raising the threshold. If you suspect that the engine isn't catching enough duplication, try lowering the threshold. The best setting tends to differ from language to language.

    See codeclimate-duplication's documentation for more information about tuning the mass threshold in your .codeclimate.yml.

    Refactorings

    Further Reading

    Similar blocks of code found in 64 locations. Consider refactoring.
    Open

    class wooStoreUpdateView(UpdateView):
        model = wooStore
        form_class = wooStoreForm
        template_name = "business/object_form.html"
    
    
    Severity: Major
    Found in src/business/views/all.py and 63 other locations - About 6 hrs to fix
    src/business/views/all.py on lines 35..47
    src/business/views/all.py on lines 55..67
    src/business/views/all.py on lines 86..100
    src/business/views/all.py on lines 108..122
    src/business/views/all.py on lines 141..155
    src/business/views/all.py on lines 163..177
    src/business/views/all.py on lines 196..210
    src/business/views/all.py on lines 218..232
    src/business/views/all.py on lines 251..265
    src/business/views/all.py on lines 273..287
    src/business/views/all.py on lines 303..315
    src/business/views/all.py on lines 323..335
    src/business/views/all.py on lines 354..368
    src/business/views/all.py on lines 376..390
    src/business/views/all.py on lines 408..422
    src/business/views/all.py on lines 430..444
    src/business/views/all.py on lines 463..477
    src/business/views/all.py on lines 485..499
    src/business/views/all.py on lines 518..532
    src/business/views/all.py on lines 540..554
    src/business/views/all.py on lines 573..587
    src/business/views/all.py on lines 595..609
    src/business/views/all.py on lines 628..642
    src/business/views/all.py on lines 650..664
    src/business/views/all.py on lines 681..695
    src/business/views/all.py on lines 703..717
    src/business/views/all.py on lines 736..750
    src/business/views/all.py on lines 758..772
    src/business/views/all.py on lines 789..801
    src/business/views/all.py on lines 809..821
    src/business/views/all.py on lines 837..849
    src/business/views/all.py on lines 857..869
    src/business/views/all.py on lines 887..899
    src/business/views/all.py on lines 907..919
    src/business/views/all.py on lines 935..947
    src/business/views/all.py on lines 955..967
    src/business/views/all.py on lines 986..1000
    src/business/views/all.py on lines 1008..1022
    src/business/views/all.py on lines 1039..1053
    src/business/views/all.py on lines 1061..1075
    src/business/views/all.py on lines 1092..1106
    src/business/views/all.py on lines 1114..1128
    src/business/views/all.py on lines 1145..1158
    src/business/views/all.py on lines 1166..1179
    src/business/views/all.py on lines 1195..1207
    src/business/views/all.py on lines 1215..1227
    src/business/views/all.py on lines 1243..1255
    src/business/views/all.py on lines 1263..1275
    src/business/views/all.py on lines 1291..1303
    src/business/views/all.py on lines 1311..1323
    src/business/views/all.py on lines 1342..1356
    src/business/views/all.py on lines 1364..1378
    src/business/views/all.py on lines 1394..1406
    src/business/views/all.py on lines 1442..1454
    src/business/views/all.py on lines 1462..1474
    src/business/views/all.py on lines 1490..1502
    src/business/views/all.py on lines 1510..1522
    src/business/views/all.py on lines 1538..1550
    src/business/views/all.py on lines 1558..1570
    src/business/views/all.py on lines 1586..1598
    src/business/views/all.py on lines 1606..1618
    src/business/views/all.py on lines 1634..1646
    src/business/views/all.py on lines 1654..1666

    Duplicated Code

    Duplicated code can lead to software that is hard to understand and difficult to change. The Don't Repeat Yourself (DRY) principle states:

    Every piece of knowledge must have a single, unambiguous, authoritative representation within a system.

    When you violate DRY, bugs and maintenance problems are sure to follow. Duplicated code has a tendency to both continue to replicate and also to diverge (leaving bugs as two similar implementations differ in subtle ways).

    Tuning

    This issue has a mass of 103.

    We set useful threshold defaults for the languages we support but you may want to adjust these settings based on your project guidelines.

    The threshold configuration represents the minimum mass a code block must have to be analyzed for duplication. The lower the threshold, the more fine-grained the comparison.

    If the engine is too easily reporting duplication, try raising the threshold. If you suspect that the engine isn't catching enough duplication, try lowering the threshold. The best setting tends to differ from language to language.

    See codeclimate-duplication's documentation for more information about tuning the mass threshold in your .codeclimate.yml.

    Refactorings

    Further Reading

    Similar blocks of code found in 30 locations. Consider refactoring.
    Open

    class wooVariantListView(TemplateView):
        template_name = "business/object_list.html"
    
        def get_context_data(self, **kwargs):
            context = super(wooVariantListView, self).get_context_data(**kwargs)
    Severity: Major
    Found in src/business/views/all.py and 29 other locations - About 6 hrs to fix
    src/business/views/all.py on lines 22..32
    src/business/views/all.py on lines 70..83
    src/business/views/all.py on lines 125..138
    src/business/views/all.py on lines 180..193
    src/business/views/all.py on lines 235..248
    src/business/views/all.py on lines 290..300
    src/business/views/all.py on lines 338..351
    src/business/views/all.py on lines 393..405
    src/business/views/all.py on lines 447..460
    src/business/views/all.py on lines 502..515
    src/business/views/all.py on lines 557..570
    src/business/views/all.py on lines 612..625
    src/business/views/all.py on lines 667..678
    src/business/views/all.py on lines 720..733
    src/business/views/all.py on lines 824..834
    src/business/views/all.py on lines 922..932
    src/business/views/all.py on lines 970..983
    src/business/views/all.py on lines 1025..1036
    src/business/views/all.py on lines 1078..1089
    src/business/views/all.py on lines 1131..1142
    src/business/views/all.py on lines 1182..1192
    src/business/views/all.py on lines 1230..1240
    src/business/views/all.py on lines 1278..1288
    src/business/views/all.py on lines 1326..1339
    src/business/views/all.py on lines 1381..1391
    src/business/views/all.py on lines 1429..1439
    src/business/views/all.py on lines 1477..1487
    src/business/views/all.py on lines 1573..1583
    src/business/views/all.py on lines 1621..1631

    Duplicated Code

    Duplicated code can lead to software that is hard to understand and difficult to change. The Don't Repeat Yourself (DRY) principle states:

    Every piece of knowledge must have a single, unambiguous, authoritative representation within a system.

    When you violate DRY, bugs and maintenance problems are sure to follow. Duplicated code has a tendency to both continue to replicate and also to diverge (leaving bugs as two similar implementations differ in subtle ways).

    Tuning

    This issue has a mass of 103.

    We set useful threshold defaults for the languages we support but you may want to adjust these settings based on your project guidelines.

    The threshold configuration represents the minimum mass a code block must have to be analyzed for duplication. The lower the threshold, the more fine-grained the comparison.

    If the engine is too easily reporting duplication, try raising the threshold. If you suspect that the engine isn't catching enough duplication, try lowering the threshold. The best setting tends to differ from language to language.

    See codeclimate-duplication's documentation for more information about tuning the mass threshold in your .codeclimate.yml.

    Refactorings

    Further Reading

    Similar blocks of code found in 64 locations. Consider refactoring.
    Open

    class bzBrandCreateView(CreateView):
        model = bzBrand
        form_class = bzBrandForm
        template_name = "business/object_form.html"
    
    
    Severity: Major
    Found in src/business/views/all.py and 63 other locations - About 6 hrs to fix
    src/business/views/all.py on lines 55..67
    src/business/views/all.py on lines 86..100
    src/business/views/all.py on lines 108..122
    src/business/views/all.py on lines 141..155
    src/business/views/all.py on lines 163..177
    src/business/views/all.py on lines 196..210
    src/business/views/all.py on lines 218..232
    src/business/views/all.py on lines 251..265
    src/business/views/all.py on lines 273..287
    src/business/views/all.py on lines 303..315
    src/business/views/all.py on lines 323..335
    src/business/views/all.py on lines 354..368
    src/business/views/all.py on lines 376..390
    src/business/views/all.py on lines 408..422
    src/business/views/all.py on lines 430..444
    src/business/views/all.py on lines 463..477
    src/business/views/all.py on lines 485..499
    src/business/views/all.py on lines 518..532
    src/business/views/all.py on lines 540..554
    src/business/views/all.py on lines 573..587
    src/business/views/all.py on lines 595..609
    src/business/views/all.py on lines 628..642
    src/business/views/all.py on lines 650..664
    src/business/views/all.py on lines 681..695
    src/business/views/all.py on lines 703..717
    src/business/views/all.py on lines 736..750
    src/business/views/all.py on lines 758..772
    src/business/views/all.py on lines 789..801
    src/business/views/all.py on lines 809..821
    src/business/views/all.py on lines 837..849
    src/business/views/all.py on lines 857..869
    src/business/views/all.py on lines 887..899
    src/business/views/all.py on lines 907..919
    src/business/views/all.py on lines 935..947
    src/business/views/all.py on lines 955..967
    src/business/views/all.py on lines 986..1000
    src/business/views/all.py on lines 1008..1022
    src/business/views/all.py on lines 1039..1053
    src/business/views/all.py on lines 1061..1075
    src/business/views/all.py on lines 1092..1106
    src/business/views/all.py on lines 1114..1128
    src/business/views/all.py on lines 1145..1158
    src/business/views/all.py on lines 1166..1179
    src/business/views/all.py on lines 1195..1207
    src/business/views/all.py on lines 1215..1227
    src/business/views/all.py on lines 1243..1255
    src/business/views/all.py on lines 1263..1275
    src/business/views/all.py on lines 1291..1303
    src/business/views/all.py on lines 1311..1323
    src/business/views/all.py on lines 1342..1356
    src/business/views/all.py on lines 1364..1378
    src/business/views/all.py on lines 1394..1406
    src/business/views/all.py on lines 1414..1426
    src/business/views/all.py on lines 1442..1454
    src/business/views/all.py on lines 1462..1474
    src/business/views/all.py on lines 1490..1502
    src/business/views/all.py on lines 1510..1522
    src/business/views/all.py on lines 1538..1550
    src/business/views/all.py on lines 1558..1570
    src/business/views/all.py on lines 1586..1598
    src/business/views/all.py on lines 1606..1618
    src/business/views/all.py on lines 1634..1646
    src/business/views/all.py on lines 1654..1666

    Duplicated Code

    Duplicated code can lead to software that is hard to understand and difficult to change. The Don't Repeat Yourself (DRY) principle states:

    Every piece of knowledge must have a single, unambiguous, authoritative representation within a system.

    When you violate DRY, bugs and maintenance problems are sure to follow. Duplicated code has a tendency to both continue to replicate and also to diverge (leaving bugs as two similar implementations differ in subtle ways).

    Tuning

    This issue has a mass of 103.

    We set useful threshold defaults for the languages we support but you may want to adjust these settings based on your project guidelines.

    The threshold configuration represents the minimum mass a code block must have to be analyzed for duplication. The lower the threshold, the more fine-grained the comparison.

    If the engine is too easily reporting duplication, try raising the threshold. If you suspect that the engine isn't catching enough duplication, try lowering the threshold. The best setting tends to differ from language to language.

    See codeclimate-duplication's documentation for more information about tuning the mass threshold in your .codeclimate.yml.

    Refactorings

    Further Reading

    Similar blocks of code found in 64 locations. Consider refactoring.
    Open

    class pfCatalogColorCreateView(CreateView):
        model = pfCatalogColor
        form_class = pfCatalogColorForm
        template_name = "business/object_form.html"
    
    
    Severity: Major
    Found in src/business/views/all.py and 63 other locations - About 6 hrs to fix
    src/business/views/all.py on lines 35..47
    src/business/views/all.py on lines 55..67
    src/business/views/all.py on lines 86..100
    src/business/views/all.py on lines 108..122
    src/business/views/all.py on lines 141..155
    src/business/views/all.py on lines 163..177
    src/business/views/all.py on lines 196..210
    src/business/views/all.py on lines 218..232
    src/business/views/all.py on lines 251..265
    src/business/views/all.py on lines 273..287
    src/business/views/all.py on lines 303..315
    src/business/views/all.py on lines 323..335
    src/business/views/all.py on lines 354..368
    src/business/views/all.py on lines 376..390
    src/business/views/all.py on lines 430..444
    src/business/views/all.py on lines 463..477
    src/business/views/all.py on lines 485..499
    src/business/views/all.py on lines 518..532
    src/business/views/all.py on lines 540..554
    src/business/views/all.py on lines 573..587
    src/business/views/all.py on lines 595..609
    src/business/views/all.py on lines 628..642
    src/business/views/all.py on lines 650..664
    src/business/views/all.py on lines 681..695
    src/business/views/all.py on lines 703..717
    src/business/views/all.py on lines 736..750
    src/business/views/all.py on lines 758..772
    src/business/views/all.py on lines 789..801
    src/business/views/all.py on lines 809..821
    src/business/views/all.py on lines 837..849
    src/business/views/all.py on lines 857..869
    src/business/views/all.py on lines 887..899
    src/business/views/all.py on lines 907..919
    src/business/views/all.py on lines 935..947
    src/business/views/all.py on lines 955..967
    src/business/views/all.py on lines 986..1000
    src/business/views/all.py on lines 1008..1022
    src/business/views/all.py on lines 1039..1053
    src/business/views/all.py on lines 1061..1075
    src/business/views/all.py on lines 1092..1106
    src/business/views/all.py on lines 1114..1128
    src/business/views/all.py on lines 1145..1158
    src/business/views/all.py on lines 1166..1179
    src/business/views/all.py on lines 1195..1207
    src/business/views/all.py on lines 1215..1227
    src/business/views/all.py on lines 1243..1255
    src/business/views/all.py on lines 1263..1275
    src/business/views/all.py on lines 1291..1303
    src/business/views/all.py on lines 1311..1323
    src/business/views/all.py on lines 1342..1356
    src/business/views/all.py on lines 1364..1378
    src/business/views/all.py on lines 1394..1406
    src/business/views/all.py on lines 1414..1426
    src/business/views/all.py on lines 1442..1454
    src/business/views/all.py on lines 1462..1474
    src/business/views/all.py on lines 1490..1502
    src/business/views/all.py on lines 1510..1522
    src/business/views/all.py on lines 1538..1550
    src/business/views/all.py on lines 1558..1570
    src/business/views/all.py on lines 1586..1598
    src/business/views/all.py on lines 1606..1618
    src/business/views/all.py on lines 1634..1646
    src/business/views/all.py on lines 1654..1666

    Duplicated Code

    Duplicated code can lead to software that is hard to understand and difficult to change. The Don't Repeat Yourself (DRY) principle states:

    Every piece of knowledge must have a single, unambiguous, authoritative representation within a system.

    When you violate DRY, bugs and maintenance problems are sure to follow. Duplicated code has a tendency to both continue to replicate and also to diverge (leaving bugs as two similar implementations differ in subtle ways).

    Tuning

    This issue has a mass of 103.

    We set useful threshold defaults for the languages we support but you may want to adjust these settings based on your project guidelines.

    The threshold configuration represents the minimum mass a code block must have to be analyzed for duplication. The lower the threshold, the more fine-grained the comparison.

    If the engine is too easily reporting duplication, try raising the threshold. If you suspect that the engine isn't catching enough duplication, try lowering the threshold. The best setting tends to differ from language to language.

    See codeclimate-duplication's documentation for more information about tuning the mass threshold in your .codeclimate.yml.

    Refactorings

    Further Reading

    Similar blocks of code found in 64 locations. Consider refactoring.
    Open

    class pfSyncProductCreateView(CreateView):
        model = pfSyncProduct
        form_class = pfSyncProductForm
        template_name = "business/object_form.html"
    
    
    Severity: Major
    Found in src/business/views/all.py and 63 other locations - About 6 hrs to fix
    src/business/views/all.py on lines 35..47
    src/business/views/all.py on lines 55..67
    src/business/views/all.py on lines 86..100
    src/business/views/all.py on lines 108..122
    src/business/views/all.py on lines 141..155
    src/business/views/all.py on lines 163..177
    src/business/views/all.py on lines 196..210
    src/business/views/all.py on lines 218..232
    src/business/views/all.py on lines 251..265
    src/business/views/all.py on lines 273..287
    src/business/views/all.py on lines 303..315
    src/business/views/all.py on lines 323..335
    src/business/views/all.py on lines 354..368
    src/business/views/all.py on lines 376..390
    src/business/views/all.py on lines 408..422
    src/business/views/all.py on lines 430..444
    src/business/views/all.py on lines 463..477
    src/business/views/all.py on lines 485..499
    src/business/views/all.py on lines 518..532
    src/business/views/all.py on lines 540..554
    src/business/views/all.py on lines 573..587
    src/business/views/all.py on lines 595..609
    src/business/views/all.py on lines 628..642
    src/business/views/all.py on lines 650..664
    src/business/views/all.py on lines 681..695
    src/business/views/all.py on lines 703..717
    src/business/views/all.py on lines 736..750
    src/business/views/all.py on lines 758..772
    src/business/views/all.py on lines 789..801
    src/business/views/all.py on lines 809..821
    src/business/views/all.py on lines 837..849
    src/business/views/all.py on lines 857..869
    src/business/views/all.py on lines 887..899
    src/business/views/all.py on lines 907..919
    src/business/views/all.py on lines 935..947
    src/business/views/all.py on lines 955..967
    src/business/views/all.py on lines 986..1000
    src/business/views/all.py on lines 1008..1022
    src/business/views/all.py on lines 1061..1075
    src/business/views/all.py on lines 1092..1106
    src/business/views/all.py on lines 1114..1128
    src/business/views/all.py on lines 1145..1158
    src/business/views/all.py on lines 1166..1179
    src/business/views/all.py on lines 1195..1207
    src/business/views/all.py on lines 1215..1227
    src/business/views/all.py on lines 1243..1255
    src/business/views/all.py on lines 1263..1275
    src/business/views/all.py on lines 1291..1303
    src/business/views/all.py on lines 1311..1323
    src/business/views/all.py on lines 1342..1356
    src/business/views/all.py on lines 1364..1378
    src/business/views/all.py on lines 1394..1406
    src/business/views/all.py on lines 1414..1426
    src/business/views/all.py on lines 1442..1454
    src/business/views/all.py on lines 1462..1474
    src/business/views/all.py on lines 1490..1502
    src/business/views/all.py on lines 1510..1522
    src/business/views/all.py on lines 1538..1550
    src/business/views/all.py on lines 1558..1570
    src/business/views/all.py on lines 1586..1598
    src/business/views/all.py on lines 1606..1618
    src/business/views/all.py on lines 1634..1646
    src/business/views/all.py on lines 1654..1666

    Duplicated Code

    Duplicated code can lead to software that is hard to understand and difficult to change. The Don't Repeat Yourself (DRY) principle states:

    Every piece of knowledge must have a single, unambiguous, authoritative representation within a system.

    When you violate DRY, bugs and maintenance problems are sure to follow. Duplicated code has a tendency to both continue to replicate and also to diverge (leaving bugs as two similar implementations differ in subtle ways).

    Tuning

    This issue has a mass of 103.

    We set useful threshold defaults for the languages we support but you may want to adjust these settings based on your project guidelines.

    The threshold configuration represents the minimum mass a code block must have to be analyzed for duplication. The lower the threshold, the more fine-grained the comparison.

    If the engine is too easily reporting duplication, try raising the threshold. If you suspect that the engine isn't catching enough duplication, try lowering the threshold. The best setting tends to differ from language to language.

    See codeclimate-duplication's documentation for more information about tuning the mass threshold in your .codeclimate.yml.

    Refactorings

    Further Reading

    Similar blocks of code found in 64 locations. Consider refactoring.
    Open

    class wpMediaCreateView(CreateView):
        model = wpMedia
        form_class = wpMediaForm
        template_name = "business/object_form.html"
    
    
    Severity: Major
    Found in src/business/views/all.py and 63 other locations - About 6 hrs to fix
    src/business/views/all.py on lines 35..47
    src/business/views/all.py on lines 55..67
    src/business/views/all.py on lines 86..100
    src/business/views/all.py on lines 108..122
    src/business/views/all.py on lines 141..155
    src/business/views/all.py on lines 163..177
    src/business/views/all.py on lines 196..210
    src/business/views/all.py on lines 218..232
    src/business/views/all.py on lines 251..265
    src/business/views/all.py on lines 273..287
    src/business/views/all.py on lines 303..315
    src/business/views/all.py on lines 323..335
    src/business/views/all.py on lines 354..368
    src/business/views/all.py on lines 376..390
    src/business/views/all.py on lines 408..422
    src/business/views/all.py on lines 430..444
    src/business/views/all.py on lines 463..477
    src/business/views/all.py on lines 485..499
    src/business/views/all.py on lines 518..532
    src/business/views/all.py on lines 540..554
    src/business/views/all.py on lines 573..587
    src/business/views/all.py on lines 595..609
    src/business/views/all.py on lines 628..642
    src/business/views/all.py on lines 650..664
    src/business/views/all.py on lines 681..695
    src/business/views/all.py on lines 703..717
    src/business/views/all.py on lines 736..750
    src/business/views/all.py on lines 758..772
    src/business/views/all.py on lines 789..801
    src/business/views/all.py on lines 809..821
    src/business/views/all.py on lines 837..849
    src/business/views/all.py on lines 857..869
    src/business/views/all.py on lines 887..899
    src/business/views/all.py on lines 907..919
    src/business/views/all.py on lines 935..947
    src/business/views/all.py on lines 955..967
    src/business/views/all.py on lines 986..1000
    src/business/views/all.py on lines 1008..1022
    src/business/views/all.py on lines 1039..1053
    src/business/views/all.py on lines 1061..1075
    src/business/views/all.py on lines 1092..1106
    src/business/views/all.py on lines 1114..1128
    src/business/views/all.py on lines 1145..1158
    src/business/views/all.py on lines 1166..1179
    src/business/views/all.py on lines 1195..1207
    src/business/views/all.py on lines 1215..1227
    src/business/views/all.py on lines 1243..1255
    src/business/views/all.py on lines 1263..1275
    src/business/views/all.py on lines 1291..1303
    src/business/views/all.py on lines 1311..1323
    src/business/views/all.py on lines 1342..1356
    src/business/views/all.py on lines 1364..1378
    src/business/views/all.py on lines 1394..1406
    src/business/views/all.py on lines 1414..1426
    src/business/views/all.py on lines 1442..1454
    src/business/views/all.py on lines 1462..1474
    src/business/views/all.py on lines 1490..1502
    src/business/views/all.py on lines 1510..1522
    src/business/views/all.py on lines 1538..1550
    src/business/views/all.py on lines 1558..1570
    src/business/views/all.py on lines 1606..1618
    src/business/views/all.py on lines 1634..1646
    src/business/views/all.py on lines 1654..1666

    Duplicated Code

    Duplicated code can lead to software that is hard to understand and difficult to change. The Don't Repeat Yourself (DRY) principle states:

    Every piece of knowledge must have a single, unambiguous, authoritative representation within a system.

    When you violate DRY, bugs and maintenance problems are sure to follow. Duplicated code has a tendency to both continue to replicate and also to diverge (leaving bugs as two similar implementations differ in subtle ways).

    Tuning

    This issue has a mass of 103.

    We set useful threshold defaults for the languages we support but you may want to adjust these settings based on your project guidelines.

    The threshold configuration represents the minimum mass a code block must have to be analyzed for duplication. The lower the threshold, the more fine-grained the comparison.

    If the engine is too easily reporting duplication, try raising the threshold. If you suspect that the engine isn't catching enough duplication, try lowering the threshold. The best setting tends to differ from language to language.

    See codeclimate-duplication's documentation for more information about tuning the mass threshold in your .codeclimate.yml.

    Refactorings

    Further Reading

    Similar blocks of code found in 30 locations. Consider refactoring.
    Open

    class bzCreativeDesignListView(TemplateView):
        template_name = "business/object_list.html"
    
        def get_context_data(self, **kwargs):
            context = super(bzCreativeDesignListView,
    Severity: Major
    Found in src/business/views/all.py and 29 other locations - About 6 hrs to fix
    src/business/views/all.py on lines 22..32
    src/business/views/all.py on lines 70..83
    src/business/views/all.py on lines 180..193
    src/business/views/all.py on lines 235..248
    src/business/views/all.py on lines 290..300
    src/business/views/all.py on lines 338..351
    src/business/views/all.py on lines 393..405
    src/business/views/all.py on lines 447..460
    src/business/views/all.py on lines 502..515
    src/business/views/all.py on lines 557..570
    src/business/views/all.py on lines 612..625
    src/business/views/all.py on lines 667..678
    src/business/views/all.py on lines 720..733
    src/business/views/all.py on lines 824..834
    src/business/views/all.py on lines 922..932
    src/business/views/all.py on lines 970..983
    src/business/views/all.py on lines 1025..1036
    src/business/views/all.py on lines 1078..1089
    src/business/views/all.py on lines 1131..1142
    src/business/views/all.py on lines 1182..1192
    src/business/views/all.py on lines 1230..1240
    src/business/views/all.py on lines 1278..1288
    src/business/views/all.py on lines 1326..1339
    src/business/views/all.py on lines 1381..1391
    src/business/views/all.py on lines 1429..1439
    src/business/views/all.py on lines 1477..1487
    src/business/views/all.py on lines 1525..1535
    src/business/views/all.py on lines 1573..1583
    src/business/views/all.py on lines 1621..1631

    Duplicated Code

    Duplicated code can lead to software that is hard to understand and difficult to change. The Don't Repeat Yourself (DRY) principle states:

    Every piece of knowledge must have a single, unambiguous, authoritative representation within a system.

    When you violate DRY, bugs and maintenance problems are sure to follow. Duplicated code has a tendency to both continue to replicate and also to diverge (leaving bugs as two similar implementations differ in subtle ways).

    Tuning

    This issue has a mass of 103.

    We set useful threshold defaults for the languages we support but you may want to adjust these settings based on your project guidelines.

    The threshold configuration represents the minimum mass a code block must have to be analyzed for duplication. The lower the threshold, the more fine-grained the comparison.

    If the engine is too easily reporting duplication, try raising the threshold. If you suspect that the engine isn't catching enough duplication, try lowering the threshold. The best setting tends to differ from language to language.

    See codeclimate-duplication's documentation for more information about tuning the mass threshold in your .codeclimate.yml.

    Refactorings

    Further Reading

    Similar blocks of code found in 30 locations. Consider refactoring.
    Open

    class pfCatalogSizeListView(TemplateView):
        template_name = "business/object_list.html"
    
        def get_context_data(self, **kwargs):
            context = super(pfCatalogSizeListView, self).get_context_data(**kwargs)
    Severity: Major
    Found in src/business/views/all.py and 29 other locations - About 6 hrs to fix
    src/business/views/all.py on lines 22..32
    src/business/views/all.py on lines 70..83
    src/business/views/all.py on lines 125..138
    src/business/views/all.py on lines 180..193
    src/business/views/all.py on lines 235..248
    src/business/views/all.py on lines 290..300
    src/business/views/all.py on lines 338..351
    src/business/views/all.py on lines 393..405
    src/business/views/all.py on lines 447..460
    src/business/views/all.py on lines 502..515
    src/business/views/all.py on lines 557..570
    src/business/views/all.py on lines 612..625
    src/business/views/all.py on lines 720..733
    src/business/views/all.py on lines 824..834
    src/business/views/all.py on lines 922..932
    src/business/views/all.py on lines 970..983
    src/business/views/all.py on lines 1025..1036
    src/business/views/all.py on lines 1078..1089
    src/business/views/all.py on lines 1131..1142
    src/business/views/all.py on lines 1182..1192
    src/business/views/all.py on lines 1230..1240
    src/business/views/all.py on lines 1278..1288
    src/business/views/all.py on lines 1326..1339
    src/business/views/all.py on lines 1381..1391
    src/business/views/all.py on lines 1429..1439
    src/business/views/all.py on lines 1477..1487
    src/business/views/all.py on lines 1525..1535
    src/business/views/all.py on lines 1573..1583
    src/business/views/all.py on lines 1621..1631

    Duplicated Code

    Duplicated code can lead to software that is hard to understand and difficult to change. The Don't Repeat Yourself (DRY) principle states:

    Every piece of knowledge must have a single, unambiguous, authoritative representation within a system.

    When you violate DRY, bugs and maintenance problems are sure to follow. Duplicated code has a tendency to both continue to replicate and also to diverge (leaving bugs as two similar implementations differ in subtle ways).

    Tuning

    This issue has a mass of 103.

    We set useful threshold defaults for the languages we support but you may want to adjust these settings based on your project guidelines.

    The threshold configuration represents the minimum mass a code block must have to be analyzed for duplication. The lower the threshold, the more fine-grained the comparison.

    If the engine is too easily reporting duplication, try raising the threshold. If you suspect that the engine isn't catching enough duplication, try lowering the threshold. The best setting tends to differ from language to language.

    See codeclimate-duplication's documentation for more information about tuning the mass threshold in your .codeclimate.yml.

    Refactorings

    Further Reading

    Similar blocks of code found in 64 locations. Consider refactoring.
    Open

    class bzCreativeDesignUpdateView(UpdateView):
        model = bzCreativeDesign
        form_class = bzCreativeDesignForm
        template_name = "business/object_form.html"
    
    
    Severity: Major
    Found in src/business/views/all.py and 63 other locations - About 6 hrs to fix
    src/business/views/all.py on lines 35..47
    src/business/views/all.py on lines 55..67
    src/business/views/all.py on lines 86..100
    src/business/views/all.py on lines 108..122
    src/business/views/all.py on lines 141..155
    src/business/views/all.py on lines 196..210
    src/business/views/all.py on lines 218..232
    src/business/views/all.py on lines 251..265
    src/business/views/all.py on lines 273..287
    src/business/views/all.py on lines 303..315
    src/business/views/all.py on lines 323..335
    src/business/views/all.py on lines 354..368
    src/business/views/all.py on lines 376..390
    src/business/views/all.py on lines 408..422
    src/business/views/all.py on lines 430..444
    src/business/views/all.py on lines 463..477
    src/business/views/all.py on lines 485..499
    src/business/views/all.py on lines 518..532
    src/business/views/all.py on lines 540..554
    src/business/views/all.py on lines 573..587
    src/business/views/all.py on lines 595..609
    src/business/views/all.py on lines 628..642
    src/business/views/all.py on lines 650..664
    src/business/views/all.py on lines 681..695
    src/business/views/all.py on lines 703..717
    src/business/views/all.py on lines 736..750
    src/business/views/all.py on lines 758..772
    src/business/views/all.py on lines 789..801
    src/business/views/all.py on lines 809..821
    src/business/views/all.py on lines 837..849
    src/business/views/all.py on lines 857..869
    src/business/views/all.py on lines 887..899
    src/business/views/all.py on lines 907..919
    src/business/views/all.py on lines 935..947
    src/business/views/all.py on lines 955..967
    src/business/views/all.py on lines 986..1000
    src/business/views/all.py on lines 1008..1022
    src/business/views/all.py on lines 1039..1053
    src/business/views/all.py on lines 1061..1075
    src/business/views/all.py on lines 1092..1106
    src/business/views/all.py on lines 1114..1128
    src/business/views/all.py on lines 1145..1158
    src/business/views/all.py on lines 1166..1179
    src/business/views/all.py on lines 1195..1207
    src/business/views/all.py on lines 1215..1227
    src/business/views/all.py on lines 1243..1255
    src/business/views/all.py on lines 1263..1275
    src/business/views/all.py on lines 1291..1303
    src/business/views/all.py on lines 1311..1323
    src/business/views/all.py on lines 1342..1356
    src/business/views/all.py on lines 1364..1378
    src/business/views/all.py on lines 1394..1406
    src/business/views/all.py on lines 1414..1426
    src/business/views/all.py on lines 1442..1454
    src/business/views/all.py on lines 1462..1474
    src/business/views/all.py on lines 1490..1502
    src/business/views/all.py on lines 1510..1522
    src/business/views/all.py on lines 1538..1550
    src/business/views/all.py on lines 1558..1570
    src/business/views/all.py on lines 1586..1598
    src/business/views/all.py on lines 1606..1618
    src/business/views/all.py on lines 1634..1646
    src/business/views/all.py on lines 1654..1666

    Duplicated Code

    Duplicated code can lead to software that is hard to understand and difficult to change. The Don't Repeat Yourself (DRY) principle states:

    Every piece of knowledge must have a single, unambiguous, authoritative representation within a system.

    When you violate DRY, bugs and maintenance problems are sure to follow. Duplicated code has a tendency to both continue to replicate and also to diverge (leaving bugs as two similar implementations differ in subtle ways).

    Tuning

    This issue has a mass of 103.

    We set useful threshold defaults for the languages we support but you may want to adjust these settings based on your project guidelines.

    The threshold configuration represents the minimum mass a code block must have to be analyzed for duplication. The lower the threshold, the more fine-grained the comparison.

    If the engine is too easily reporting duplication, try raising the threshold. If you suspect that the engine isn't catching enough duplication, try lowering the threshold. The best setting tends to differ from language to language.

    See codeclimate-duplication's documentation for more information about tuning the mass threshold in your .codeclimate.yml.

    Refactorings

    Further Reading

    Similar blocks of code found in 30 locations. Consider refactoring.
    Open

    class wooImageListView(TemplateView):
        template_name = "business/object_list.html"
    
        def get_context_data(self, **kwargs):
            context = super(wooImageListView, self).get_context_data(**kwargs)
    Severity: Major
    Found in src/business/views/all.py and 29 other locations - About 6 hrs to fix
    src/business/views/all.py on lines 22..32
    src/business/views/all.py on lines 70..83
    src/business/views/all.py on lines 125..138
    src/business/views/all.py on lines 180..193
    src/business/views/all.py on lines 235..248
    src/business/views/all.py on lines 290..300
    src/business/views/all.py on lines 338..351
    src/business/views/all.py on lines 393..405
    src/business/views/all.py on lines 447..460
    src/business/views/all.py on lines 502..515
    src/business/views/all.py on lines 557..570
    src/business/views/all.py on lines 612..625
    src/business/views/all.py on lines 667..678
    src/business/views/all.py on lines 720..733
    src/business/views/all.py on lines 824..834
    src/business/views/all.py on lines 922..932
    src/business/views/all.py on lines 970..983
    src/business/views/all.py on lines 1025..1036
    src/business/views/all.py on lines 1078..1089
    src/business/views/all.py on lines 1131..1142
    src/business/views/all.py on lines 1182..1192
    src/business/views/all.py on lines 1278..1288
    src/business/views/all.py on lines 1326..1339
    src/business/views/all.py on lines 1381..1391
    src/business/views/all.py on lines 1429..1439
    src/business/views/all.py on lines 1477..1487
    src/business/views/all.py on lines 1525..1535
    src/business/views/all.py on lines 1573..1583
    src/business/views/all.py on lines 1621..1631

    Duplicated Code

    Duplicated code can lead to software that is hard to understand and difficult to change. The Don't Repeat Yourself (DRY) principle states:

    Every piece of knowledge must have a single, unambiguous, authoritative representation within a system.

    When you violate DRY, bugs and maintenance problems are sure to follow. Duplicated code has a tendency to both continue to replicate and also to diverge (leaving bugs as two similar implementations differ in subtle ways).

    Tuning

    This issue has a mass of 103.

    We set useful threshold defaults for the languages we support but you may want to adjust these settings based on your project guidelines.

    The threshold configuration represents the minimum mass a code block must have to be analyzed for duplication. The lower the threshold, the more fine-grained the comparison.

    If the engine is too easily reporting duplication, try raising the threshold. If you suspect that the engine isn't catching enough duplication, try lowering the threshold. The best setting tends to differ from language to language.

    See codeclimate-duplication's documentation for more information about tuning the mass threshold in your .codeclimate.yml.

    Refactorings

    Further Reading

    Similar blocks of code found in 30 locations. Consider refactoring.
    Open

    class wooShippingClassListView(TemplateView):
        template_name = "business/object_list.html"
    
        def get_context_data(self, **kwargs):
            context = super(wooShippingClassListView,
    Severity: Major
    Found in src/business/views/all.py and 29 other locations - About 6 hrs to fix
    src/business/views/all.py on lines 22..32
    src/business/views/all.py on lines 70..83
    src/business/views/all.py on lines 125..138
    src/business/views/all.py on lines 180..193
    src/business/views/all.py on lines 235..248
    src/business/views/all.py on lines 290..300
    src/business/views/all.py on lines 338..351
    src/business/views/all.py on lines 393..405
    src/business/views/all.py on lines 447..460
    src/business/views/all.py on lines 502..515
    src/business/views/all.py on lines 557..570
    src/business/views/all.py on lines 612..625
    src/business/views/all.py on lines 667..678
    src/business/views/all.py on lines 720..733
    src/business/views/all.py on lines 824..834
    src/business/views/all.py on lines 922..932
    src/business/views/all.py on lines 970..983
    src/business/views/all.py on lines 1025..1036
    src/business/views/all.py on lines 1078..1089
    src/business/views/all.py on lines 1131..1142
    src/business/views/all.py on lines 1182..1192
    src/business/views/all.py on lines 1230..1240
    src/business/views/all.py on lines 1278..1288
    src/business/views/all.py on lines 1381..1391
    src/business/views/all.py on lines 1429..1439
    src/business/views/all.py on lines 1477..1487
    src/business/views/all.py on lines 1525..1535
    src/business/views/all.py on lines 1573..1583
    src/business/views/all.py on lines 1621..1631

    Duplicated Code

    Duplicated code can lead to software that is hard to understand and difficult to change. The Don't Repeat Yourself (DRY) principle states:

    Every piece of knowledge must have a single, unambiguous, authoritative representation within a system.

    When you violate DRY, bugs and maintenance problems are sure to follow. Duplicated code has a tendency to both continue to replicate and also to diverge (leaving bugs as two similar implementations differ in subtle ways).

    Tuning

    This issue has a mass of 103.

    We set useful threshold defaults for the languages we support but you may want to adjust these settings based on your project guidelines.

    The threshold configuration represents the minimum mass a code block must have to be analyzed for duplication. The lower the threshold, the more fine-grained the comparison.

    If the engine is too easily reporting duplication, try raising the threshold. If you suspect that the engine isn't catching enough duplication, try lowering the threshold. The best setting tends to differ from language to language.

    See codeclimate-duplication's documentation for more information about tuning the mass threshold in your .codeclimate.yml.

    Refactorings

    Further Reading

    Similar blocks of code found in 64 locations. Consider refactoring.
    Open

    class bzCreativeRenderingCreateView(CreateView):
        model = bzCreativeRendering
        form_class = bzCreativeRenderingForm
        template_name = "business/object_form.html"
    
    
    Severity: Major
    Found in src/business/views/all.py and 63 other locations - About 6 hrs to fix
    src/business/views/all.py on lines 35..47
    src/business/views/all.py on lines 55..67
    src/business/views/all.py on lines 86..100
    src/business/views/all.py on lines 108..122
    src/business/views/all.py on lines 141..155
    src/business/views/all.py on lines 163..177
    src/business/views/all.py on lines 196..210
    src/business/views/all.py on lines 218..232
    src/business/views/all.py on lines 273..287
    src/business/views/all.py on lines 303..315
    src/business/views/all.py on lines 323..335
    src/business/views/all.py on lines 354..368
    src/business/views/all.py on lines 376..390
    src/business/views/all.py on lines 408..422
    src/business/views/all.py on lines 430..444
    src/business/views/all.py on lines 463..477
    src/business/views/all.py on lines 485..499
    src/business/views/all.py on lines 518..532
    src/business/views/all.py on lines 540..554
    src/business/views/all.py on lines 573..587
    src/business/views/all.py on lines 595..609
    src/business/views/all.py on lines 628..642
    src/business/views/all.py on lines 650..664
    src/business/views/all.py on lines 681..695
    src/business/views/all.py on lines 703..717
    src/business/views/all.py on lines 736..750
    src/business/views/all.py on lines 758..772
    src/business/views/all.py on lines 789..801
    src/business/views/all.py on lines 809..821
    src/business/views/all.py on lines 837..849
    src/business/views/all.py on lines 857..869
    src/business/views/all.py on lines 887..899
    src/business/views/all.py on lines 907..919
    src/business/views/all.py on lines 935..947
    src/business/views/all.py on lines 955..967
    src/business/views/all.py on lines 986..1000
    src/business/views/all.py on lines 1008..1022
    src/business/views/all.py on lines 1039..1053
    src/business/views/all.py on lines 1061..1075
    src/business/views/all.py on lines 1092..1106
    src/business/views/all.py on lines 1114..1128
    src/business/views/all.py on lines 1145..1158
    src/business/views/all.py on lines 1166..1179
    src/business/views/all.py on lines 1195..1207
    src/business/views/all.py on lines 1215..1227
    src/business/views/all.py on lines 1243..1255
    src/business/views/all.py on lines 1263..1275
    src/business/views/all.py on lines 1291..1303
    src/business/views/all.py on lines 1311..1323
    src/business/views/all.py on lines 1342..1356
    src/business/views/all.py on lines 1364..1378
    src/business/views/all.py on lines 1394..1406
    src/business/views/all.py on lines 1414..1426
    src/business/views/all.py on lines 1442..1454
    src/business/views/all.py on lines 1462..1474
    src/business/views/all.py on lines 1490..1502
    src/business/views/all.py on lines 1510..1522
    src/business/views/all.py on lines 1538..1550
    src/business/views/all.py on lines 1558..1570
    src/business/views/all.py on lines 1586..1598
    src/business/views/all.py on lines 1606..1618
    src/business/views/all.py on lines 1634..1646
    src/business/views/all.py on lines 1654..1666

    Duplicated Code

    Duplicated code can lead to software that is hard to understand and difficult to change. The Don't Repeat Yourself (DRY) principle states:

    Every piece of knowledge must have a single, unambiguous, authoritative representation within a system.

    When you violate DRY, bugs and maintenance problems are sure to follow. Duplicated code has a tendency to both continue to replicate and also to diverge (leaving bugs as two similar implementations differ in subtle ways).

    Tuning

    This issue has a mass of 103.

    We set useful threshold defaults for the languages we support but you may want to adjust these settings based on your project guidelines.

    The threshold configuration represents the minimum mass a code block must have to be analyzed for duplication. The lower the threshold, the more fine-grained the comparison.

    If the engine is too easily reporting duplication, try raising the threshold. If you suspect that the engine isn't catching enough duplication, try lowering the threshold. The best setting tends to differ from language to language.

    See codeclimate-duplication's documentation for more information about tuning the mass threshold in your .codeclimate.yml.

    Refactorings

    Further Reading

    Similar blocks of code found in 64 locations. Consider refactoring.
    Open

    class pfCatalogFileSpecUpdateView(UpdateView):
        model = pfCatalogFileSpec
        form_class = pfCatalogFileSpecForm
        template_name = "business/object_form.html"
    
    
    Severity: Major
    Found in src/business/views/all.py and 63 other locations - About 6 hrs to fix
    src/business/views/all.py on lines 35..47
    src/business/views/all.py on lines 55..67
    src/business/views/all.py on lines 86..100
    src/business/views/all.py on lines 108..122
    src/business/views/all.py on lines 141..155
    src/business/views/all.py on lines 163..177
    src/business/views/all.py on lines 196..210
    src/business/views/all.py on lines 218..232
    src/business/views/all.py on lines 251..265
    src/business/views/all.py on lines 273..287
    src/business/views/all.py on lines 303..315
    src/business/views/all.py on lines 323..335
    src/business/views/all.py on lines 354..368
    src/business/views/all.py on lines 376..390
    src/business/views/all.py on lines 408..422
    src/business/views/all.py on lines 430..444
    src/business/views/all.py on lines 463..477
    src/business/views/all.py on lines 518..532
    src/business/views/all.py on lines 540..554
    src/business/views/all.py on lines 573..587
    src/business/views/all.py on lines 595..609
    src/business/views/all.py on lines 628..642
    src/business/views/all.py on lines 650..664
    src/business/views/all.py on lines 681..695
    src/business/views/all.py on lines 703..717
    src/business/views/all.py on lines 736..750
    src/business/views/all.py on lines 758..772
    src/business/views/all.py on lines 789..801
    src/business/views/all.py on lines 809..821
    src/business/views/all.py on lines 837..849
    src/business/views/all.py on lines 857..869
    src/business/views/all.py on lines 887..899
    src/business/views/all.py on lines 907..919
    src/business/views/all.py on lines 935..947
    src/business/views/all.py on lines 955..967
    src/business/views/all.py on lines 986..1000
    src/business/views/all.py on lines 1008..1022
    src/business/views/all.py on lines 1039..1053
    src/business/views/all.py on lines 1061..1075
    src/business/views/all.py on lines 1092..1106
    src/business/views/all.py on lines 1114..1128
    src/business/views/all.py on lines 1145..1158
    src/business/views/all.py on lines 1166..1179
    src/business/views/all.py on lines 1195..1207
    src/business/views/all.py on lines 1215..1227
    src/business/views/all.py on lines 1243..1255
    src/business/views/all.py on lines 1263..1275
    src/business/views/all.py on lines 1291..1303
    src/business/views/all.py on lines 1311..1323
    src/business/views/all.py on lines 1342..1356
    src/business/views/all.py on lines 1364..1378
    src/business/views/all.py on lines 1394..1406
    src/business/views/all.py on lines 1414..1426
    src/business/views/all.py on lines 1442..1454
    src/business/views/all.py on lines 1462..1474
    src/business/views/all.py on lines 1490..1502
    src/business/views/all.py on lines 1510..1522
    src/business/views/all.py on lines 1538..1550
    src/business/views/all.py on lines 1558..1570
    src/business/views/all.py on lines 1586..1598
    src/business/views/all.py on lines 1606..1618
    src/business/views/all.py on lines 1634..1646
    src/business/views/all.py on lines 1654..1666

    Duplicated Code

    Duplicated code can lead to software that is hard to understand and difficult to change. The Don't Repeat Yourself (DRY) principle states:

    Every piece of knowledge must have a single, unambiguous, authoritative representation within a system.

    When you violate DRY, bugs and maintenance problems are sure to follow. Duplicated code has a tendency to both continue to replicate and also to diverge (leaving bugs as two similar implementations differ in subtle ways).

    Tuning

    This issue has a mass of 103.

    We set useful threshold defaults for the languages we support but you may want to adjust these settings based on your project guidelines.

    The threshold configuration represents the minimum mass a code block must have to be analyzed for duplication. The lower the threshold, the more fine-grained the comparison.

    If the engine is too easily reporting duplication, try raising the threshold. If you suspect that the engine isn't catching enough duplication, try lowering the threshold. The best setting tends to differ from language to language.

    See codeclimate-duplication's documentation for more information about tuning the mass threshold in your .codeclimate.yml.

    Refactorings

    Further Reading

    Similar blocks of code found in 30 locations. Consider refactoring.
    Open

    class bzCreativeRenderingListView(TemplateView):
        template_name = "business/object_list.html"
    
        def get_context_data(self, **kwargs):
            context = super(bzCreativeRenderingListView,
    Severity: Major
    Found in src/business/views/all.py and 29 other locations - About 6 hrs to fix
    src/business/views/all.py on lines 22..32
    src/business/views/all.py on lines 70..83
    src/business/views/all.py on lines 125..138
    src/business/views/all.py on lines 180..193
    src/business/views/all.py on lines 290..300
    src/business/views/all.py on lines 338..351
    src/business/views/all.py on lines 393..405
    src/business/views/all.py on lines 447..460
    src/business/views/all.py on lines 502..515
    src/business/views/all.py on lines 557..570
    src/business/views/all.py on lines 612..625
    src/business/views/all.py on lines 667..678
    src/business/views/all.py on lines 720..733
    src/business/views/all.py on lines 824..834
    src/business/views/all.py on lines 922..932
    src/business/views/all.py on lines 970..983
    src/business/views/all.py on lines 1025..1036
    src/business/views/all.py on lines 1078..1089
    src/business/views/all.py on lines 1131..1142
    src/business/views/all.py on lines 1182..1192
    src/business/views/all.py on lines 1230..1240
    src/business/views/all.py on lines 1278..1288
    src/business/views/all.py on lines 1326..1339
    src/business/views/all.py on lines 1381..1391
    src/business/views/all.py on lines 1429..1439
    src/business/views/all.py on lines 1477..1487
    src/business/views/all.py on lines 1525..1535
    src/business/views/all.py on lines 1573..1583
    src/business/views/all.py on lines 1621..1631

    Duplicated Code

    Duplicated code can lead to software that is hard to understand and difficult to change. The Don't Repeat Yourself (DRY) principle states:

    Every piece of knowledge must have a single, unambiguous, authoritative representation within a system.

    When you violate DRY, bugs and maintenance problems are sure to follow. Duplicated code has a tendency to both continue to replicate and also to diverge (leaving bugs as two similar implementations differ in subtle ways).

    Tuning

    This issue has a mass of 103.

    We set useful threshold defaults for the languages we support but you may want to adjust these settings based on your project guidelines.

    The threshold configuration represents the minimum mass a code block must have to be analyzed for duplication. The lower the threshold, the more fine-grained the comparison.

    If the engine is too easily reporting duplication, try raising the threshold. If you suspect that the engine isn't catching enough duplication, try lowering the threshold. The best setting tends to differ from language to language.

    See codeclimate-duplication's documentation for more information about tuning the mass threshold in your .codeclimate.yml.

    Refactorings

    Further Reading

    Similar blocks of code found in 30 locations. Consider refactoring.
    Open

    class pfCatalogFileTypeListView(TemplateView):
        template_name = "business/object_list.html"
    
        def get_context_data(self, **kwargs):
            context = super(pfCatalogFileTypeListView,
    Severity: Major
    Found in src/business/views/all.py and 29 other locations - About 6 hrs to fix
    src/business/views/all.py on lines 22..32
    src/business/views/all.py on lines 70..83
    src/business/views/all.py on lines 125..138
    src/business/views/all.py on lines 180..193
    src/business/views/all.py on lines 235..248
    src/business/views/all.py on lines 290..300
    src/business/views/all.py on lines 338..351
    src/business/views/all.py on lines 393..405
    src/business/views/all.py on lines 447..460
    src/business/views/all.py on lines 557..570
    src/business/views/all.py on lines 612..625
    src/business/views/all.py on lines 667..678
    src/business/views/all.py on lines 720..733
    src/business/views/all.py on lines 824..834
    src/business/views/all.py on lines 922..932
    src/business/views/all.py on lines 970..983
    src/business/views/all.py on lines 1025..1036
    src/business/views/all.py on lines 1078..1089
    src/business/views/all.py on lines 1131..1142
    src/business/views/all.py on lines 1182..1192
    src/business/views/all.py on lines 1230..1240
    src/business/views/all.py on lines 1278..1288
    src/business/views/all.py on lines 1326..1339
    src/business/views/all.py on lines 1381..1391
    src/business/views/all.py on lines 1429..1439
    src/business/views/all.py on lines 1477..1487
    src/business/views/all.py on lines 1525..1535
    src/business/views/all.py on lines 1573..1583
    src/business/views/all.py on lines 1621..1631

    Duplicated Code

    Duplicated code can lead to software that is hard to understand and difficult to change. The Don't Repeat Yourself (DRY) principle states:

    Every piece of knowledge must have a single, unambiguous, authoritative representation within a system.

    When you violate DRY, bugs and maintenance problems are sure to follow. Duplicated code has a tendency to both continue to replicate and also to diverge (leaving bugs as two similar implementations differ in subtle ways).

    Tuning

    This issue has a mass of 103.

    We set useful threshold defaults for the languages we support but you may want to adjust these settings based on your project guidelines.

    The threshold configuration represents the minimum mass a code block must have to be analyzed for duplication. The lower the threshold, the more fine-grained the comparison.

    If the engine is too easily reporting duplication, try raising the threshold. If you suspect that the engine isn't catching enough duplication, try lowering the threshold. The best setting tends to differ from language to language.

    See codeclimate-duplication's documentation for more information about tuning the mass threshold in your .codeclimate.yml.

    Refactorings

    Further Reading

    Similar blocks of code found in 30 locations. Consider refactoring.
    Open

    class pfSyncItemOptionListView(TemplateView):
        template_name = "business/object_list.html"
    
        def get_context_data(self, **kwargs):
            context = super(pfSyncItemOptionListView,
    Severity: Major
    Found in src/business/views/all.py and 29 other locations - About 6 hrs to fix
    src/business/views/all.py on lines 22..32
    src/business/views/all.py on lines 70..83
    src/business/views/all.py on lines 125..138
    src/business/views/all.py on lines 180..193
    src/business/views/all.py on lines 235..248
    src/business/views/all.py on lines 290..300
    src/business/views/all.py on lines 338..351
    src/business/views/all.py on lines 393..405
    src/business/views/all.py on lines 447..460
    src/business/views/all.py on lines 502..515
    src/business/views/all.py on lines 557..570
    src/business/views/all.py on lines 612..625
    src/business/views/all.py on lines 667..678
    src/business/views/all.py on lines 720..733
    src/business/views/all.py on lines 824..834
    src/business/views/all.py on lines 922..932
    src/business/views/all.py on lines 1025..1036
    src/business/views/all.py on lines 1078..1089
    src/business/views/all.py on lines 1131..1142
    src/business/views/all.py on lines 1182..1192
    src/business/views/all.py on lines 1230..1240
    src/business/views/all.py on lines 1278..1288
    src/business/views/all.py on lines 1326..1339
    src/business/views/all.py on lines 1381..1391
    src/business/views/all.py on lines 1429..1439
    src/business/views/all.py on lines 1477..1487
    src/business/views/all.py on lines 1525..1535
    src/business/views/all.py on lines 1573..1583
    src/business/views/all.py on lines 1621..1631

    Duplicated Code

    Duplicated code can lead to software that is hard to understand and difficult to change. The Don't Repeat Yourself (DRY) principle states:

    Every piece of knowledge must have a single, unambiguous, authoritative representation within a system.

    When you violate DRY, bugs and maintenance problems are sure to follow. Duplicated code has a tendency to both continue to replicate and also to diverge (leaving bugs as two similar implementations differ in subtle ways).

    Tuning

    This issue has a mass of 103.

    We set useful threshold defaults for the languages we support but you may want to adjust these settings based on your project guidelines.

    The threshold configuration represents the minimum mass a code block must have to be analyzed for duplication. The lower the threshold, the more fine-grained the comparison.

    If the engine is too easily reporting duplication, try raising the threshold. If you suspect that the engine isn't catching enough duplication, try lowering the threshold. The best setting tends to differ from language to language.

    See codeclimate-duplication's documentation for more information about tuning the mass threshold in your .codeclimate.yml.

    Refactorings

    Further Reading

    Similar blocks of code found in 30 locations. Consider refactoring.
    Open

    class wooTermListView(TemplateView):
        template_name = "business/object_list.html"
    
        def get_context_data(self, **kwargs):
            context = super(wooTermListView, self).get_context_data(**kwargs)
    Severity: Major
    Found in src/business/views/all.py and 29 other locations - About 6 hrs to fix
    src/business/views/all.py on lines 22..32
    src/business/views/all.py on lines 70..83
    src/business/views/all.py on lines 125..138
    src/business/views/all.py on lines 180..193
    src/business/views/all.py on lines 235..248
    src/business/views/all.py on lines 290..300
    src/business/views/all.py on lines 338..351
    src/business/views/all.py on lines 393..405
    src/business/views/all.py on lines 447..460
    src/business/views/all.py on lines 502..515
    src/business/views/all.py on lines 557..570
    src/business/views/all.py on lines 612..625
    src/business/views/all.py on lines 667..678
    src/business/views/all.py on lines 720..733
    src/business/views/all.py on lines 824..834
    src/business/views/all.py on lines 922..932
    src/business/views/all.py on lines 970..983
    src/business/views/all.py on lines 1025..1036
    src/business/views/all.py on lines 1078..1089
    src/business/views/all.py on lines 1131..1142
    src/business/views/all.py on lines 1182..1192
    src/business/views/all.py on lines 1230..1240
    src/business/views/all.py on lines 1278..1288
    src/business/views/all.py on lines 1326..1339
    src/business/views/all.py on lines 1381..1391
    src/business/views/all.py on lines 1429..1439
    src/business/views/all.py on lines 1525..1535
    src/business/views/all.py on lines 1573..1583
    src/business/views/all.py on lines 1621..1631

    Duplicated Code

    Duplicated code can lead to software that is hard to understand and difficult to change. The Don't Repeat Yourself (DRY) principle states:

    Every piece of knowledge must have a single, unambiguous, authoritative representation within a system.

    When you violate DRY, bugs and maintenance problems are sure to follow. Duplicated code has a tendency to both continue to replicate and also to diverge (leaving bugs as two similar implementations differ in subtle ways).

    Tuning

    This issue has a mass of 103.

    We set useful threshold defaults for the languages we support but you may want to adjust these settings based on your project guidelines.

    The threshold configuration represents the minimum mass a code block must have to be analyzed for duplication. The lower the threshold, the more fine-grained the comparison.

    If the engine is too easily reporting duplication, try raising the threshold. If you suspect that the engine isn't catching enough duplication, try lowering the threshold. The best setting tends to differ from language to language.

    See codeclimate-duplication's documentation for more information about tuning the mass threshold in your .codeclimate.yml.

    Refactorings

    Further Reading

    Similar blocks of code found in 64 locations. Consider refactoring.
    Open

    class pfStoreUpdateView(UpdateView):
        model = pfStore
        form_class = pfStoreForm
        template_name = "business/object_form.html"
    
    
    Severity: Major
    Found in src/business/views/all.py and 63 other locations - About 6 hrs to fix
    src/business/views/all.py on lines 35..47
    src/business/views/all.py on lines 55..67
    src/business/views/all.py on lines 86..100
    src/business/views/all.py on lines 108..122
    src/business/views/all.py on lines 141..155
    src/business/views/all.py on lines 163..177
    src/business/views/all.py on lines 196..210
    src/business/views/all.py on lines 218..232
    src/business/views/all.py on lines 251..265
    src/business/views/all.py on lines 273..287
    src/business/views/all.py on lines 303..315
    src/business/views/all.py on lines 323..335
    src/business/views/all.py on lines 354..368
    src/business/views/all.py on lines 376..390
    src/business/views/all.py on lines 408..422
    src/business/views/all.py on lines 430..444
    src/business/views/all.py on lines 463..477
    src/business/views/all.py on lines 485..499
    src/business/views/all.py on lines 518..532
    src/business/views/all.py on lines 540..554
    src/business/views/all.py on lines 573..587
    src/business/views/all.py on lines 595..609
    src/business/views/all.py on lines 628..642
    src/business/views/all.py on lines 650..664
    src/business/views/all.py on lines 681..695
    src/business/views/all.py on lines 703..717
    src/business/views/all.py on lines 736..750
    src/business/views/all.py on lines 758..772
    src/business/views/all.py on lines 789..801
    src/business/views/all.py on lines 809..821
    src/business/views/all.py on lines 837..849
    src/business/views/all.py on lines 857..869
    src/business/views/all.py on lines 887..899
    src/business/views/all.py on lines 907..919
    src/business/views/all.py on lines 935..947
    src/business/views/all.py on lines 986..1000
    src/business/views/all.py on lines 1008..1022
    src/business/views/all.py on lines 1039..1053
    src/business/views/all.py on lines 1061..1075
    src/business/views/all.py on lines 1092..1106
    src/business/views/all.py on lines 1114..1128
    src/business/views/all.py on lines 1145..1158
    src/business/views/all.py on lines 1166..1179
    src/business/views/all.py on lines 1195..1207
    src/business/views/all.py on lines 1215..1227
    src/business/views/all.py on lines 1243..1255
    src/business/views/all.py on lines 1263..1275
    src/business/views/all.py on lines 1291..1303
    src/business/views/all.py on lines 1311..1323
    src/business/views/all.py on lines 1342..1356
    src/business/views/all.py on lines 1364..1378
    src/business/views/all.py on lines 1394..1406
    src/business/views/all.py on lines 1414..1426
    src/business/views/all.py on lines 1442..1454
    src/business/views/all.py on lines 1462..1474
    src/business/views/all.py on lines 1490..1502
    src/business/views/all.py on lines 1510..1522
    src/business/views/all.py on lines 1538..1550
    src/business/views/all.py on lines 1558..1570
    src/business/views/all.py on lines 1586..1598
    src/business/views/all.py on lines 1606..1618
    src/business/views/all.py on lines 1634..1646
    src/business/views/all.py on lines 1654..1666

    Duplicated Code

    Duplicated code can lead to software that is hard to understand and difficult to change. The Don't Repeat Yourself (DRY) principle states:

    Every piece of knowledge must have a single, unambiguous, authoritative representation within a system.

    When you violate DRY, bugs and maintenance problems are sure to follow. Duplicated code has a tendency to both continue to replicate and also to diverge (leaving bugs as two similar implementations differ in subtle ways).

    Tuning

    This issue has a mass of 103.

    We set useful threshold defaults for the languages we support but you may want to adjust these settings based on your project guidelines.

    The threshold configuration represents the minimum mass a code block must have to be analyzed for duplication. The lower the threshold, the more fine-grained the comparison.

    If the engine is too easily reporting duplication, try raising the threshold. If you suspect that the engine isn't catching enough duplication, try lowering the threshold. The best setting tends to differ from language to language.

    See codeclimate-duplication's documentation for more information about tuning the mass threshold in your .codeclimate.yml.

    Refactorings

    Further Reading

    Similar blocks of code found in 30 locations. Consider refactoring.
    Open

    class pfCatalogColorListView(TemplateView):
        template_name = "business/object_list.html"
    
        def get_context_data(self, **kwargs):
            context = super(pfCatalogColorListView,
    Severity: Major
    Found in src/business/views/all.py and 29 other locations - About 6 hrs to fix
    src/business/views/all.py on lines 22..32
    src/business/views/all.py on lines 70..83
    src/business/views/all.py on lines 125..138
    src/business/views/all.py on lines 180..193
    src/business/views/all.py on lines 235..248
    src/business/views/all.py on lines 290..300
    src/business/views/all.py on lines 338..351
    src/business/views/all.py on lines 447..460
    src/business/views/all.py on lines 502..515
    src/business/views/all.py on lines 557..570
    src/business/views/all.py on lines 612..625
    src/business/views/all.py on lines 667..678
    src/business/views/all.py on lines 720..733
    src/business/views/all.py on lines 824..834
    src/business/views/all.py on lines 922..932
    src/business/views/all.py on lines 970..983
    src/business/views/all.py on lines 1025..1036
    src/business/views/all.py on lines 1078..1089
    src/business/views/all.py on lines 1131..1142
    src/business/views/all.py on lines 1182..1192
    src/business/views/all.py on lines 1230..1240
    src/business/views/all.py on lines 1278..1288
    src/business/views/all.py on lines 1326..1339
    src/business/views/all.py on lines 1381..1391
    src/business/views/all.py on lines 1429..1439
    src/business/views/all.py on lines 1477..1487
    src/business/views/all.py on lines 1525..1535
    src/business/views/all.py on lines 1573..1583
    src/business/views/all.py on lines 1621..1631

    Duplicated Code

    Duplicated code can lead to software that is hard to understand and difficult to change. The Don't Repeat Yourself (DRY) principle states:

    Every piece of knowledge must have a single, unambiguous, authoritative representation within a system.

    When you violate DRY, bugs and maintenance problems are sure to follow. Duplicated code has a tendency to both continue to replicate and also to diverge (leaving bugs as two similar implementations differ in subtle ways).

    Tuning

    This issue has a mass of 103.

    We set useful threshold defaults for the languages we support but you may want to adjust these settings based on your project guidelines.

    The threshold configuration represents the minimum mass a code block must have to be analyzed for duplication. The lower the threshold, the more fine-grained the comparison.

    If the engine is too easily reporting duplication, try raising the threshold. If you suspect that the engine isn't catching enough duplication, try lowering the threshold. The best setting tends to differ from language to language.

    See codeclimate-duplication's documentation for more information about tuning the mass threshold in your .codeclimate.yml.

    Refactorings

    Further Reading

    Similar blocks of code found in 30 locations. Consider refactoring.
    Open

    class pfCatalogOptionTypeListView(TemplateView):
        template_name = "business/object_list.html"
    
        def get_context_data(self, **kwargs):
            context = super(pfCatalogOptionTypeListView,
    Severity: Major
    Found in src/business/views/all.py and 29 other locations - About 6 hrs to fix
    src/business/views/all.py on lines 22..32
    src/business/views/all.py on lines 70..83
    src/business/views/all.py on lines 125..138
    src/business/views/all.py on lines 180..193
    src/business/views/all.py on lines 235..248
    src/business/views/all.py on lines 290..300
    src/business/views/all.py on lines 338..351
    src/business/views/all.py on lines 393..405
    src/business/views/all.py on lines 447..460
    src/business/views/all.py on lines 502..515
    src/business/views/all.py on lines 612..625
    src/business/views/all.py on lines 667..678
    src/business/views/all.py on lines 720..733
    src/business/views/all.py on lines 824..834
    src/business/views/all.py on lines 922..932
    src/business/views/all.py on lines 970..983
    src/business/views/all.py on lines 1025..1036
    src/business/views/all.py on lines 1078..1089
    src/business/views/all.py on lines 1131..1142
    src/business/views/all.py on lines 1182..1192
    src/business/views/all.py on lines 1230..1240
    src/business/views/all.py on lines 1278..1288
    src/business/views/all.py on lines 1326..1339
    src/business/views/all.py on lines 1381..1391
    src/business/views/all.py on lines 1429..1439
    src/business/views/all.py on lines 1477..1487
    src/business/views/all.py on lines 1525..1535
    src/business/views/all.py on lines 1573..1583
    src/business/views/all.py on lines 1621..1631

    Duplicated Code

    Duplicated code can lead to software that is hard to understand and difficult to change. The Don't Repeat Yourself (DRY) principle states:

    Every piece of knowledge must have a single, unambiguous, authoritative representation within a system.

    When you violate DRY, bugs and maintenance problems are sure to follow. Duplicated code has a tendency to both continue to replicate and also to diverge (leaving bugs as two similar implementations differ in subtle ways).

    Tuning

    This issue has a mass of 103.

    We set useful threshold defaults for the languages we support but you may want to adjust these settings based on your project guidelines.

    The threshold configuration represents the minimum mass a code block must have to be analyzed for duplication. The lower the threshold, the more fine-grained the comparison.

    If the engine is too easily reporting duplication, try raising the threshold. If you suspect that the engine isn't catching enough duplication, try lowering the threshold. The best setting tends to differ from language to language.

    See codeclimate-duplication's documentation for more information about tuning the mass threshold in your .codeclimate.yml.

    Refactorings

    Further Reading

    Similar blocks of code found in 30 locations. Consider refactoring.
    Open

    class pfCatalogVariantListView(TemplateView):
        template_name = "business/object_list.html"
    
        def get_context_data(self, **kwargs):
            context = super(pfCatalogVariantListView,
    Severity: Major
    Found in src/business/views/all.py and 29 other locations - About 6 hrs to fix
    src/business/views/all.py on lines 22..32
    src/business/views/all.py on lines 70..83
    src/business/views/all.py on lines 125..138
    src/business/views/all.py on lines 180..193
    src/business/views/all.py on lines 235..248
    src/business/views/all.py on lines 290..300
    src/business/views/all.py on lines 338..351
    src/business/views/all.py on lines 393..405
    src/business/views/all.py on lines 447..460
    src/business/views/all.py on lines 502..515
    src/business/views/all.py on lines 557..570
    src/business/views/all.py on lines 612..625
    src/business/views/all.py on lines 667..678
    src/business/views/all.py on lines 824..834
    src/business/views/all.py on lines 922..932
    src/business/views/all.py on lines 970..983
    src/business/views/all.py on lines 1025..1036
    src/business/views/all.py on lines 1078..1089
    src/business/views/all.py on lines 1131..1142
    src/business/views/all.py on lines 1182..1192
    src/business/views/all.py on lines 1230..1240
    src/business/views/all.py on lines 1278..1288
    src/business/views/all.py on lines 1326..1339
    src/business/views/all.py on lines 1381..1391
    src/business/views/all.py on lines 1429..1439
    src/business/views/all.py on lines 1477..1487
    src/business/views/all.py on lines 1525..1535
    src/business/views/all.py on lines 1573..1583
    src/business/views/all.py on lines 1621..1631

    Duplicated Code

    Duplicated code can lead to software that is hard to understand and difficult to change. The Don't Repeat Yourself (DRY) principle states:

    Every piece of knowledge must have a single, unambiguous, authoritative representation within a system.

    When you violate DRY, bugs and maintenance problems are sure to follow. Duplicated code has a tendency to both continue to replicate and also to diverge (leaving bugs as two similar implementations differ in subtle ways).

    Tuning

    This issue has a mass of 103.

    We set useful threshold defaults for the languages we support but you may want to adjust these settings based on your project guidelines.

    The threshold configuration represents the minimum mass a code block must have to be analyzed for duplication. The lower the threshold, the more fine-grained the comparison.

    If the engine is too easily reporting duplication, try raising the threshold. If you suspect that the engine isn't catching enough duplication, try lowering the threshold. The best setting tends to differ from language to language.

    See codeclimate-duplication's documentation for more information about tuning the mass threshold in your .codeclimate.yml.

    Refactorings

    Further Reading

    Similar blocks of code found in 30 locations. Consider refactoring.
    Open

    class wooAttributeListView(TemplateView):
        template_name = "business/object_list.html"
    
        def get_context_data(self, **kwargs):
            context = super(wooAttributeListView, self).get_context_data(**kwargs)
    Severity: Major
    Found in src/business/views/all.py and 29 other locations - About 6 hrs to fix
    src/business/views/all.py on lines 22..32
    src/business/views/all.py on lines 70..83
    src/business/views/all.py on lines 125..138
    src/business/views/all.py on lines 180..193
    src/business/views/all.py on lines 235..248
    src/business/views/all.py on lines 290..300
    src/business/views/all.py on lines 338..351
    src/business/views/all.py on lines 393..405
    src/business/views/all.py on lines 447..460
    src/business/views/all.py on lines 502..515
    src/business/views/all.py on lines 557..570
    src/business/views/all.py on lines 612..625
    src/business/views/all.py on lines 667..678
    src/business/views/all.py on lines 720..733
    src/business/views/all.py on lines 824..834
    src/business/views/all.py on lines 922..932
    src/business/views/all.py on lines 970..983
    src/business/views/all.py on lines 1025..1036
    src/business/views/all.py on lines 1078..1089
    src/business/views/all.py on lines 1182..1192
    src/business/views/all.py on lines 1230..1240
    src/business/views/all.py on lines 1278..1288
    src/business/views/all.py on lines 1326..1339
    src/business/views/all.py on lines 1381..1391
    src/business/views/all.py on lines 1429..1439
    src/business/views/all.py on lines 1477..1487
    src/business/views/all.py on lines 1525..1535
    src/business/views/all.py on lines 1573..1583
    src/business/views/all.py on lines 1621..1631

    Duplicated Code

    Duplicated code can lead to software that is hard to understand and difficult to change. The Don't Repeat Yourself (DRY) principle states:

    Every piece of knowledge must have a single, unambiguous, authoritative representation within a system.

    When you violate DRY, bugs and maintenance problems are sure to follow. Duplicated code has a tendency to both continue to replicate and also to diverge (leaving bugs as two similar implementations differ in subtle ways).

    Tuning

    This issue has a mass of 103.

    We set useful threshold defaults for the languages we support but you may want to adjust these settings based on your project guidelines.

    The threshold configuration represents the minimum mass a code block must have to be analyzed for duplication. The lower the threshold, the more fine-grained the comparison.

    If the engine is too easily reporting duplication, try raising the threshold. If you suspect that the engine isn't catching enough duplication, try lowering the threshold. The best setting tends to differ from language to language.

    See codeclimate-duplication's documentation for more information about tuning the mass threshold in your .codeclimate.yml.

    Refactorings

    Further Reading

    Similar blocks of code found in 64 locations. Consider refactoring.
    Open

    class bzProductVariantUpdateView(UpdateView):
        model = bzProductVariant
        form_class = bzProductVariantForm
        template_name = "business/object_form.html"
    
    
    Severity: Major
    Found in src/business/views/all.py and 63 other locations - About 6 hrs to fix
    src/business/views/all.py on lines 35..47
    src/business/views/all.py on lines 55..67
    src/business/views/all.py on lines 86..100
    src/business/views/all.py on lines 108..122
    src/business/views/all.py on lines 141..155
    src/business/views/all.py on lines 163..177
    src/business/views/all.py on lines 196..210
    src/business/views/all.py on lines 218..232
    src/business/views/all.py on lines 251..265
    src/business/views/all.py on lines 273..287
    src/business/views/all.py on lines 303..315
    src/business/views/all.py on lines 323..335
    src/business/views/all.py on lines 354..368
    src/business/views/all.py on lines 408..422
    src/business/views/all.py on lines 430..444
    src/business/views/all.py on lines 463..477
    src/business/views/all.py on lines 485..499
    src/business/views/all.py on lines 518..532
    src/business/views/all.py on lines 540..554
    src/business/views/all.py on lines 573..587
    src/business/views/all.py on lines 595..609
    src/business/views/all.py on lines 628..642
    src/business/views/all.py on lines 650..664
    src/business/views/all.py on lines 681..695
    src/business/views/all.py on lines 703..717
    src/business/views/all.py on lines 736..750
    src/business/views/all.py on lines 758..772
    src/business/views/all.py on lines 789..801
    src/business/views/all.py on lines 809..821
    src/business/views/all.py on lines 837..849
    src/business/views/all.py on lines 857..869
    src/business/views/all.py on lines 887..899
    src/business/views/all.py on lines 907..919
    src/business/views/all.py on lines 935..947
    src/business/views/all.py on lines 955..967
    src/business/views/all.py on lines 986..1000
    src/business/views/all.py on lines 1008..1022
    src/business/views/all.py on lines 1039..1053
    src/business/views/all.py on lines 1061..1075
    src/business/views/all.py on lines 1092..1106
    src/business/views/all.py on lines 1114..1128
    src/business/views/all.py on lines 1145..1158
    src/business/views/all.py on lines 1166..1179
    src/business/views/all.py on lines 1195..1207
    src/business/views/all.py on lines 1215..1227
    src/business/views/all.py on lines 1243..1255
    src/business/views/all.py on lines 1263..1275
    src/business/views/all.py on lines 1291..1303
    src/business/views/all.py on lines 1311..1323
    src/business/views/all.py on lines 1342..1356
    src/business/views/all.py on lines 1364..1378
    src/business/views/all.py on lines 1394..1406
    src/business/views/all.py on lines 1414..1426
    src/business/views/all.py on lines 1442..1454
    src/business/views/all.py on lines 1462..1474
    src/business/views/all.py on lines 1490..1502
    src/business/views/all.py on lines 1510..1522
    src/business/views/all.py on lines 1538..1550
    src/business/views/all.py on lines 1558..1570
    src/business/views/all.py on lines 1586..1598
    src/business/views/all.py on lines 1606..1618
    src/business/views/all.py on lines 1634..1646
    src/business/views/all.py on lines 1654..1666

    Duplicated Code

    Duplicated code can lead to software that is hard to understand and difficult to change. The Don't Repeat Yourself (DRY) principle states:

    Every piece of knowledge must have a single, unambiguous, authoritative representation within a system.

    When you violate DRY, bugs and maintenance problems are sure to follow. Duplicated code has a tendency to both continue to replicate and also to diverge (leaving bugs as two similar implementations differ in subtle ways).

    Tuning

    This issue has a mass of 103.

    We set useful threshold defaults for the languages we support but you may want to adjust these settings based on your project guidelines.

    The threshold configuration represents the minimum mass a code block must have to be analyzed for duplication. The lower the threshold, the more fine-grained the comparison.

    If the engine is too easily reporting duplication, try raising the threshold. If you suspect that the engine isn't catching enough duplication, try lowering the threshold. The best setting tends to differ from language to language.

    See codeclimate-duplication's documentation for more information about tuning the mass threshold in your .codeclimate.yml.

    Refactorings

    Further Reading

    Similar blocks of code found in 64 locations. Consider refactoring.
    Open

    class pfCatalogVariantUpdateView(UpdateView):
        model = pfCatalogVariant
        form_class = pfCatalogVariantForm
        template_name = "business/object_form.html"
    
    
    Severity: Major
    Found in src/business/views/all.py and 63 other locations - About 6 hrs to fix
    src/business/views/all.py on lines 35..47
    src/business/views/all.py on lines 55..67
    src/business/views/all.py on lines 86..100
    src/business/views/all.py on lines 108..122
    src/business/views/all.py on lines 141..155
    src/business/views/all.py on lines 163..177
    src/business/views/all.py on lines 196..210
    src/business/views/all.py on lines 218..232
    src/business/views/all.py on lines 251..265
    src/business/views/all.py on lines 273..287
    src/business/views/all.py on lines 303..315
    src/business/views/all.py on lines 323..335
    src/business/views/all.py on lines 354..368
    src/business/views/all.py on lines 376..390
    src/business/views/all.py on lines 408..422
    src/business/views/all.py on lines 430..444
    src/business/views/all.py on lines 463..477
    src/business/views/all.py on lines 485..499
    src/business/views/all.py on lines 518..532
    src/business/views/all.py on lines 540..554
    src/business/views/all.py on lines 573..587
    src/business/views/all.py on lines 595..609
    src/business/views/all.py on lines 628..642
    src/business/views/all.py on lines 650..664
    src/business/views/all.py on lines 681..695
    src/business/views/all.py on lines 703..717
    src/business/views/all.py on lines 736..750
    src/business/views/all.py on lines 789..801
    src/business/views/all.py on lines 809..821
    src/business/views/all.py on lines 837..849
    src/business/views/all.py on lines 857..869
    src/business/views/all.py on lines 887..899
    src/business/views/all.py on lines 907..919
    src/business/views/all.py on lines 935..947
    src/business/views/all.py on lines 955..967
    src/business/views/all.py on lines 986..1000
    src/business/views/all.py on lines 1008..1022
    src/business/views/all.py on lines 1039..1053
    src/business/views/all.py on lines 1061..1075
    src/business/views/all.py on lines 1092..1106
    src/business/views/all.py on lines 1114..1128
    src/business/views/all.py on lines 1145..1158
    src/business/views/all.py on lines 1166..1179
    src/business/views/all.py on lines 1195..1207
    src/business/views/all.py on lines 1215..1227
    src/business/views/all.py on lines 1243..1255
    src/business/views/all.py on lines 1263..1275
    src/business/views/all.py on lines 1291..1303
    src/business/views/all.py on lines 1311..1323
    src/business/views/all.py on lines 1342..1356
    src/business/views/all.py on lines 1364..1378
    src/business/views/all.py on lines 1394..1406
    src/business/views/all.py on lines 1414..1426
    src/business/views/all.py on lines 1442..1454
    src/business/views/all.py on lines 1462..1474
    src/business/views/all.py on lines 1490..1502
    src/business/views/all.py on lines 1510..1522
    src/business/views/all.py on lines 1538..1550
    src/business/views/all.py on lines 1558..1570
    src/business/views/all.py on lines 1586..1598
    src/business/views/all.py on lines 1606..1618
    src/business/views/all.py on lines 1634..1646
    src/business/views/all.py on lines 1654..1666

    Duplicated Code

    Duplicated code can lead to software that is hard to understand and difficult to change. The Don't Repeat Yourself (DRY) principle states:

    Every piece of knowledge must have a single, unambiguous, authoritative representation within a system.

    When you violate DRY, bugs and maintenance problems are sure to follow. Duplicated code has a tendency to both continue to replicate and also to diverge (leaving bugs as two similar implementations differ in subtle ways).

    Tuning

    This issue has a mass of 103.

    We set useful threshold defaults for the languages we support but you may want to adjust these settings based on your project guidelines.

    The threshold configuration represents the minimum mass a code block must have to be analyzed for duplication. The lower the threshold, the more fine-grained the comparison.

    If the engine is too easily reporting duplication, try raising the threshold. If you suspect that the engine isn't catching enough duplication, try lowering the threshold. The best setting tends to differ from language to language.

    See codeclimate-duplication's documentation for more information about tuning the mass threshold in your .codeclimate.yml.

    Refactorings

    Further Reading

    Similar blocks of code found in 64 locations. Consider refactoring.
    Open

    class pfStateCreateView(CreateView):
        model = pfState
        form_class = pfStateForm
        template_name = "business/object_form.html"
    
    
    Severity: Major
    Found in src/business/views/all.py and 63 other locations - About 6 hrs to fix
    src/business/views/all.py on lines 35..47
    src/business/views/all.py on lines 55..67
    src/business/views/all.py on lines 86..100
    src/business/views/all.py on lines 108..122
    src/business/views/all.py on lines 141..155
    src/business/views/all.py on lines 163..177
    src/business/views/all.py on lines 196..210
    src/business/views/all.py on lines 218..232
    src/business/views/all.py on lines 251..265
    src/business/views/all.py on lines 273..287
    src/business/views/all.py on lines 303..315
    src/business/views/all.py on lines 323..335
    src/business/views/all.py on lines 354..368
    src/business/views/all.py on lines 376..390
    src/business/views/all.py on lines 408..422
    src/business/views/all.py on lines 430..444
    src/business/views/all.py on lines 463..477
    src/business/views/all.py on lines 485..499
    src/business/views/all.py on lines 518..532
    src/business/views/all.py on lines 540..554
    src/business/views/all.py on lines 573..587
    src/business/views/all.py on lines 595..609
    src/business/views/all.py on lines 628..642
    src/business/views/all.py on lines 650..664
    src/business/views/all.py on lines 681..695
    src/business/views/all.py on lines 703..717
    src/business/views/all.py on lines 736..750
    src/business/views/all.py on lines 758..772
    src/business/views/all.py on lines 789..801
    src/business/views/all.py on lines 809..821
    src/business/views/all.py on lines 837..849
    src/business/views/all.py on lines 857..869
    src/business/views/all.py on lines 907..919
    src/business/views/all.py on lines 935..947
    src/business/views/all.py on lines 955..967
    src/business/views/all.py on lines 986..1000
    src/business/views/all.py on lines 1008..1022
    src/business/views/all.py on lines 1039..1053
    src/business/views/all.py on lines 1061..1075
    src/business/views/all.py on lines 1092..1106
    src/business/views/all.py on lines 1114..1128
    src/business/views/all.py on lines 1145..1158
    src/business/views/all.py on lines 1166..1179
    src/business/views/all.py on lines 1195..1207
    src/business/views/all.py on lines 1215..1227
    src/business/views/all.py on lines 1243..1255
    src/business/views/all.py on lines 1263..1275
    src/business/views/all.py on lines 1291..1303
    src/business/views/all.py on lines 1311..1323
    src/business/views/all.py on lines 1342..1356
    src/business/views/all.py on lines 1364..1378
    src/business/views/all.py on lines 1394..1406
    src/business/views/all.py on lines 1414..1426
    src/business/views/all.py on lines 1442..1454
    src/business/views/all.py on lines 1462..1474
    src/business/views/all.py on lines 1490..1502
    src/business/views/all.py on lines 1510..1522
    src/business/views/all.py on lines 1538..1550
    src/business/views/all.py on lines 1558..1570
    src/business/views/all.py on lines 1586..1598
    src/business/views/all.py on lines 1606..1618
    src/business/views/all.py on lines 1634..1646
    src/business/views/all.py on lines 1654..1666

    Duplicated Code

    Duplicated code can lead to software that is hard to understand and difficult to change. The Don't Repeat Yourself (DRY) principle states:

    Every piece of knowledge must have a single, unambiguous, authoritative representation within a system.

    When you violate DRY, bugs and maintenance problems are sure to follow. Duplicated code has a tendency to both continue to replicate and also to diverge (leaving bugs as two similar implementations differ in subtle ways).

    Tuning

    This issue has a mass of 103.

    We set useful threshold defaults for the languages we support but you may want to adjust these settings based on your project guidelines.

    The threshold configuration represents the minimum mass a code block must have to be analyzed for duplication. The lower the threshold, the more fine-grained the comparison.

    If the engine is too easily reporting duplication, try raising the threshold. If you suspect that the engine isn't catching enough duplication, try lowering the threshold. The best setting tends to differ from language to language.

    See codeclimate-duplication's documentation for more information about tuning the mass threshold in your .codeclimate.yml.

    Refactorings

    Further Reading

    Similar blocks of code found in 64 locations. Consider refactoring.
    Open

    class wooTagUpdateView(UpdateView):
        model = wooTag
        form_class = wooTagForm
        template_name = "business/object_form.html"
    
    
    Severity: Major
    Found in src/business/views/all.py and 63 other locations - About 6 hrs to fix
    src/business/views/all.py on lines 35..47
    src/business/views/all.py on lines 55..67
    src/business/views/all.py on lines 86..100
    src/business/views/all.py on lines 108..122
    src/business/views/all.py on lines 141..155
    src/business/views/all.py on lines 163..177
    src/business/views/all.py on lines 196..210
    src/business/views/all.py on lines 218..232
    src/business/views/all.py on lines 251..265
    src/business/views/all.py on lines 273..287
    src/business/views/all.py on lines 303..315
    src/business/views/all.py on lines 323..335
    src/business/views/all.py on lines 354..368
    src/business/views/all.py on lines 376..390
    src/business/views/all.py on lines 408..422
    src/business/views/all.py on lines 430..444
    src/business/views/all.py on lines 463..477
    src/business/views/all.py on lines 485..499
    src/business/views/all.py on lines 518..532
    src/business/views/all.py on lines 540..554
    src/business/views/all.py on lines 573..587
    src/business/views/all.py on lines 595..609
    src/business/views/all.py on lines 628..642
    src/business/views/all.py on lines 650..664
    src/business/views/all.py on lines 681..695
    src/business/views/all.py on lines 703..717
    src/business/views/all.py on lines 736..750
    src/business/views/all.py on lines 758..772
    src/business/views/all.py on lines 789..801
    src/business/views/all.py on lines 809..821
    src/business/views/all.py on lines 837..849
    src/business/views/all.py on lines 857..869
    src/business/views/all.py on lines 887..899
    src/business/views/all.py on lines 907..919
    src/business/views/all.py on lines 935..947
    src/business/views/all.py on lines 955..967
    src/business/views/all.py on lines 986..1000
    src/business/views/all.py on lines 1008..1022
    src/business/views/all.py on lines 1039..1053
    src/business/views/all.py on lines 1061..1075
    src/business/views/all.py on lines 1092..1106
    src/business/views/all.py on lines 1114..1128
    src/business/views/all.py on lines 1145..1158
    src/business/views/all.py on lines 1166..1179
    src/business/views/all.py on lines 1195..1207
    src/business/views/all.py on lines 1215..1227
    src/business/views/all.py on lines 1243..1255
    src/business/views/all.py on lines 1263..1275
    src/business/views/all.py on lines 1291..1303
    src/business/views/all.py on lines 1311..1323
    src/business/views/all.py on lines 1342..1356
    src/business/views/all.py on lines 1364..1378
    src/business/views/all.py on lines 1394..1406
    src/business/views/all.py on lines 1414..1426
    src/business/views/all.py on lines 1442..1454
    src/business/views/all.py on lines 1490..1502
    src/business/views/all.py on lines 1510..1522
    src/business/views/all.py on lines 1538..1550
    src/business/views/all.py on lines 1558..1570
    src/business/views/all.py on lines 1586..1598
    src/business/views/all.py on lines 1606..1618
    src/business/views/all.py on lines 1634..1646
    src/business/views/all.py on lines 1654..1666

    Duplicated Code

    Duplicated code can lead to software that is hard to understand and difficult to change. The Don't Repeat Yourself (DRY) principle states:

    Every piece of knowledge must have a single, unambiguous, authoritative representation within a system.

    When you violate DRY, bugs and maintenance problems are sure to follow. Duplicated code has a tendency to both continue to replicate and also to diverge (leaving bugs as two similar implementations differ in subtle ways).

    Tuning

    This issue has a mass of 103.

    We set useful threshold defaults for the languages we support but you may want to adjust these settings based on your project guidelines.

    The threshold configuration represents the minimum mass a code block must have to be analyzed for duplication. The lower the threshold, the more fine-grained the comparison.

    If the engine is too easily reporting duplication, try raising the threshold. If you suspect that the engine isn't catching enough duplication, try lowering the threshold. The best setting tends to differ from language to language.

    See codeclimate-duplication's documentation for more information about tuning the mass threshold in your .codeclimate.yml.

    Refactorings

    Further Reading

    Similar blocks of code found in 64 locations. Consider refactoring.
    Open

    class wooTermUpdateView(UpdateView):
        model = wooTerm
        form_class = wooTermForm
        template_name = "business/object_form.html"
    
    
    Severity: Major
    Found in src/business/views/all.py and 63 other locations - About 6 hrs to fix
    src/business/views/all.py on lines 35..47
    src/business/views/all.py on lines 55..67
    src/business/views/all.py on lines 86..100
    src/business/views/all.py on lines 108..122
    src/business/views/all.py on lines 141..155
    src/business/views/all.py on lines 163..177
    src/business/views/all.py on lines 196..210
    src/business/views/all.py on lines 218..232
    src/business/views/all.py on lines 251..265
    src/business/views/all.py on lines 273..287
    src/business/views/all.py on lines 303..315
    src/business/views/all.py on lines 323..335
    src/business/views/all.py on lines 354..368
    src/business/views/all.py on lines 376..390
    src/business/views/all.py on lines 408..422
    src/business/views/all.py on lines 430..444
    src/business/views/all.py on lines 463..477
    src/business/views/all.py on lines 485..499
    src/business/views/all.py on lines 518..532
    src/business/views/all.py on lines 540..554
    src/business/views/all.py on lines 573..587
    src/business/views/all.py on lines 595..609
    src/business/views/all.py on lines 628..642
    src/business/views/all.py on lines 650..664
    src/business/views/all.py on lines 681..695
    src/business/views/all.py on lines 703..717
    src/business/views/all.py on lines 736..750
    src/business/views/all.py on lines 758..772
    src/business/views/all.py on lines 789..801
    src/business/views/all.py on lines 809..821
    src/business/views/all.py on lines 837..849
    src/business/views/all.py on lines 857..869
    src/business/views/all.py on lines 887..899
    src/business/views/all.py on lines 907..919
    src/business/views/all.py on lines 935..947
    src/business/views/all.py on lines 955..967
    src/business/views/all.py on lines 986..1000
    src/business/views/all.py on lines 1008..1022
    src/business/views/all.py on lines 1039..1053
    src/business/views/all.py on lines 1061..1075
    src/business/views/all.py on lines 1092..1106
    src/business/views/all.py on lines 1114..1128
    src/business/views/all.py on lines 1145..1158
    src/business/views/all.py on lines 1166..1179
    src/business/views/all.py on lines 1195..1207
    src/business/views/all.py on lines 1215..1227
    src/business/views/all.py on lines 1243..1255
    src/business/views/all.py on lines 1263..1275
    src/business/views/all.py on lines 1291..1303
    src/business/views/all.py on lines 1311..1323
    src/business/views/all.py on lines 1342..1356
    src/business/views/all.py on lines 1364..1378
    src/business/views/all.py on lines 1394..1406
    src/business/views/all.py on lines 1414..1426
    src/business/views/all.py on lines 1442..1454
    src/business/views/all.py on lines 1462..1474
    src/business/views/all.py on lines 1490..1502
    src/business/views/all.py on lines 1538..1550
    src/business/views/all.py on lines 1558..1570
    src/business/views/all.py on lines 1586..1598
    src/business/views/all.py on lines 1606..1618
    src/business/views/all.py on lines 1634..1646
    src/business/views/all.py on lines 1654..1666

    Duplicated Code

    Duplicated code can lead to software that is hard to understand and difficult to change. The Don't Repeat Yourself (DRY) principle states:

    Every piece of knowledge must have a single, unambiguous, authoritative representation within a system.

    When you violate DRY, bugs and maintenance problems are sure to follow. Duplicated code has a tendency to both continue to replicate and also to diverge (leaving bugs as two similar implementations differ in subtle ways).

    Tuning

    This issue has a mass of 103.

    We set useful threshold defaults for the languages we support but you may want to adjust these settings based on your project guidelines.

    The threshold configuration represents the minimum mass a code block must have to be analyzed for duplication. The lower the threshold, the more fine-grained the comparison.

    If the engine is too easily reporting duplication, try raising the threshold. If you suspect that the engine isn't catching enough duplication, try lowering the threshold. The best setting tends to differ from language to language.

    See codeclimate-duplication's documentation for more information about tuning the mass threshold in your .codeclimate.yml.

    Refactorings

    Further Reading

    Similar blocks of code found in 64 locations. Consider refactoring.
    Open

    class bzProductVariantCreateView(CreateView):
        model = bzProductVariant
        form_class = bzProductVariantForm
        template_name = "business/object_form.html"
    
    
    Severity: Major
    Found in src/business/views/all.py and 63 other locations - About 6 hrs to fix
    src/business/views/all.py on lines 35..47
    src/business/views/all.py on lines 55..67
    src/business/views/all.py on lines 86..100
    src/business/views/all.py on lines 108..122
    src/business/views/all.py on lines 141..155
    src/business/views/all.py on lines 163..177
    src/business/views/all.py on lines 196..210
    src/business/views/all.py on lines 218..232
    src/business/views/all.py on lines 251..265
    src/business/views/all.py on lines 273..287
    src/business/views/all.py on lines 303..315
    src/business/views/all.py on lines 323..335
    src/business/views/all.py on lines 376..390
    src/business/views/all.py on lines 408..422
    src/business/views/all.py on lines 430..444
    src/business/views/all.py on lines 463..477
    src/business/views/all.py on lines 485..499
    src/business/views/all.py on lines 518..532
    src/business/views/all.py on lines 540..554
    src/business/views/all.py on lines 573..587
    src/business/views/all.py on lines 595..609
    src/business/views/all.py on lines 628..642
    src/business/views/all.py on lines 650..664
    src/business/views/all.py on lines 681..695
    src/business/views/all.py on lines 703..717
    src/business/views/all.py on lines 736..750
    src/business/views/all.py on lines 758..772
    src/business/views/all.py on lines 789..801
    src/business/views/all.py on lines 809..821
    src/business/views/all.py on lines 837..849
    src/business/views/all.py on lines 857..869
    src/business/views/all.py on lines 887..899
    src/business/views/all.py on lines 907..919
    src/business/views/all.py on lines 935..947
    src/business/views/all.py on lines 955..967
    src/business/views/all.py on lines 986..1000
    src/business/views/all.py on lines 1008..1022
    src/business/views/all.py on lines 1039..1053
    src/business/views/all.py on lines 1061..1075
    src/business/views/all.py on lines 1092..1106
    src/business/views/all.py on lines 1114..1128
    src/business/views/all.py on lines 1145..1158
    src/business/views/all.py on lines 1166..1179
    src/business/views/all.py on lines 1195..1207
    src/business/views/all.py on lines 1215..1227
    src/business/views/all.py on lines 1243..1255
    src/business/views/all.py on lines 1263..1275
    src/business/views/all.py on lines 1291..1303
    src/business/views/all.py on lines 1311..1323
    src/business/views/all.py on lines 1342..1356
    src/business/views/all.py on lines 1364..1378
    src/business/views/all.py on lines 1394..1406
    src/business/views/all.py on lines 1414..1426
    src/business/views/all.py on lines 1442..1454
    src/business/views/all.py on lines 1462..1474
    src/business/views/all.py on lines 1490..1502
    src/business/views/all.py on lines 1510..1522
    src/business/views/all.py on lines 1538..1550
    src/business/views/all.py on lines 1558..1570
    src/business/views/all.py on lines 1586..1598
    src/business/views/all.py on lines 1606..1618
    src/business/views/all.py on lines 1634..1646
    src/business/views/all.py on lines 1654..1666

    Duplicated Code

    Duplicated code can lead to software that is hard to understand and difficult to change. The Don't Repeat Yourself (DRY) principle states:

    Every piece of knowledge must have a single, unambiguous, authoritative representation within a system.

    When you violate DRY, bugs and maintenance problems are sure to follow. Duplicated code has a tendency to both continue to replicate and also to diverge (leaving bugs as two similar implementations differ in subtle ways).

    Tuning

    This issue has a mass of 103.

    We set useful threshold defaults for the languages we support but you may want to adjust these settings based on your project guidelines.

    The threshold configuration represents the minimum mass a code block must have to be analyzed for duplication. The lower the threshold, the more fine-grained the comparison.

    If the engine is too easily reporting duplication, try raising the threshold. If you suspect that the engine isn't catching enough duplication, try lowering the threshold. The best setting tends to differ from language to language.

    See codeclimate-duplication's documentation for more information about tuning the mass threshold in your .codeclimate.yml.

    Refactorings

    Further Reading

    Similar blocks of code found in 64 locations. Consider refactoring.
    Open

    class pfStoreCreateView(CreateView):
        model = pfStore
        form_class = pfStoreForm
        template_name = "business/object_form.html"
    
    
    Severity: Major
    Found in src/business/views/all.py and 63 other locations - About 6 hrs to fix
    src/business/views/all.py on lines 35..47
    src/business/views/all.py on lines 55..67
    src/business/views/all.py on lines 86..100
    src/business/views/all.py on lines 108..122
    src/business/views/all.py on lines 141..155
    src/business/views/all.py on lines 163..177
    src/business/views/all.py on lines 196..210
    src/business/views/all.py on lines 218..232
    src/business/views/all.py on lines 251..265
    src/business/views/all.py on lines 273..287
    src/business/views/all.py on lines 303..315
    src/business/views/all.py on lines 323..335
    src/business/views/all.py on lines 354..368
    src/business/views/all.py on lines 376..390
    src/business/views/all.py on lines 408..422
    src/business/views/all.py on lines 430..444
    src/business/views/all.py on lines 463..477
    src/business/views/all.py on lines 485..499
    src/business/views/all.py on lines 518..532
    src/business/views/all.py on lines 540..554
    src/business/views/all.py on lines 573..587
    src/business/views/all.py on lines 595..609
    src/business/views/all.py on lines 628..642
    src/business/views/all.py on lines 650..664
    src/business/views/all.py on lines 681..695
    src/business/views/all.py on lines 703..717
    src/business/views/all.py on lines 736..750
    src/business/views/all.py on lines 758..772
    src/business/views/all.py on lines 789..801
    src/business/views/all.py on lines 809..821
    src/business/views/all.py on lines 837..849
    src/business/views/all.py on lines 857..869
    src/business/views/all.py on lines 887..899
    src/business/views/all.py on lines 907..919
    src/business/views/all.py on lines 955..967
    src/business/views/all.py on lines 986..1000
    src/business/views/all.py on lines 1008..1022
    src/business/views/all.py on lines 1039..1053
    src/business/views/all.py on lines 1061..1075
    src/business/views/all.py on lines 1092..1106
    src/business/views/all.py on lines 1114..1128
    src/business/views/all.py on lines 1145..1158
    src/business/views/all.py on lines 1166..1179
    src/business/views/all.py on lines 1195..1207
    src/business/views/all.py on lines 1215..1227
    src/business/views/all.py on lines 1243..1255
    src/business/views/all.py on lines 1263..1275
    src/business/views/all.py on lines 1291..1303
    src/business/views/all.py on lines 1311..1323
    src/business/views/all.py on lines 1342..1356
    src/business/views/all.py on lines 1364..1378
    src/business/views/all.py on lines 1394..1406
    src/business/views/all.py on lines 1414..1426
    src/business/views/all.py on lines 1442..1454
    src/business/views/all.py on lines 1462..1474
    src/business/views/all.py on lines 1490..1502
    src/business/views/all.py on lines 1510..1522
    src/business/views/all.py on lines 1538..1550
    src/business/views/all.py on lines 1558..1570
    src/business/views/all.py on lines 1586..1598
    src/business/views/all.py on lines 1606..1618
    src/business/views/all.py on lines 1634..1646
    src/business/views/all.py on lines 1654..1666

    Duplicated Code

    Duplicated code can lead to software that is hard to understand and difficult to change. The Don't Repeat Yourself (DRY) principle states:

    Every piece of knowledge must have a single, unambiguous, authoritative representation within a system.

    When you violate DRY, bugs and maintenance problems are sure to follow. Duplicated code has a tendency to both continue to replicate and also to diverge (leaving bugs as two similar implementations differ in subtle ways).

    Tuning

    This issue has a mass of 103.

    We set useful threshold defaults for the languages we support but you may want to adjust these settings based on your project guidelines.

    The threshold configuration represents the minimum mass a code block must have to be analyzed for duplication. The lower the threshold, the more fine-grained the comparison.

    If the engine is too easily reporting duplication, try raising the threshold. If you suspect that the engine isn't catching enough duplication, try lowering the threshold. The best setting tends to differ from language to language.

    See codeclimate-duplication's documentation for more information about tuning the mass threshold in your .codeclimate.yml.

    Refactorings

    Further Reading

    Similar blocks of code found in 64 locations. Consider refactoring.
    Open

    class pfSyncVariantUpdateView(UpdateView):
        model = pfSyncVariant
        form_class = pfSyncVariantForm
        template_name = "business/object_form.html"
    
    
    Severity: Major
    Found in src/business/views/all.py and 63 other locations - About 6 hrs to fix
    src/business/views/all.py on lines 35..47
    src/business/views/all.py on lines 55..67
    src/business/views/all.py on lines 86..100
    src/business/views/all.py on lines 108..122
    src/business/views/all.py on lines 141..155
    src/business/views/all.py on lines 163..177
    src/business/views/all.py on lines 196..210
    src/business/views/all.py on lines 218..232
    src/business/views/all.py on lines 251..265
    src/business/views/all.py on lines 273..287
    src/business/views/all.py on lines 303..315
    src/business/views/all.py on lines 323..335
    src/business/views/all.py on lines 354..368
    src/business/views/all.py on lines 376..390
    src/business/views/all.py on lines 408..422
    src/business/views/all.py on lines 430..444
    src/business/views/all.py on lines 463..477
    src/business/views/all.py on lines 485..499
    src/business/views/all.py on lines 518..532
    src/business/views/all.py on lines 540..554
    src/business/views/all.py on lines 573..587
    src/business/views/all.py on lines 595..609
    src/business/views/all.py on lines 628..642
    src/business/views/all.py on lines 650..664
    src/business/views/all.py on lines 681..695
    src/business/views/all.py on lines 703..717
    src/business/views/all.py on lines 736..750
    src/business/views/all.py on lines 758..772
    src/business/views/all.py on lines 789..801
    src/business/views/all.py on lines 809..821
    src/business/views/all.py on lines 837..849
    src/business/views/all.py on lines 857..869
    src/business/views/all.py on lines 887..899
    src/business/views/all.py on lines 907..919
    src/business/views/all.py on lines 935..947
    src/business/views/all.py on lines 955..967
    src/business/views/all.py on lines 986..1000
    src/business/views/all.py on lines 1008..1022
    src/business/views/all.py on lines 1039..1053
    src/business/views/all.py on lines 1061..1075
    src/business/views/all.py on lines 1092..1106
    src/business/views/all.py on lines 1145..1158
    src/business/views/all.py on lines 1166..1179
    src/business/views/all.py on lines 1195..1207
    src/business/views/all.py on lines 1215..1227
    src/business/views/all.py on lines 1243..1255
    src/business/views/all.py on lines 1263..1275
    src/business/views/all.py on lines 1291..1303
    src/business/views/all.py on lines 1311..1323
    src/business/views/all.py on lines 1342..1356
    src/business/views/all.py on lines 1364..1378
    src/business/views/all.py on lines 1394..1406
    src/business/views/all.py on lines 1414..1426
    src/business/views/all.py on lines 1442..1454
    src/business/views/all.py on lines 1462..1474
    src/business/views/all.py on lines 1490..1502
    src/business/views/all.py on lines 1510..1522
    src/business/views/all.py on lines 1538..1550
    src/business/views/all.py on lines 1558..1570
    src/business/views/all.py on lines 1586..1598
    src/business/views/all.py on lines 1606..1618
    src/business/views/all.py on lines 1634..1646
    src/business/views/all.py on lines 1654..1666

    Duplicated Code

    Duplicated code can lead to software that is hard to understand and difficult to change. The Don't Repeat Yourself (DRY) principle states:

    Every piece of knowledge must have a single, unambiguous, authoritative representation within a system.

    When you violate DRY, bugs and maintenance problems are sure to follow. Duplicated code has a tendency to both continue to replicate and also to diverge (leaving bugs as two similar implementations differ in subtle ways).

    Tuning

    This issue has a mass of 103.

    We set useful threshold defaults for the languages we support but you may want to adjust these settings based on your project guidelines.

    The threshold configuration represents the minimum mass a code block must have to be analyzed for duplication. The lower the threshold, the more fine-grained the comparison.

    If the engine is too easily reporting duplication, try raising the threshold. If you suspect that the engine isn't catching enough duplication, try lowering the threshold. The best setting tends to differ from language to language.

    See codeclimate-duplication's documentation for more information about tuning the mass threshold in your .codeclimate.yml.

    Refactorings

    Further Reading

    Similar blocks of code found in 64 locations. Consider refactoring.
    Open

    class wooVariantUpdateView(UpdateView):
        model = wooVariant
        form_class = wooVariantForm
        template_name = "business/object_form.html"
    
    
    Severity: Major
    Found in src/business/views/all.py and 63 other locations - About 6 hrs to fix
    src/business/views/all.py on lines 35..47
    src/business/views/all.py on lines 55..67
    src/business/views/all.py on lines 86..100
    src/business/views/all.py on lines 108..122
    src/business/views/all.py on lines 141..155
    src/business/views/all.py on lines 163..177
    src/business/views/all.py on lines 196..210
    src/business/views/all.py on lines 218..232
    src/business/views/all.py on lines 251..265
    src/business/views/all.py on lines 273..287
    src/business/views/all.py on lines 303..315
    src/business/views/all.py on lines 323..335
    src/business/views/all.py on lines 354..368
    src/business/views/all.py on lines 376..390
    src/business/views/all.py on lines 408..422
    src/business/views/all.py on lines 430..444
    src/business/views/all.py on lines 463..477
    src/business/views/all.py on lines 485..499
    src/business/views/all.py on lines 518..532
    src/business/views/all.py on lines 540..554
    src/business/views/all.py on lines 573..587
    src/business/views/all.py on lines 595..609
    src/business/views/all.py on lines 628..642
    src/business/views/all.py on lines 650..664
    src/business/views/all.py on lines 681..695
    src/business/views/all.py on lines 703..717
    src/business/views/all.py on lines 736..750
    src/business/views/all.py on lines 758..772
    src/business/views/all.py on lines 789..801
    src/business/views/all.py on lines 809..821
    src/business/views/all.py on lines 837..849
    src/business/views/all.py on lines 857..869
    src/business/views/all.py on lines 887..899
    src/business/views/all.py on lines 907..919
    src/business/views/all.py on lines 935..947
    src/business/views/all.py on lines 955..967
    src/business/views/all.py on lines 986..1000
    src/business/views/all.py on lines 1008..1022
    src/business/views/all.py on lines 1039..1053
    src/business/views/all.py on lines 1061..1075
    src/business/views/all.py on lines 1092..1106
    src/business/views/all.py on lines 1114..1128
    src/business/views/all.py on lines 1145..1158
    src/business/views/all.py on lines 1166..1179
    src/business/views/all.py on lines 1195..1207
    src/business/views/all.py on lines 1215..1227
    src/business/views/all.py on lines 1243..1255
    src/business/views/all.py on lines 1263..1275
    src/business/views/all.py on lines 1291..1303
    src/business/views/all.py on lines 1311..1323
    src/business/views/all.py on lines 1342..1356
    src/business/views/all.py on lines 1364..1378
    src/business/views/all.py on lines 1394..1406
    src/business/views/all.py on lines 1414..1426
    src/business/views/all.py on lines 1442..1454
    src/business/views/all.py on lines 1462..1474
    src/business/views/all.py on lines 1490..1502
    src/business/views/all.py on lines 1510..1522
    src/business/views/all.py on lines 1538..1550
    src/business/views/all.py on lines 1586..1598
    src/business/views/all.py on lines 1606..1618
    src/business/views/all.py on lines 1634..1646
    src/business/views/all.py on lines 1654..1666

    Duplicated Code

    Duplicated code can lead to software that is hard to understand and difficult to change. The Don't Repeat Yourself (DRY) principle states:

    Every piece of knowledge must have a single, unambiguous, authoritative representation within a system.

    When you violate DRY, bugs and maintenance problems are sure to follow. Duplicated code has a tendency to both continue to replicate and also to diverge (leaving bugs as two similar implementations differ in subtle ways).

    Tuning

    This issue has a mass of 103.

    We set useful threshold defaults for the languages we support but you may want to adjust these settings based on your project guidelines.

    The threshold configuration represents the minimum mass a code block must have to be analyzed for duplication. The lower the threshold, the more fine-grained the comparison.

    If the engine is too easily reporting duplication, try raising the threshold. If you suspect that the engine isn't catching enough duplication, try lowering the threshold. The best setting tends to differ from language to language.

    See codeclimate-duplication's documentation for more information about tuning the mass threshold in your .codeclimate.yml.

    Refactorings

    Further Reading

    Similar blocks of code found in 30 locations. Consider refactoring.
    Open

    class bzCreativeLayoutListView(TemplateView):
        template_name = "business/object_list.html"
    
        def get_context_data(self, **kwargs):
            context = super(bzCreativeLayoutListView,
    Severity: Major
    Found in src/business/views/all.py and 29 other locations - About 6 hrs to fix
    src/business/views/all.py on lines 22..32
    src/business/views/all.py on lines 70..83
    src/business/views/all.py on lines 125..138
    src/business/views/all.py on lines 235..248
    src/business/views/all.py on lines 290..300
    src/business/views/all.py on lines 338..351
    src/business/views/all.py on lines 393..405
    src/business/views/all.py on lines 447..460
    src/business/views/all.py on lines 502..515
    src/business/views/all.py on lines 557..570
    src/business/views/all.py on lines 612..625
    src/business/views/all.py on lines 667..678
    src/business/views/all.py on lines 720..733
    src/business/views/all.py on lines 824..834
    src/business/views/all.py on lines 922..932
    src/business/views/all.py on lines 970..983
    src/business/views/all.py on lines 1025..1036
    src/business/views/all.py on lines 1078..1089
    src/business/views/all.py on lines 1131..1142
    src/business/views/all.py on lines 1182..1192
    src/business/views/all.py on lines 1230..1240
    src/business/views/all.py on lines 1278..1288
    src/business/views/all.py on lines 1326..1339
    src/business/views/all.py on lines 1381..1391
    src/business/views/all.py on lines 1429..1439
    src/business/views/all.py on lines 1477..1487
    src/business/views/all.py on lines 1525..1535
    src/business/views/all.py on lines 1573..1583
    src/business/views/all.py on lines 1621..1631

    Duplicated Code

    Duplicated code can lead to software that is hard to understand and difficult to change. The Don't Repeat Yourself (DRY) principle states:

    Every piece of knowledge must have a single, unambiguous, authoritative representation within a system.

    When you violate DRY, bugs and maintenance problems are sure to follow. Duplicated code has a tendency to both continue to replicate and also to diverge (leaving bugs as two similar implementations differ in subtle ways).

    Tuning

    This issue has a mass of 103.

    We set useful threshold defaults for the languages we support but you may want to adjust these settings based on your project guidelines.

    The threshold configuration represents the minimum mass a code block must have to be analyzed for duplication. The lower the threshold, the more fine-grained the comparison.

    If the engine is too easily reporting duplication, try raising the threshold. If you suspect that the engine isn't catching enough duplication, try lowering the threshold. The best setting tends to differ from language to language.

    See codeclimate-duplication's documentation for more information about tuning the mass threshold in your .codeclimate.yml.

    Refactorings

    Further Reading

    Similar blocks of code found in 30 locations. Consider refactoring.
    Open

    class pfCatalogFileSpecListView(TemplateView):
        template_name = "business/object_list.html"
    
        def get_context_data(self, **kwargs):
            context = super(pfCatalogFileSpecListView,
    Severity: Major
    Found in src/business/views/all.py and 29 other locations - About 6 hrs to fix
    src/business/views/all.py on lines 22..32
    src/business/views/all.py on lines 70..83
    src/business/views/all.py on lines 125..138
    src/business/views/all.py on lines 180..193
    src/business/views/all.py on lines 235..248
    src/business/views/all.py on lines 290..300
    src/business/views/all.py on lines 338..351
    src/business/views/all.py on lines 393..405
    src/business/views/all.py on lines 502..515
    src/business/views/all.py on lines 557..570
    src/business/views/all.py on lines 612..625
    src/business/views/all.py on lines 667..678
    src/business/views/all.py on lines 720..733
    src/business/views/all.py on lines 824..834
    src/business/views/all.py on lines 922..932
    src/business/views/all.py on lines 970..983
    src/business/views/all.py on lines 1025..1036
    src/business/views/all.py on lines 1078..1089
    src/business/views/all.py on lines 1131..1142
    src/business/views/all.py on lines 1182..1192
    src/business/views/all.py on lines 1230..1240
    src/business/views/all.py on lines 1278..1288
    src/business/views/all.py on lines 1326..1339
    src/business/views/all.py on lines 1381..1391
    src/business/views/all.py on lines 1429..1439
    src/business/views/all.py on lines 1477..1487
    src/business/views/all.py on lines 1525..1535
    src/business/views/all.py on lines 1573..1583
    src/business/views/all.py on lines 1621..1631

    Duplicated Code

    Duplicated code can lead to software that is hard to understand and difficult to change. The Don't Repeat Yourself (DRY) principle states:

    Every piece of knowledge must have a single, unambiguous, authoritative representation within a system.

    When you violate DRY, bugs and maintenance problems are sure to follow. Duplicated code has a tendency to both continue to replicate and also to diverge (leaving bugs as two similar implementations differ in subtle ways).

    Tuning

    This issue has a mass of 103.

    We set useful threshold defaults for the languages we support but you may want to adjust these settings based on your project guidelines.

    The threshold configuration represents the minimum mass a code block must have to be analyzed for duplication. The lower the threshold, the more fine-grained the comparison.

    If the engine is too easily reporting duplication, try raising the threshold. If you suspect that the engine isn't catching enough duplication, try lowering the threshold. The best setting tends to differ from language to language.

    See codeclimate-duplication's documentation for more information about tuning the mass threshold in your .codeclimate.yml.

    Refactorings

    Further Reading

    Similar blocks of code found in 30 locations. Consider refactoring.
    Open

    class wooProductListView(TemplateView):
        template_name = "business/object_list.html"
    
        def get_context_data(self, **kwargs):
            context = super(wooProductListView, self).get_context_data(**kwargs)
    Severity: Major
    Found in src/business/views/all.py and 29 other locations - About 6 hrs to fix
    src/business/views/all.py on lines 22..32
    src/business/views/all.py on lines 70..83
    src/business/views/all.py on lines 125..138
    src/business/views/all.py on lines 180..193
    src/business/views/all.py on lines 235..248
    src/business/views/all.py on lines 290..300
    src/business/views/all.py on lines 338..351
    src/business/views/all.py on lines 393..405
    src/business/views/all.py on lines 447..460
    src/business/views/all.py on lines 502..515
    src/business/views/all.py on lines 557..570
    src/business/views/all.py on lines 612..625
    src/business/views/all.py on lines 667..678
    src/business/views/all.py on lines 720..733
    src/business/views/all.py on lines 824..834
    src/business/views/all.py on lines 922..932
    src/business/views/all.py on lines 970..983
    src/business/views/all.py on lines 1025..1036
    src/business/views/all.py on lines 1078..1089
    src/business/views/all.py on lines 1131..1142
    src/business/views/all.py on lines 1182..1192
    src/business/views/all.py on lines 1230..1240
    src/business/views/all.py on lines 1326..1339
    src/business/views/all.py on lines 1381..1391
    src/business/views/all.py on lines 1429..1439
    src/business/views/all.py on lines 1477..1487
    src/business/views/all.py on lines 1525..1535
    src/business/views/all.py on lines 1573..1583
    src/business/views/all.py on lines 1621..1631

    Duplicated Code

    Duplicated code can lead to software that is hard to understand and difficult to change. The Don't Repeat Yourself (DRY) principle states:

    Every piece of knowledge must have a single, unambiguous, authoritative representation within a system.

    When you violate DRY, bugs and maintenance problems are sure to follow. Duplicated code has a tendency to both continue to replicate and also to diverge (leaving bugs as two similar implementations differ in subtle ways).

    Tuning

    This issue has a mass of 103.

    We set useful threshold defaults for the languages we support but you may want to adjust these settings based on your project guidelines.

    The threshold configuration represents the minimum mass a code block must have to be analyzed for duplication. The lower the threshold, the more fine-grained the comparison.

    If the engine is too easily reporting duplication, try raising the threshold. If you suspect that the engine isn't catching enough duplication, try lowering the threshold. The best setting tends to differ from language to language.

    See codeclimate-duplication's documentation for more information about tuning the mass threshold in your .codeclimate.yml.

    Refactorings

    Further Reading

    Similar blocks of code found in 64 locations. Consider refactoring.
    Open

    class bzCreativeCollectionCreateView(CreateView):
        model = bzCreativeCollection
        form_class = bzCreativeCollectionForm
        template_name = "business/object_form.html"
    
    
    Severity: Major
    Found in src/business/views/all.py and 63 other locations - About 6 hrs to fix
    src/business/views/all.py on lines 35..47
    src/business/views/all.py on lines 55..67
    src/business/views/all.py on lines 108..122
    src/business/views/all.py on lines 141..155
    src/business/views/all.py on lines 163..177
    src/business/views/all.py on lines 196..210
    src/business/views/all.py on lines 218..232
    src/business/views/all.py on lines 251..265
    src/business/views/all.py on lines 273..287
    src/business/views/all.py on lines 303..315
    src/business/views/all.py on lines 323..335
    src/business/views/all.py on lines 354..368
    src/business/views/all.py on lines 376..390
    src/business/views/all.py on lines 408..422
    src/business/views/all.py on lines 430..444
    src/business/views/all.py on lines 463..477
    src/business/views/all.py on lines 485..499
    src/business/views/all.py on lines 518..532
    src/business/views/all.py on lines 540..554
    src/business/views/all.py on lines 573..587
    src/business/views/all.py on lines 595..609
    src/business/views/all.py on lines 628..642
    src/business/views/all.py on lines 650..664
    src/business/views/all.py on lines 681..695
    src/business/views/all.py on lines 703..717
    src/business/views/all.py on lines 736..750
    src/business/views/all.py on lines 758..772
    src/business/views/all.py on lines 789..801
    src/business/views/all.py on lines 809..821
    src/business/views/all.py on lines 837..849
    src/business/views/all.py on lines 857..869
    src/business/views/all.py on lines 887..899
    src/business/views/all.py on lines 907..919
    src/business/views/all.py on lines 935..947
    src/business/views/all.py on lines 955..967
    src/business/views/all.py on lines 986..1000
    src/business/views/all.py on lines 1008..1022
    src/business/views/all.py on lines 1039..1053
    src/business/views/all.py on lines 1061..1075
    src/business/views/all.py on lines 1092..1106
    src/business/views/all.py on lines 1114..1128
    src/business/views/all.py on lines 1145..1158
    src/business/views/all.py on lines 1166..1179
    src/business/views/all.py on lines 1195..1207
    src/business/views/all.py on lines 1215..1227
    src/business/views/all.py on lines 1243..1255
    src/business/views/all.py on lines 1263..1275
    src/business/views/all.py on lines 1291..1303
    src/business/views/all.py on lines 1311..1323
    src/business/views/all.py on lines 1342..1356
    src/business/views/all.py on lines 1364..1378
    src/business/views/all.py on lines 1394..1406
    src/business/views/all.py on lines 1414..1426
    src/business/views/all.py on lines 1442..1454
    src/business/views/all.py on lines 1462..1474
    src/business/views/all.py on lines 1490..1502
    src/business/views/all.py on lines 1510..1522
    src/business/views/all.py on lines 1538..1550
    src/business/views/all.py on lines 1558..1570
    src/business/views/all.py on lines 1586..1598
    src/business/views/all.py on lines 1606..1618
    src/business/views/all.py on lines 1634..1646
    src/business/views/all.py on lines 1654..1666

    Duplicated Code

    Duplicated code can lead to software that is hard to understand and difficult to change. The Don't Repeat Yourself (DRY) principle states:

    Every piece of knowledge must have a single, unambiguous, authoritative representation within a system.

    When you violate DRY, bugs and maintenance problems are sure to follow. Duplicated code has a tendency to both continue to replicate and also to diverge (leaving bugs as two similar implementations differ in subtle ways).

    Tuning

    This issue has a mass of 103.

    We set useful threshold defaults for the languages we support but you may want to adjust these settings based on your project guidelines.

    The threshold configuration represents the minimum mass a code block must have to be analyzed for duplication. The lower the threshold, the more fine-grained the comparison.

    If the engine is too easily reporting duplication, try raising the threshold. If you suspect that the engine isn't catching enough duplication, try lowering the threshold. The best setting tends to differ from language to language.

    See codeclimate-duplication's documentation for more information about tuning the mass threshold in your .codeclimate.yml.

    Refactorings

    Further Reading

    Similar blocks of code found in 64 locations. Consider refactoring.
    Open

    class pfPrintFileUpdateView(UpdateView):
        model = pfPrintFile
        form_class = pfPrintFileForm
        template_name = "business/object_form.html"
    
    
    Severity: Major
    Found in src/business/views/all.py and 63 other locations - About 6 hrs to fix
    src/business/views/all.py on lines 35..47
    src/business/views/all.py on lines 55..67
    src/business/views/all.py on lines 86..100
    src/business/views/all.py on lines 108..122
    src/business/views/all.py on lines 141..155
    src/business/views/all.py on lines 163..177
    src/business/views/all.py on lines 196..210
    src/business/views/all.py on lines 218..232
    src/business/views/all.py on lines 251..265
    src/business/views/all.py on lines 273..287
    src/business/views/all.py on lines 303..315
    src/business/views/all.py on lines 323..335
    src/business/views/all.py on lines 354..368
    src/business/views/all.py on lines 376..390
    src/business/views/all.py on lines 408..422
    src/business/views/all.py on lines 430..444
    src/business/views/all.py on lines 463..477
    src/business/views/all.py on lines 485..499
    src/business/views/all.py on lines 518..532
    src/business/views/all.py on lines 540..554
    src/business/views/all.py on lines 573..587
    src/business/views/all.py on lines 595..609
    src/business/views/all.py on lines 628..642
    src/business/views/all.py on lines 650..664
    src/business/views/all.py on lines 681..695
    src/business/views/all.py on lines 703..717
    src/business/views/all.py on lines 736..750
    src/business/views/all.py on lines 758..772
    src/business/views/all.py on lines 789..801
    src/business/views/all.py on lines 809..821
    src/business/views/all.py on lines 837..849
    src/business/views/all.py on lines 887..899
    src/business/views/all.py on lines 907..919
    src/business/views/all.py on lines 935..947
    src/business/views/all.py on lines 955..967
    src/business/views/all.py on lines 986..1000
    src/business/views/all.py on lines 1008..1022
    src/business/views/all.py on lines 1039..1053
    src/business/views/all.py on lines 1061..1075
    src/business/views/all.py on lines 1092..1106
    src/business/views/all.py on lines 1114..1128
    src/business/views/all.py on lines 1145..1158
    src/business/views/all.py on lines 1166..1179
    src/business/views/all.py on lines 1195..1207
    src/business/views/all.py on lines 1215..1227
    src/business/views/all.py on lines 1243..1255
    src/business/views/all.py on lines 1263..1275
    src/business/views/all.py on lines 1291..1303
    src/business/views/all.py on lines 1311..1323
    src/business/views/all.py on lines 1342..1356
    src/business/views/all.py on lines 1364..1378
    src/business/views/all.py on lines 1394..1406
    src/business/views/all.py on lines 1414..1426
    src/business/views/all.py on lines 1442..1454
    src/business/views/all.py on lines 1462..1474
    src/business/views/all.py on lines 1490..1502
    src/business/views/all.py on lines 1510..1522
    src/business/views/all.py on lines 1538..1550
    src/business/views/all.py on lines 1558..1570
    src/business/views/all.py on lines 1586..1598
    src/business/views/all.py on lines 1606..1618
    src/business/views/all.py on lines 1634..1646
    src/business/views/all.py on lines 1654..1666

    Duplicated Code

    Duplicated code can lead to software that is hard to understand and difficult to change. The Don't Repeat Yourself (DRY) principle states:

    Every piece of knowledge must have a single, unambiguous, authoritative representation within a system.

    When you violate DRY, bugs and maintenance problems are sure to follow. Duplicated code has a tendency to both continue to replicate and also to diverge (leaving bugs as two similar implementations differ in subtle ways).

    Tuning

    This issue has a mass of 103.

    We set useful threshold defaults for the languages we support but you may want to adjust these settings based on your project guidelines.

    The threshold configuration represents the minimum mass a code block must have to be analyzed for duplication. The lower the threshold, the more fine-grained the comparison.

    If the engine is too easily reporting duplication, try raising the threshold. If you suspect that the engine isn't catching enough duplication, try lowering the threshold. The best setting tends to differ from language to language.

    See codeclimate-duplication's documentation for more information about tuning the mass threshold in your .codeclimate.yml.

    Refactorings

    Further Reading

    Similar blocks of code found in 64 locations. Consider refactoring.
    Open

    class wooAttributeUpdateView(UpdateView):
        model = wooAttribute
        form_class = wooAttributeForm
        template_name = "business/object_form.html"
    
    
    Severity: Major
    Found in src/business/views/all.py and 63 other locations - About 6 hrs to fix
    src/business/views/all.py on lines 35..47
    src/business/views/all.py on lines 55..67
    src/business/views/all.py on lines 86..100
    src/business/views/all.py on lines 108..122
    src/business/views/all.py on lines 141..155
    src/business/views/all.py on lines 163..177
    src/business/views/all.py on lines 196..210
    src/business/views/all.py on lines 218..232
    src/business/views/all.py on lines 251..265
    src/business/views/all.py on lines 273..287
    src/business/views/all.py on lines 303..315
    src/business/views/all.py on lines 323..335
    src/business/views/all.py on lines 354..368
    src/business/views/all.py on lines 376..390
    src/business/views/all.py on lines 408..422
    src/business/views/all.py on lines 430..444
    src/business/views/all.py on lines 463..477
    src/business/views/all.py on lines 485..499
    src/business/views/all.py on lines 518..532
    src/business/views/all.py on lines 540..554
    src/business/views/all.py on lines 573..587
    src/business/views/all.py on lines 595..609
    src/business/views/all.py on lines 628..642
    src/business/views/all.py on lines 650..664
    src/business/views/all.py on lines 681..695
    src/business/views/all.py on lines 703..717
    src/business/views/all.py on lines 736..750
    src/business/views/all.py on lines 758..772
    src/business/views/all.py on lines 789..801
    src/business/views/all.py on lines 809..821
    src/business/views/all.py on lines 837..849
    src/business/views/all.py on lines 857..869
    src/business/views/all.py on lines 887..899
    src/business/views/all.py on lines 907..919
    src/business/views/all.py on lines 935..947
    src/business/views/all.py on lines 955..967
    src/business/views/all.py on lines 986..1000
    src/business/views/all.py on lines 1008..1022
    src/business/views/all.py on lines 1039..1053
    src/business/views/all.py on lines 1061..1075
    src/business/views/all.py on lines 1092..1106
    src/business/views/all.py on lines 1114..1128
    src/business/views/all.py on lines 1145..1158
    src/business/views/all.py on lines 1195..1207
    src/business/views/all.py on lines 1215..1227
    src/business/views/all.py on lines 1243..1255
    src/business/views/all.py on lines 1263..1275
    src/business/views/all.py on lines 1291..1303
    src/business/views/all.py on lines 1311..1323
    src/business/views/all.py on lines 1342..1356
    src/business/views/all.py on lines 1364..1378
    src/business/views/all.py on lines 1394..1406
    src/business/views/all.py on lines 1414..1426
    src/business/views/all.py on lines 1442..1454
    src/business/views/all.py on lines 1462..1474
    src/business/views/all.py on lines 1490..1502
    src/business/views/all.py on lines 1510..1522
    src/business/views/all.py on lines 1538..1550
    src/business/views/all.py on lines 1558..1570
    src/business/views/all.py on lines 1586..1598
    src/business/views/all.py on lines 1606..1618
    src/business/views/all.py on lines 1634..1646
    src/business/views/all.py on lines 1654..1666

    Duplicated Code

    Duplicated code can lead to software that is hard to understand and difficult to change. The Don't Repeat Yourself (DRY) principle states:

    Every piece of knowledge must have a single, unambiguous, authoritative representation within a system.

    When you violate DRY, bugs and maintenance problems are sure to follow. Duplicated code has a tendency to both continue to replicate and also to diverge (leaving bugs as two similar implementations differ in subtle ways).

    Tuning

    This issue has a mass of 103.

    We set useful threshold defaults for the languages we support but you may want to adjust these settings based on your project guidelines.

    The threshold configuration represents the minimum mass a code block must have to be analyzed for duplication. The lower the threshold, the more fine-grained the comparison.

    If the engine is too easily reporting duplication, try raising the threshold. If you suspect that the engine isn't catching enough duplication, try lowering the threshold. The best setting tends to differ from language to language.

    See codeclimate-duplication's documentation for more information about tuning the mass threshold in your .codeclimate.yml.

    Refactorings

    Further Reading

    Similar blocks of code found in 64 locations. Consider refactoring.
    Open

    class wooCategoryUpdateView(UpdateView):
        model = wooCategory
        form_class = wooCategoryForm
        template_name = "business/object_form.html"
    
    
    Severity: Major
    Found in src/business/views/all.py and 63 other locations - About 6 hrs to fix
    src/business/views/all.py on lines 35..47
    src/business/views/all.py on lines 55..67
    src/business/views/all.py on lines 86..100
    src/business/views/all.py on lines 108..122
    src/business/views/all.py on lines 141..155
    src/business/views/all.py on lines 163..177
    src/business/views/all.py on lines 196..210
    src/business/views/all.py on lines 218..232
    src/business/views/all.py on lines 251..265
    src/business/views/all.py on lines 273..287
    src/business/views/all.py on lines 303..315
    src/business/views/all.py on lines 323..335
    src/business/views/all.py on lines 354..368
    src/business/views/all.py on lines 376..390
    src/business/views/all.py on lines 408..422
    src/business/views/all.py on lines 430..444
    src/business/views/all.py on lines 463..477
    src/business/views/all.py on lines 485..499
    src/business/views/all.py on lines 518..532
    src/business/views/all.py on lines 540..554
    src/business/views/all.py on lines 573..587
    src/business/views/all.py on lines 595..609
    src/business/views/all.py on lines 628..642
    src/business/views/all.py on lines 650..664
    src/business/views/all.py on lines 681..695
    src/business/views/all.py on lines 703..717
    src/business/views/all.py on lines 736..750
    src/business/views/all.py on lines 758..772
    src/business/views/all.py on lines 789..801
    src/business/views/all.py on lines 809..821
    src/business/views/all.py on lines 837..849
    src/business/views/all.py on lines 857..869
    src/business/views/all.py on lines 887..899
    src/business/views/all.py on lines 907..919
    src/business/views/all.py on lines 935..947
    src/business/views/all.py on lines 955..967
    src/business/views/all.py on lines 986..1000
    src/business/views/all.py on lines 1008..1022
    src/business/views/all.py on lines 1039..1053
    src/business/views/all.py on lines 1061..1075
    src/business/views/all.py on lines 1092..1106
    src/business/views/all.py on lines 1114..1128
    src/business/views/all.py on lines 1145..1158
    src/business/views/all.py on lines 1166..1179
    src/business/views/all.py on lines 1195..1207
    src/business/views/all.py on lines 1243..1255
    src/business/views/all.py on lines 1263..1275
    src/business/views/all.py on lines 1291..1303
    src/business/views/all.py on lines 1311..1323
    src/business/views/all.py on lines 1342..1356
    src/business/views/all.py on lines 1364..1378
    src/business/views/all.py on lines 1394..1406
    src/business/views/all.py on lines 1414..1426
    src/business/views/all.py on lines 1442..1454
    src/business/views/all.py on lines 1462..1474
    src/business/views/all.py on lines 1490..1502
    src/business/views/all.py on lines 1510..1522
    src/business/views/all.py on lines 1538..1550
    src/business/views/all.py on lines 1558..1570
    src/business/views/all.py on lines 1586..1598
    src/business/views/all.py on lines 1606..1618
    src/business/views/all.py on lines 1634..1646
    src/business/views/all.py on lines 1654..1666

    Duplicated Code

    Duplicated code can lead to software that is hard to understand and difficult to change. The Don't Repeat Yourself (DRY) principle states:

    Every piece of knowledge must have a single, unambiguous, authoritative representation within a system.

    When you violate DRY, bugs and maintenance problems are sure to follow. Duplicated code has a tendency to both continue to replicate and also to diverge (leaving bugs as two similar implementations differ in subtle ways).

    Tuning

    This issue has a mass of 103.

    We set useful threshold defaults for the languages we support but you may want to adjust these settings based on your project guidelines.

    The threshold configuration represents the minimum mass a code block must have to be analyzed for duplication. The lower the threshold, the more fine-grained the comparison.

    If the engine is too easily reporting duplication, try raising the threshold. If you suspect that the engine isn't catching enough duplication, try lowering the threshold. The best setting tends to differ from language to language.

    See codeclimate-duplication's documentation for more information about tuning the mass threshold in your .codeclimate.yml.

    Refactorings

    Further Reading

    Similar blocks of code found in 64 locations. Consider refactoring.
    Open

    class wooVariantCreateView(CreateView):
        model = wooVariant
        form_class = wooVariantForm
        template_name = "business/object_form.html"
    
    
    Severity: Major
    Found in src/business/views/all.py and 63 other locations - About 6 hrs to fix
    src/business/views/all.py on lines 35..47
    src/business/views/all.py on lines 55..67
    src/business/views/all.py on lines 86..100
    src/business/views/all.py on lines 108..122
    src/business/views/all.py on lines 141..155
    src/business/views/all.py on lines 163..177
    src/business/views/all.py on lines 196..210
    src/business/views/all.py on lines 218..232
    src/business/views/all.py on lines 251..265
    src/business/views/all.py on lines 273..287
    src/business/views/all.py on lines 303..315
    src/business/views/all.py on lines 323..335
    src/business/views/all.py on lines 354..368
    src/business/views/all.py on lines 376..390
    src/business/views/all.py on lines 408..422
    src/business/views/all.py on lines 430..444
    src/business/views/all.py on lines 463..477
    src/business/views/all.py on lines 485..499
    src/business/views/all.py on lines 518..532
    src/business/views/all.py on lines 540..554
    src/business/views/all.py on lines 573..587
    src/business/views/all.py on lines 595..609
    src/business/views/all.py on lines 628..642
    src/business/views/all.py on lines 650..664
    src/business/views/all.py on lines 681..695
    src/business/views/all.py on lines 703..717
    src/business/views/all.py on lines 736..750
    src/business/views/all.py on lines 758..772
    src/business/views/all.py on lines 789..801
    src/business/views/all.py on lines 809..821
    src/business/views/all.py on lines 837..849
    src/business/views/all.py on lines 857..869
    src/business/views/all.py on lines 887..899
    src/business/views/all.py on lines 907..919
    src/business/views/all.py on lines 935..947
    src/business/views/all.py on lines 955..967
    src/business/views/all.py on lines 986..1000
    src/business/views/all.py on lines 1008..1022
    src/business/views/all.py on lines 1039..1053
    src/business/views/all.py on lines 1061..1075
    src/business/views/all.py on lines 1092..1106
    src/business/views/all.py on lines 1114..1128
    src/business/views/all.py on lines 1145..1158
    src/business/views/all.py on lines 1166..1179
    src/business/views/all.py on lines 1195..1207
    src/business/views/all.py on lines 1215..1227
    src/business/views/all.py on lines 1243..1255
    src/business/views/all.py on lines 1263..1275
    src/business/views/all.py on lines 1291..1303
    src/business/views/all.py on lines 1311..1323
    src/business/views/all.py on lines 1342..1356
    src/business/views/all.py on lines 1364..1378
    src/business/views/all.py on lines 1394..1406
    src/business/views/all.py on lines 1414..1426
    src/business/views/all.py on lines 1442..1454
    src/business/views/all.py on lines 1462..1474
    src/business/views/all.py on lines 1490..1502
    src/business/views/all.py on lines 1510..1522
    src/business/views/all.py on lines 1558..1570
    src/business/views/all.py on lines 1586..1598
    src/business/views/all.py on lines 1606..1618
    src/business/views/all.py on lines 1634..1646
    src/business/views/all.py on lines 1654..1666

    Duplicated Code

    Duplicated code can lead to software that is hard to understand and difficult to change. The Don't Repeat Yourself (DRY) principle states:

    Every piece of knowledge must have a single, unambiguous, authoritative representation within a system.

    When you violate DRY, bugs and maintenance problems are sure to follow. Duplicated code has a tendency to both continue to replicate and also to diverge (leaving bugs as two similar implementations differ in subtle ways).

    Tuning

    This issue has a mass of 103.

    We set useful threshold defaults for the languages we support but you may want to adjust these settings based on your project guidelines.

    The threshold configuration represents the minimum mass a code block must have to be analyzed for duplication. The lower the threshold, the more fine-grained the comparison.

    If the engine is too easily reporting duplication, try raising the threshold. If you suspect that the engine isn't catching enough duplication, try lowering the threshold. The best setting tends to differ from language to language.

    See codeclimate-duplication's documentation for more information about tuning the mass threshold in your .codeclimate.yml.

    Refactorings

    Further Reading

    Similar blocks of code found in 30 locations. Consider refactoring.
    Open

    class bzProductListView(TemplateView):
        template_name = "business/object_list.html"
    
        def get_context_data(self, **kwargs):
            context = super(bzProductListView, self).get_context_data(**kwargs)
    Severity: Major
    Found in src/business/views/all.py and 29 other locations - About 6 hrs to fix
    src/business/views/all.py on lines 22..32
    src/business/views/all.py on lines 70..83
    src/business/views/all.py on lines 125..138
    src/business/views/all.py on lines 180..193
    src/business/views/all.py on lines 235..248
    src/business/views/all.py on lines 338..351
    src/business/views/all.py on lines 393..405
    src/business/views/all.py on lines 447..460
    src/business/views/all.py on lines 502..515
    src/business/views/all.py on lines 557..570
    src/business/views/all.py on lines 612..625
    src/business/views/all.py on lines 667..678
    src/business/views/all.py on lines 720..733
    src/business/views/all.py on lines 824..834
    src/business/views/all.py on lines 922..932
    src/business/views/all.py on lines 970..983
    src/business/views/all.py on lines 1025..1036
    src/business/views/all.py on lines 1078..1089
    src/business/views/all.py on lines 1131..1142
    src/business/views/all.py on lines 1182..1192
    src/business/views/all.py on lines 1230..1240
    src/business/views/all.py on lines 1278..1288
    src/business/views/all.py on lines 1326..1339
    src/business/views/all.py on lines 1381..1391
    src/business/views/all.py on lines 1429..1439
    src/business/views/all.py on lines 1477..1487
    src/business/views/all.py on lines 1525..1535
    src/business/views/all.py on lines 1573..1583
    src/business/views/all.py on lines 1621..1631

    Duplicated Code

    Duplicated code can lead to software that is hard to understand and difficult to change. The Don't Repeat Yourself (DRY) principle states:

    Every piece of knowledge must have a single, unambiguous, authoritative representation within a system.

    When you violate DRY, bugs and maintenance problems are sure to follow. Duplicated code has a tendency to both continue to replicate and also to diverge (leaving bugs as two similar implementations differ in subtle ways).

    Tuning

    This issue has a mass of 103.

    We set useful threshold defaults for the languages we support but you may want to adjust these settings based on your project guidelines.

    The threshold configuration represents the minimum mass a code block must have to be analyzed for duplication. The lower the threshold, the more fine-grained the comparison.

    If the engine is too easily reporting duplication, try raising the threshold. If you suspect that the engine isn't catching enough duplication, try lowering the threshold. The best setting tends to differ from language to language.

    See codeclimate-duplication's documentation for more information about tuning the mass threshold in your .codeclimate.yml.

    Refactorings

    Further Reading

    Similar blocks of code found in 30 locations. Consider refactoring.
    Open

    class wooCategoryListView(TemplateView):
        template_name = "business/object_list.html"
    
        def get_context_data(self, **kwargs):
            context = super(wooCategoryListView, self).get_context_data(**kwargs)
    Severity: Major
    Found in src/business/views/all.py and 29 other locations - About 6 hrs to fix
    src/business/views/all.py on lines 22..32
    src/business/views/all.py on lines 70..83
    src/business/views/all.py on lines 125..138
    src/business/views/all.py on lines 180..193
    src/business/views/all.py on lines 235..248
    src/business/views/all.py on lines 290..300
    src/business/views/all.py on lines 338..351
    src/business/views/all.py on lines 393..405
    src/business/views/all.py on lines 447..460
    src/business/views/all.py on lines 502..515
    src/business/views/all.py on lines 557..570
    src/business/views/all.py on lines 612..625
    src/business/views/all.py on lines 667..678
    src/business/views/all.py on lines 720..733
    src/business/views/all.py on lines 824..834
    src/business/views/all.py on lines 922..932
    src/business/views/all.py on lines 970..983
    src/business/views/all.py on lines 1025..1036
    src/business/views/all.py on lines 1078..1089
    src/business/views/all.py on lines 1131..1142
    src/business/views/all.py on lines 1230..1240
    src/business/views/all.py on lines 1278..1288
    src/business/views/all.py on lines 1326..1339
    src/business/views/all.py on lines 1381..1391
    src/business/views/all.py on lines 1429..1439
    src/business/views/all.py on lines 1477..1487
    src/business/views/all.py on lines 1525..1535
    src/business/views/all.py on lines 1573..1583
    src/business/views/all.py on lines 1621..1631

    Duplicated Code

    Duplicated code can lead to software that is hard to understand and difficult to change. The Don't Repeat Yourself (DRY) principle states:

    Every piece of knowledge must have a single, unambiguous, authoritative representation within a system.

    When you violate DRY, bugs and maintenance problems are sure to follow. Duplicated code has a tendency to both continue to replicate and also to diverge (leaving bugs as two similar implementations differ in subtle ways).

    Tuning

    This issue has a mass of 103.

    We set useful threshold defaults for the languages we support but you may want to adjust these settings based on your project guidelines.

    The threshold configuration represents the minimum mass a code block must have to be analyzed for duplication. The lower the threshold, the more fine-grained the comparison.

    If the engine is too easily reporting duplication, try raising the threshold. If you suspect that the engine isn't catching enough duplication, try lowering the threshold. The best setting tends to differ from language to language.

    See codeclimate-duplication's documentation for more information about tuning the mass threshold in your .codeclimate.yml.

    Refactorings

    Further Reading

    There are no issues that match your filters.

    Category
    Status