[IMP] *: remove useless keys from manifests

Remove most values uselessly specified because giving the same value as
the default one (see _DEFAULT_MANIFEST in odoo/modules/module.py)

auto_install is Falsy by default
author is Odoo SA by default
summary & description are empty strings by default
application is False by default
test, demo, depends and data are empty lists by default
This will reduce noise/inconsistencies between manifests specifications,
simplify analysis of manifests content.

closes odoo/odoo#106686

Related: odoo/enterprise#34462
Signed-off-by: Victor Feyens (vfe) <vfe@odoo.com>
This commit is contained in:
niyasraphy
2022-11-29 13:20:31 +01:00
parent c9ea3d0fa7
commit ef7005f524
48 changed files with 0 additions and 69 deletions
@@ -30,7 +30,6 @@ Pro rules and show the errors.
'data/ubl_21_templates.xml',
],
'installable': True,
'application': False,
'auto_install': True,
'license': 'LGPL-3',
}
-1
View File
@@ -18,7 +18,6 @@ Allows users to create custom dashboard.
'security/ir.model.access.csv',
'views/board_views.xml',
],
'application': False,
'assets': {
'web.assets_backend': [
'board/static/src/**/*.scss',
-1
View File
@@ -16,7 +16,6 @@
'views/data_recycle_templates.xml',
'security/ir.model.access.csv',
],
'auto_install': False,
'installable': True,
'application': True,
'assets': {
@@ -7,7 +7,6 @@
'sequence': 270,
'version': '1.0',
'summary': 'Manage skills of your employees',
'description': """""",
'depends': ['hr_skills', 'hr_recruitment'],
'data': [
'security/hr_recruitment_skills_security.xml',
@@ -15,8 +14,6 @@
'views/hr_applicant_skill_views.xml',
'security/ir.model.access.csv',
],
'demo': [
],
'installable': True,
'application': False,
'auto_install': True,
@@ -26,7 +26,5 @@
'l10n_nl',
],
'installable': True,
'application': False,
'auto_install': False,
'license': 'LGPL-3',
}
-1
View File
@@ -4,7 +4,6 @@
This is the base module to manage the accounting chart for Egypt in Odoo.
==============================================================================
""",
'author': "Odoo S.A.",
'category': 'Accounting/Localizations/Account Charts',
'version': '1.0',
'depends': ['account', 'l10n_multilang'],
@@ -6,7 +6,6 @@
'description': """
Arabic/English for GCC + lot/SN numbers
""",
'author': "Odoo S.A.",
'website': "https://www.odoo.com",
'category': 'Accounting/Localizations',
@@ -15,7 +15,6 @@
useful when you setup the multiple GSTIN units.
""",
'author': "Odoo S.A.",
'website': "https://www.odoo.com",
'category': 'Accounting/Localizations/Purchase',
'version': '1.0',
@@ -15,7 +15,6 @@
useful when you setup the multiple GSTIN units.
""",
'author': "Odoo S.A.",
'website': "https://www.odoo.com",
'category': 'Accounting/Localizations/Sale',
'version': '0.1',
-2
View File
@@ -12,7 +12,5 @@
'views/hr_employee_views.xml',
],
'installable': True,
'application': False,
'auto_install': False,
'license': 'LGPL-3',
}
-1
View File
@@ -14,7 +14,6 @@
'data/payment_provider_data.xml', # Depends on views/payment_adyen_templates.xml
],
'application': False,
'post_init_hook': 'post_init_hook',
'uninstall_hook': 'uninstall_hook',
'assets': {
-1
View File
@@ -13,7 +13,6 @@
'data/payment_provider_data.xml',
],
'application': False,
'pre_init_hook': 'pre_init_hook',
'post_init_hook': 'post_init_hook',
'uninstall_hook': 'uninstall_hook',
-1
View File
@@ -13,7 +13,6 @@
'data/payment_provider_data.xml',
],
'application': False,
'post_init_hook': 'post_init_hook',
'uninstall_hook': 'uninstall_hook',
'license': 'LGPL-3',
-1
View File
@@ -13,7 +13,6 @@
'data/payment_provider_data.xml',
],
'application': False,
'post_init_hook': 'post_init_hook',
'uninstall_hook': 'uninstall_hook',
'license': 'LGPL-3',
-1
View File
@@ -14,7 +14,6 @@
'data/payment_provider_data.xml',
],
'application': False,
'post_init_hook': 'post_init_hook',
'uninstall_hook': 'uninstall_hook',
'assets': {
-1
View File
@@ -13,7 +13,6 @@
'data/payment_provider_data.xml',
],
'application': False,
'post_init_hook': 'post_init_hook',
'uninstall_hook': 'uninstall_hook',
'license': 'LGPL-3',
-1
View File
@@ -18,7 +18,6 @@
'payment_custom/static/src/js/post_processing.js',
],
},
'application': False,
'post_init_hook': 'post_init_hook',
'uninstall_hook': 'uninstall_hook',
'license': 'LGPL-3',
@@ -13,7 +13,6 @@
'data/payment_provider_data.xml',
],
'application': False,
'post_init_hook': 'post_init_hook',
'uninstall_hook': 'uninstall_hook',
'license': 'LGPL-3',
@@ -13,7 +13,6 @@
'data/payment_provider_data.xml', # Depends on views/payment_mercado_pago_templates.xml
],
'application': False,
'post_init_hook': 'post_init_hook',
'uninstall_hook': 'uninstall_hook',
'license': 'LGPL-3',
-1
View File
@@ -15,7 +15,6 @@
'data/payment_provider_data.xml',
],
'application': False,
'post_init_hook': 'post_init_hook',
'uninstall_hook': 'uninstall_hook',
'license': 'LGPL-3'
-1
View File
@@ -13,7 +13,6 @@
'data/payment_provider_data.xml',
],
'application': False,
'pre_init_hook': 'pre_init_hook',
'post_init_hook': 'post_init_hook',
'uninstall_hook': 'uninstall_hook',
-1
View File
@@ -15,7 +15,6 @@
'data/payment_provider_data.xml',
'data/payment_paypal_email_data.xml',
],
'application': False,
'post_init_hook': 'post_init_hook',
'uninstall_hook': 'uninstall_hook',
'license': 'LGPL-3',
-1
View File
@@ -13,7 +13,6 @@
'data/payment_provider_data.xml',
],
'application': False,
'pre_init_hook': 'pre_init_hook',
'post_init_hook': 'post_init_hook',
'uninstall_hook': 'uninstall_hook',
-1
View File
@@ -13,7 +13,6 @@
'data/payment_provider_data.xml',
],
'application': False,
'pre_init_hook': 'pre_init_hook',
'post_init_hook': 'post_init_hook',
'uninstall_hook': 'uninstall_hook',
-1
View File
@@ -13,7 +13,6 @@
'data/payment_provider_data.xml', # Depends on views/payment_razorpay_templates.xml
],
'application': False,
'post_init_hook': 'post_init_hook',
'uninstall_hook': 'uninstall_hook',
'license': 'LGPL-3',
-1
View File
@@ -14,7 +14,6 @@
'data/payment_provider_data.xml',
],
'application': False,
'post_init_hook': 'post_init_hook',
'uninstall_hook': 'uninstall_hook',
'license': 'LGPL-3',
-1
View File
@@ -14,7 +14,6 @@
'data/payment_provider_data.xml', # Depends on views/payment_stripe_templates.xml
],
'application': False,
'post_init_hook': 'post_init_hook',
'uninstall_hook': 'uninstall_hook',
'assets': {
@@ -13,7 +13,6 @@ This module adds features depending on both modules.
'depends': ['point_of_sale', 'sale_product_configurator'],
'installable': True,
'auto_install': True,
'data': [],
'assets': {
'point_of_sale.assets': [
'pos_sale_product_configurator/static/src/js/models.js',
-2
View File
@@ -5,7 +5,6 @@
'name': 'Privacy',
'category': 'Hidden',
'version': '1.0',
'description': """""",
'depends': ['mail'],
'data': [
'wizard/privacy_lookup_wizard_views.xml',
@@ -14,6 +13,5 @@
'data/ir_actions_server_data.xml',
],
'auto_install': True,
'assets': {},
'license': 'LGPL-3',
}
-3
View File
@@ -7,10 +7,7 @@
'summary': 'Spreadsheet',
'description': 'Spreadsheet',
'depends': ['bus', 'web'],
'data': [],
'demo': [],
'installable': True,
'auto_install': False,
'license': 'LGPL-3',
'assets': {
'spreadsheet.o_spreadsheet': [
@@ -7,7 +7,6 @@
'summary': 'Spreadsheet Accounting formulas',
'description': 'Spreadsheet Accounting formulas',
'depends': ['spreadsheet', 'account'],
'data': [],
'installable': True,
'auto_install': True,
'license': 'LGPL-3',
@@ -10,9 +10,7 @@
'data': [
"data/dashboards.xml",
],
'demo': [],
'installable': True,
'auto_install': ['account'],
'license': 'LGPL-3',
'assets': {}
}
@@ -10,9 +10,7 @@
'data': [
"data/dashboards.xml",
],
'demo': [],
'installable': True,
'auto_install': ['event_sale'],
'license': 'LGPL-3',
'assets': {}
}
@@ -10,9 +10,7 @@
'data': [
"data/dashboards.xml",
],
'demo': [],
'installable': True,
'auto_install': ['sale_expense'],
'license': 'LGPL-3',
'assets': {}
}
@@ -9,9 +9,7 @@
'data': [
"data/dashboards.xml",
],
'demo': [],
'installable': True,
'auto_install': ['hr_timesheet'],
'license': 'LGPL-3',
'assets': {}
}
@@ -10,9 +10,7 @@
'data': [
"data/dashboards.xml",
],
'demo': [],
'installable': True,
'auto_install': ['im_livechat'],
'license': 'LGPL-3',
'assets': {}
}
@@ -10,9 +10,7 @@
'data': [
"data/dashboards.xml",
],
'demo': [],
'installable': True,
'auto_install': ['pos_hr'],
'license': 'LGPL-3',
'assets': {}
}
@@ -9,9 +9,7 @@
'data': [
"data/dashboards.xml",
],
'demo': [],
'installable': True,
'auto_install': ['purchase'],
'license': 'LGPL-3',
'assets': {}
}
@@ -9,9 +9,7 @@
'data': [
"data/dashboards.xml",
],
'demo': [],
'installable': True,
'auto_install': ['purchase_stock'],
'license': 'LGPL-3',
'assets': {}
}
@@ -10,9 +10,6 @@
'data': [
"data/dashboards.xml",
],
'demo': [],
'installable': True,
'auto_install': ['sale'],
'license': 'LGPL-3',
'assets': {}
}
@@ -9,9 +9,7 @@
'data': [
"data/dashboards.xml",
],
'demo': [],
'installable': True,
'auto_install': ['sale_timesheet'],
'license': 'LGPL-3',
'assets': {}
}
@@ -9,9 +9,7 @@
'data': [
"data/dashboards.xml",
],
'demo': [],
'installable': True,
'auto_install': ['stock_account'],
'license': 'LGPL-3',
'assets': {}
}
@@ -9,9 +9,7 @@
'data': [
"data/dashboards.xml",
],
'demo': [],
'installable': True,
'auto_install': ['website_sale_slides'],
'license': 'LGPL-3',
'assets': {}
}
-1
View File
@@ -29,7 +29,6 @@
'data/website_blog_demo.xml'
],
'installable': True,
'application': False,
'assets': {
'website.assets_wysiwyg': [
'website_blog/static/src/js/options.js',
-1
View File
@@ -40,7 +40,6 @@ Ask questions, get answers, no distractions
'data/forum_demo.xml',
],
'installable': True,
'application': False,
'assets': {
'website.assets_editor': [
'website_forum/static/src/js/systray_items/*.js',
@@ -11,7 +11,6 @@
'data': [
'views/res_config_settings_views.xml'
],
'application': False,
'auto_install': True,
'license': 'LGPL-3',
}
@@ -11,7 +11,6 @@
'data': [
'views/res_config_settings_views.xml'
],
'application': False,
'auto_install': True,
'license': 'LGPL-3',
}
@@ -23,7 +23,5 @@ Allows customers to pay for their orders at a shop, instead of paying online.
'website_sale_picking/static/tests/tours/**/*.js'
]
},
'application': False,
'auto_install': False,
'license': 'LGPL-3',
}