Commit 602abb58 authored by Nicolas Wavrant's avatar Nicolas Wavrant

Add the business_application base category on all modules for which it is missing

Modules should have the business_application base category set in order to classify them. Normally, the code helper set this category on module creation (https://lab.nexedi.com/nexedi/erp5/blob/master/product/ERP5/bootstrap/erp5_core/SkinTemplateItem/portal_skins/erp5_core/ERP5Site_createModule.py#L15), but it is often forgotten to commit it (as it should be defined explicitely in template_portal_type_base_category_list's bt5 property.

This commit tries to fix it globally in all bt5s, using a script : https://lab.nexedi.com/snippets/259. I have tried to respect file modes, file encoding, alphabetical ordering, and "\No newline at end of file" issue in order to not generate useless diffs when other people will commit on these files later.

@jerome , @vpelletier , @kazuhiko , @seb : could you have a check to the file formats to tell me if anything is wrong ? 


/reviewed-on !465
parent b0ed183a
<base_category_list>
<portal_type id="Apparel Assortment Module">
<item>business_application</item>
</portal_type>
<portal_type id="Apparel Bath Module">
<item>business_application</item>
</portal_type>
<portal_type id="Apparel Cloth">
<item>measure</item>
</portal_type>
<portal_type id="Apparel Cloth Module">
<item>business_application</item>
</portal_type>
<portal_type id="Apparel Colour Range">
<item>fabric_brand</item>
</portal_type>
<portal_type id="Apparel Colour Range Module">
<item>business_application</item>
</portal_type>
<portal_type id="Apparel Colour Range Variation Line">
<item>specialise</item>
</portal_type>
<portal_type id="Apparel Component Module">
<item>business_application</item>
</portal_type>
<portal_type id="Apparel Component Variation">
<item>collection</item>
</portal_type>
<portal_type id="Apparel Consumption Module">
<item>business_application</item>
</portal_type>
<portal_type id="Apparel Fabric">
<item>cleaning_code</item>
<item>fabric_brand</item>
......@@ -19,9 +37,27 @@
<item>collection</item>
<item>colour</item>
</portal_type>
<portal_type id="Apparel Fabric Item Module">
<item>business_application</item>
</portal_type>
<portal_type id="Apparel Fabric Module">
<item>business_application</item>
</portal_type>
<portal_type id="Apparel Measurement">
<item>measure</item>
</portal_type>
<portal_type id="Apparel Measurement Module">
<item>business_application</item>
</portal_type>
<portal_type id="Apparel Model Module">
<item>business_application</item>
</portal_type>
<portal_type id="Apparel Shape Module">
<item>business_application</item>
</portal_type>
<portal_type id="Apparel Size Module">
<item>business_application</item>
</portal_type>
<portal_type id="Apparel Technical Drawing">
<item>image</item>
</portal_type>
......
Apparel Assortment Module | business_application
Apparel Bath Module | business_application
Apparel Cloth Module | business_application
Apparel Cloth | measure
Apparel Colour Range Module | business_application
Apparel Colour Range Variation Line | specialise
Apparel Colour Range | fabric_brand
Apparel Component Module | business_application
Apparel Component Variation | collection
Apparel Consumption Module | business_application
Apparel Fabric Colour Variation | collection
Apparel Fabric Colour Variation | colour
Apparel Fabric Item Module | business_application
Apparel Fabric Module | business_application
Apparel Fabric | cleaning_code
Apparel Fabric | fabric_brand
Apparel Measurement Module | business_application
Apparel Measurement | measure
Apparel Model Module | business_application
Apparel Shape Module | business_application
Apparel Size Module | business_application
Apparel Technical Drawing | image
\ No newline at end of file
<base_category_list>
<portal_type id="Archive Inventory Module">
<item>business_application</item>
</portal_type>
</base_category_list>
\ No newline at end of file
Archive Inventory Module | business_application
\ No newline at end of file
......@@ -2,19 +2,46 @@
<portal_type id="Bank Account">
<item>site</item>
</portal_type>
<portal_type id="Cash Balance Regulation Module">
<item>business_application</item>
</portal_type>
<portal_type id="Cash Container Item">
<item>aggregate</item>
</portal_type>
<portal_type id="Cash Exchange Module">
<item>business_application</item>
</portal_type>
<portal_type id="Cash Movement Module">
<item>business_application</item>
</portal_type>
<portal_type id="Cash Movement New Not Emitted Module">
<item>business_application</item>
</portal_type>
<portal_type id="Cash Sorting Module">
<item>business_application</item>
</portal_type>
<portal_type id="Cash Sorting Statistic">
<item>site</item>
<item>statistic_type</item>
</portal_type>
<portal_type id="Cash Sorting Statistic Module">
<item>business_application</item>
</portal_type>
<portal_type id="Cash To Currency Purchase">
<item>currency_exchange_type</item>
</portal_type>
<portal_type id="Cash To Currency Purchase Module">
<item>business_application</item>
</portal_type>
<portal_type id="Cash To Currency Sale">
<item>currency_exchange_type</item>
</portal_type>
<portal_type id="Cash To Currency Sale Module">
<item>business_application</item>
</portal_type>
<portal_type id="Classification Survey Module">
<item>business_application</item>
</portal_type>
<portal_type id="Container Cell">
<item>cash_status</item>
<item>emission_letter</item>
......@@ -25,37 +52,88 @@
<item>emission_letter</item>
<item>variation</item>
</portal_type>
<portal_type id="Counter Rendering Module">
<item>business_application</item>
</portal_type>
<portal_type id="Destruction Survey Module">
<item>business_application</item>
</portal_type>
<portal_type id="Foreign Cash Reception">
<item>currency_exchange_type</item>
</portal_type>
<portal_type id="Foreign Cash Reception Module">
<item>business_application</item>
</portal_type>
<portal_type id="Historical Operation">
<item>historical_operation_type</item>
<item>site</item>
</portal_type>
<portal_type id="Historical Operation Module">
<item>business_application</item>
</portal_type>
<portal_type id="Internal Money Deposit Module">
<item>business_application</item>
</portal_type>
<portal_type id="Internal Money Payment">
<item>payment_type</item>
</portal_type>
<portal_type id="Internal Money Payment Module">
<item>business_application</item>
</portal_type>
<portal_type id="Monetary Destruction Cell">
<item>variation</item>
</portal_type>
<portal_type id="Monetary Destruction Module">
<item>business_application</item>
</portal_type>
<portal_type id="Monetary Issue Module">
<item>business_application</item>
</portal_type>
<portal_type id="Monetary Recall Cell">
<item>variation</item>
</portal_type>
<portal_type id="Monetary Recall Module">
<item>business_application</item>
</portal_type>
<portal_type id="Monetary Reception Module">
<item>business_application</item>
</portal_type>
<portal_type id="Monetary Survey Module">
<item>business_application</item>
</portal_type>
<portal_type id="Money Deposit">
<item>source_trade</item>
</portal_type>
<portal_type id="Money Deposit Module">
<item>business_application</item>
</portal_type>
<portal_type id="Money Deposit Rendering Module">
<item>business_application</item>
</portal_type>
<portal_type id="Mutilated Banknote">
<item>causality</item>
<item>source_decision</item>
<item>source_trade</item>
</portal_type>
<portal_type id="Mutilated Banknote Module">
<item>business_application</item>
</portal_type>
<portal_type id="Outgoing Cash Sorting Cell">
<item>variation</item>
</portal_type>
<portal_type id="Outgoing Classification Survey Cell">
<item>variation</item>
</portal_type>
<portal_type id="Usual Cash Rendering Module">
<item>business_application</item>
</portal_type>
<portal_type id="Usual Cash Transfer Module">
<item>business_application</item>
</portal_type>
<portal_type id="Vault Transfer Cell">
<item>variation</item>
</portal_type>
<portal_type id="Vault Transfer Module">
<item>business_application</item>
</portal_type>
</base_category_list>
\ No newline at end of file
Bank Account | site
Cash Balance Regulation Module | business_application
Cash Container Item | aggregate
Cash Exchange Module | business_application
Cash Movement Module | business_application
Cash Movement New Not Emitted Module | business_application
Cash Sorting Module | business_application
Cash Sorting Statistic Module | business_application
Cash Sorting Statistic | site
Cash Sorting Statistic | statistic_type
Cash To Currency Purchase Module | business_application
Cash To Currency Purchase | currency_exchange_type
Cash To Currency Sale Module | business_application
Cash To Currency Sale | currency_exchange_type
Classification Survey Module | business_application
Container Cell | cash_status
Container Cell | emission_letter
Container Cell | variation
Container Line | cash_status
Container Line | emission_letter
Container Line | variation
Counter Rendering Module | business_application
Destruction Survey Module | business_application
Foreign Cash Reception Module | business_application
Foreign Cash Reception | currency_exchange_type
Historical Operation Module | business_application
Historical Operation | historical_operation_type
Historical Operation | site
Internal Money Deposit Module | business_application
Internal Money Payment Module | business_application
Internal Money Payment | payment_type
Monetary Destruction Cell | variation
Monetary Destruction Module | business_application
Monetary Issue Module | business_application
Monetary Recall Cell | variation
Monetary Recall Module | business_application
Monetary Reception Module | business_application
Monetary Survey Module | business_application
Money Deposit Module | business_application
Money Deposit Rendering Module | business_application
Money Deposit | source_trade
Mutilated Banknote Module | business_application
Mutilated Banknote | causality
Mutilated Banknote | source_decision
Mutilated Banknote | source_trade
Outgoing Cash Sorting Cell | variation
Outgoing Classification Survey Cell | variation
Vault Transfer Cell | variation
\ No newline at end of file
Usual Cash Rendering Module | business_application
Usual Cash Transfer Module | business_application
Vault Transfer Cell | variation
Vault Transfer Module | business_application
\ No newline at end of file
......@@ -2,9 +2,15 @@
<portal_type id="Check Deposit">
<item>site</item>
</portal_type>
<portal_type id="Check Deposit Module">
<item>business_application</item>
</portal_type>
<portal_type id="Check Payment">
<item>aggregate_resource</item>
</portal_type>
<portal_type id="Check Payment Module">
<item>business_application</item>
</portal_type>
<portal_type id="Checkbook Delivery">
<item>currency_exchange_type</item>
</portal_type>
......@@ -13,18 +19,39 @@
<item>check_type</item>
<item>currency_exchange_type</item>
</portal_type>
<portal_type id="Checkbook Delivery Module">
<item>business_application</item>
</portal_type>
<portal_type id="Checkbook Reception Line">
<item>check_amount</item>
<item>check_type</item>
</portal_type>
<portal_type id="Checkbook Reception Module">
<item>business_application</item>
</portal_type>
<portal_type id="Checkbook Usual Cash Transfer Module">
<item>business_application</item>
</portal_type>
<portal_type id="Checkbook Vault Transfer Module">
<item>business_application</item>
</portal_type>
<portal_type id="Stop Payment">
<item>aggregate_resource</item>
<item>currency_exchange_type</item>
</portal_type>
<portal_type id="Stop Payment Module">
<item>business_application</item>
</portal_type>
<portal_type id="Traveler Check Purchase">
<item>currency_exchange_type</item>
</portal_type>
<portal_type id="Traveler Check Purchase Module">
<item>business_application</item>
</portal_type>
<portal_type id="Traveler Check Sale">
<item>currency_exchange_type</item>
</portal_type>
<portal_type id="Traveler Check Sale Module">
<item>business_application</item>
</portal_type>
</base_category_list>
\ No newline at end of file
Check Deposit Module | business_application
Check Deposit | site
Check Payment Module | business_application
Check Payment | aggregate_resource
Checkbook Delivery Line | check_amount
Checkbook Delivery Line | check_type
Checkbook Delivery Line | currency_exchange_type
Checkbook Delivery Module | business_application
Checkbook Delivery | currency_exchange_type
Checkbook Reception Line | check_amount
Checkbook Reception Line | check_type
Checkbook Reception Module | business_application
Checkbook Usual Cash Transfer Module | business_application
Checkbook Vault Transfer Module | business_application
Stop Payment Module | business_application
Stop Payment | aggregate_resource
Stop Payment | currency_exchange_type
Traveler Check Purchase Module | business_application
Traveler Check Purchase | currency_exchange_type
Traveler Check Sale Module | business_application
Traveler Check Sale | currency_exchange_type
\ No newline at end of file
......@@ -2,9 +2,15 @@
<portal_type id="Accounting Cancellation">
<item>site</item>
</portal_type>
<portal_type id="Accounting Cancellation Module">
<item>business_application</item>
</portal_type>
<portal_type id="Accounting Date">
<item>site</item>
</portal_type>
<portal_type id="Accounting Date Module">
<item>business_application</item>
</portal_type>
<portal_type id="Bank Account">
<item>site</item>
</portal_type>
......@@ -21,6 +27,9 @@
<portal_type id="Check Model Type Variation">
<item>check_type</item>
</portal_type>
<portal_type id="Check Module">
<item>business_application</item>
</portal_type>
<portal_type id="Check Operation Line">
<item>aggregate_resource</item>
</portal_type>
......@@ -32,9 +41,24 @@
<portal_type id="Checkbook Model">
<item>composition</item>
</portal_type>
<portal_type id="Checkbook Model Module">
<item>business_application</item>
</portal_type>
<portal_type id="Checkbook Module">
<item>business_application</item>
</portal_type>
<portal_type id="Counter Date">
<item>site</item>
</portal_type>
<portal_type id="Counter Date Module">
<item>business_application</item>
</portal_type>
<portal_type id="Counter Module">
<item>business_application</item>
</portal_type>
<portal_type id="Currency Cash Module">
<item>business_application</item>
</portal_type>
<portal_type id="Currency Exchange Cell">
<item>currency_exchange_type</item>
<item>price_currency</item>
......
Accounting Cancellation Module | business_application
Accounting Cancellation | site
Accounting Date Module | business_application
Accounting Date | site
Bank Account | site
Cash Delivery Cell | variation
Category | vault_type
Check Model Type Variation | check_type
Check Module | business_application
Check Operation Line | aggregate_resource
Check | check_type
Check | site
Checkbook Model Module | business_application
Checkbook Model | composition
Checkbook Module | business_application
Checkbook | check_amount
Checkbook | resource
Checkbook | site
Counter Date Module | business_application
Counter Date | site
Counter Module | business_application
Currency Cash Module | business_application
Currency Exchange Cell | currency_exchange_type
Currency Exchange Cell | price_currency
Currency Exchange Line | price_currency
\ No newline at end of file
......@@ -9,9 +9,15 @@
<item>destination</item>
<item>price_currency</item>
</portal_type>
<portal_type id="Bank Account Inventory Module">
<item>business_application</item>
</portal_type>
<portal_type id="Cash Inventory">
<item>destination</item>
<item>destination_section</item>
<item>price_currency</item>
</portal_type>
<portal_type id="Cash Inventory Module">
<item>business_application</item>
</portal_type>
</base_category_list>
\ No newline at end of file
Bank Account Inventory Group | site
Bank Account Inventory Line | destination
Bank Account Inventory Line | price_currency
Bank Account Inventory Module | business_application
Bank Account Inventory | destination
Cash Inventory Module | business_application
Cash Inventory | destination
Cash Inventory | destination_section
Cash Inventory | price_currency
\ No newline at end of file
<base_category_list>
<portal_type id="Barcode Module">
<item>business_application</item>
</portal_type>
</base_category_list>
\ No newline at end of file
Barcode Module | business_application
\ No newline at end of file
<base_category_list>
<portal_type id="Group Calendar Assignment Module">
<item>business_application</item>
</portal_type>
<portal_type id="Group Calendar Module">
<item>business_application</item>
</portal_type>
......
Group Calendar Assignment Module | business_application
Group Calendar Module | business_application
Leave Request Module | business_application
Presence Request Module | business_application
\ No newline at end of file
......@@ -6,6 +6,9 @@
<portal_type id="Computer Model Module">
<item>business_application</item>
</portal_type>
<portal_type id="Computer Module">
<item>business_application</item>
</portal_type>
<portal_type id="Computer Network Module">
<item>business_application</item>
</portal_type>
......
Computer Model Module | business_application
Computer Module | business_application
Computer Network Module | business_application
Computer Partition | subordination
Computer | specialise
......
<base_category_list>
<portal_type id="Business Configuration Module">
<item>business_application</item>
</portal_type>
<portal_type id="Configuration Save">
<item>causality</item>
<item>current_state</item>
......
Business Configuration Module | business_application
Configuration Save | causality
Configuration Save | current_state
Rule Configurator Item | trade_phase
\ No newline at end of file
......@@ -9,6 +9,9 @@
<item>lexicon_item_type</item>
<item>lexicon_item_ubm</item>
</portal_type>
<portal_type id="Document Analysis Module">
<item>business_application</item>
</portal_type>
<portal_type id="Test Case">
<item>requirement</item>
<item>source</item>
......@@ -19,6 +22,9 @@
<item>site</item>
<item>use_case_actor_role</item>
</portal_type>
<portal_type id="Test Case Module">
<item>business_application</item>
</portal_type>
<portal_type id="Test Case Step">
<item>requirement</item>
<item>source_section</item>
......@@ -34,6 +40,9 @@
<item>source</item>
<item>use_case_actor_role</item>
</portal_type>
<portal_type id="Test Report Module">
<item>business_application</item>
</portal_type>
<portal_type id="Test Report Step">
<item>requirement</item>
<item>source_section</item>
......@@ -46,6 +55,9 @@
<item>site</item>
<item>use_case_actor_role</item>
</portal_type>
<portal_type id="Use Case Module">
<item>business_application</item>
</portal_type>
<portal_type id="Use Case Scenario">
<item>requirement</item>
</portal_type>
......
......@@ -2,9 +2,11 @@ Document Analysis Document | document_analysis_document_type
Document Analysis Lexicon Item | lexicon_item_type
Document Analysis Lexicon Item | lexicon_item_ubm
Document Analysis Lexicon | lexicon_source_type
Document Analysis Module | business_application
Test Case Actor | group
Test Case Actor | site
Test Case Actor | use_case_actor_role
Test Case Module | business_application
Test Case Step | requirement
Test Case Step | source_section
Test Case | requirement
......@@ -14,6 +16,7 @@ Test Report Actor | group
Test Report Actor | site
Test Report Actor | source
Test Report Actor | use_case_actor_role
Test Report Module | business_application
Test Report Step | requirement
Test Report Step | source_section
Test Report | requirement
......@@ -22,6 +25,7 @@ Test Report | specialise
Use Case Actor | group
Use Case Actor | site
Use Case Actor | use_case_actor_role
Use Case Module | business_application
Use Case Scenario Step | requirement
Use Case Scenario Step | source_section
Use Case Scenario | requirement
......
......@@ -6,4 +6,7 @@
<item>contributor</item>
<item>source</item>
</portal_type>
<portal_type id="Discussion Thread Module">
<item>business_application</item>
</portal_type>
</base_category_list>
\ No newline at end of file
Discussion Post | successor
Discussion Thread Module | business_application
Discussion Thread | contributor
Discussion Thread | source
\ No newline at end of file
<base_category_list>
<portal_type id="Document Ingestion Module">
<item>business_application</item>
</portal_type>
<portal_type id="Document Module">
<item>business_application</item>
</portal_type>
<portal_type id="External Source Module">
<item>business_application</item>
</portal_type>
<portal_type id="Image Module">
<item>business_application</item>
</portal_type>
......
Document Ingestion Module | business_application
Document Module | business_application
External Source Module | business_application
Image Module | business_application
Web Illustration | follow_up
Web Illustration | function
......
<base_category_list>
<portal_type id="External Account Module">
<item>business_application</item>
</portal_type>
</base_category_list>
\ No newline at end of file
External Account Module | business_application
\ No newline at end of file
<base_category_list>
<portal_type id="Free Subscription Module">
<item>business_application</item>
</portal_type>
<portal_type id="Free Subscription Request">
<item>causality</item>
<item>follow_up</item>
......
Free Subscription Module | business_application
Free Subscription Request Module | business_application
Free Subscription Request | causality
Free Subscription Request | follow_up
......
......@@ -22,7 +22,16 @@
<item>source_project</item>
<item>successor</item>
</portal_type>
<portal_type id="Position Announcement Module">
<item>business_application</item>
</portal_type>
<portal_type id="Position Module">
<item>business_application</item>
</portal_type>
<portal_type id="Position Opportunity">
<item>referral</item>
</portal_type>
<portal_type id="Position Opportunity Module">
<item>business_application</item>
</portal_type>
</base_category_list>
\ No newline at end of file
Assignment | agent
Career | agent
Position Announcement Module | business_application
Position Announcement | aggregate
Position Announcement | classification
Position Announcement | destination
......@@ -12,5 +13,7 @@ Position Announcement | site
Position Announcement | source
Position Announcement | source_project
Position Announcement | successor
Position Module | business_application
Position Opportunity Module | business_application
Position Opportunity | referral
Position | agent
\ No newline at end of file
<base_category_list>
<portal_type id="Immobilisation Module">
<item>business_application</item>
</portal_type>
</base_category_list>
\ No newline at end of file
Immobilisation Module | business_application
\ No newline at end of file