Commit 844de898 authored by Jérome Perrin's avatar Jérome Perrin

CodingStyle: allow more prefixes

Probably we should be using interfaces instead, let's do this simple way
first and we'll improve later.
parent eccffa0c
...@@ -63,7 +63,21 @@ def getSkinPrefixList(self): ...@@ -63,7 +63,21 @@ def getSkinPrefixList(self):
# Add other prefix # Add other prefix
skin_prefix_list.extend(( skin_prefix_list.extend((
'ERP5Type', 'ERP5Type',
# Modules (maybe should be interfaces)
'Module', 'Module',
'InventoryModule',
'OrderModule',
'DeliveryModule',
'PackingListModule',
'SupplyModule',
'ResourceModule',
# Base classes (maybe should be interfaces)
'Entity', # A base class for Person / Organisation
'PackingListLine',
'IndividualVariation',
'ExternalLogin',
# Catalog brains # Catalog brains
'Brain', 'Brain',
...@@ -71,11 +85,10 @@ def getSkinPrefixList(self): ...@@ -71,11 +85,10 @@ def getSkinPrefixList(self):
'TrackingListBrain', 'TrackingListBrain',
'MovementHistoryListBrain', 'MovementHistoryListBrain',
# Zope classes
'DCWorkflow', # some workflow script use this, not sure it's correct. 'DCWorkflow', # some workflow script use this, not sure it's correct.
'SkinsTool', 'SkinsTool',
'MailHost', 'MailHost',
'Entity', # A base class for Person / Organisation
'Zuite', # Products.Zelenium test suites 'Zuite', # Products.Zelenium test suites
# ERP5Form # ERP5Form
...@@ -123,26 +136,7 @@ ignored_skin_id_set = { ...@@ -123,26 +136,7 @@ ignored_skin_id_set = {
'resolveUid', 'resolveUid',
'IndividualVariation_init', 'IndividualVariation_init',
'QuantityUnitConversion_getQuantityUnitList', 'QuantityUnitConversion_getQuantityUnitList',
'ResourceModule_getSelection',
'DeliveryModule_getDeliveryLineList',
'DeliveryModule_getDeliveryLineReportSectionList',
'DeliveryModule_getMovementPortalTypeItemList',
'DeliveryModule_getShipmentDeliveryList',
'DeliveryModule_getShipmentLineData',
'DeliveryModule_getShipmentLineList',
'DeliveryModule_getShipmentReportSectionList',
'OrderModule_activateGetOrderStatList',
'OrderModule_deleteAutoPlannedOrderList',
'OrderModule_filterOrderStatResul',
'OrderModule_getOrderReport',
'OrderModule_getOrderReportParameterDict',
'OrderModule_getOrderReportSectionList',
'OrderModule_getOrderStatList',
'OrderModule_launchOrderReport',
'OrderModule_processOrderStat',
'OrderModule_statOrderStatList',
'PackingListContent_updateAfterEdit', 'PackingListContent_updateAfterEdit',
'PackingListModule_getPackingListReport',
'Builder_selectAutoPlannedOrderList', 'Builder_selectAutoPlannedOrderList',
'Builder_updateManufacturingOrderAfterBuild', 'Builder_updateManufacturingOrderAfterBuild',
'ManufacturingOrderBuilder_selectSimulationMovement', 'ManufacturingOrderBuilder_selectSimulationMovement',
...@@ -169,8 +163,6 @@ ignored_skin_id_set = { ...@@ -169,8 +163,6 @@ ignored_skin_id_set = {
'SaleInvoiceTransaction_selectTaskReportMovement', 'SaleInvoiceTransaction_selectTaskReportMovement',
'TaskListOverviewGadget_setPreferences', 'TaskListOverviewGadget_setPreferences',
'TaskListsGadgetListbox_getLineCss', 'TaskListsGadgetListbox_getLineCss',
'InventoryModule_reindexMovementList',
'DeliveryModule_mergeDeliveryList',
'ERP5VCS_doCreateJavaScriptDiff.js', 'ERP5VCS_doCreateJavaScriptDiff.js',
'ERP5VCS_doCreateJavaScriptStatus.js', 'ERP5VCS_doCreateJavaScriptStatus.js',
'PdmZuite_CommonTemplate', 'PdmZuite_CommonTemplate',
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment