From 095843797c3f89f0e81dbc77d049c9a277d64e9e Mon Sep 17 00:00:00 2001 From: "Saurang Suthar(OpenERP)" <> Date: Wed, 22 Aug 2012 18:32:32 +0530 Subject: [PATCH] [IMP] Improved _openerp__.py of all modules by replacing demo_xml with demo, init_xml and update_xml with data and adding noupdate bzr revid: pso@tinyerp.com-20120822130232-un52dks3sclyx8m5 --- .../account_analytic_analysis/__openerp__.py | 10 ++-- .../account_analytic_default/__openerp__.py | 14 ++--- addons/account_asset/__openerp__.py | 17 +++--- addons/account_budget/__openerp__.py | 6 +- addons/account_cancel/__openerp__.py | 10 ++-- addons/account_check_writing/__openerp__.py | 17 ++---- addons/analytic/__openerp__.py | 12 ++-- .../__openerp__.py | 7 +-- .../__openerp__.py | 7 +-- .../analytic_contract_project/__openerp__.py | 2 +- addons/anonymization/__openerp__.py | 4 +- addons/auth_anonymous/__openerp__.py | 28 ++++----- addons/auth_ldap/__openerp__.py | 2 - addons/auth_oauth/__openerp__.py | 19 ++---- addons/auth_openid/__openerp__.py | 16 ++--- addons/auth_reset_password/__openerp__.py | 32 ++++------ addons/auth_signup/__openerp__.py | 12 +--- addons/base_crypt/__openerp__.py | 18 +++--- .../wizard/base_module_save.py | 7 +-- addons/base_tools/__openerp__.py | 4 +- addons/board/__openerp__.py | 13 +--- addons/caldav/__openerp__.py | 26 ++++---- addons/crm/__openerp__.py | 20 +++---- addons/crm_caldav/__openerp__.py | 8 +-- addons/crm_claim/__openerp__.py | 6 +- addons/crm_helpdesk/__openerp__.py | 6 +- addons/crm_partner_assign/__openerp__.py | 8 +-- addons/crm_todo/__openerp__.py | 8 +-- addons/delivery/__openerp__.py | 4 +- addons/document/__openerp__.py | 4 +- addons/document_page/__openerp__.py | 12 +--- addons/document_webdav/__openerp__.py | 36 +++++------ addons/edi/__openerp__.py | 20 ++----- addons/email_template/__openerp__.py | 4 +- addons/event_moodle/__openerp__.py | 8 +-- addons/event_sale/__openerp__.py | 6 +- addons/fetchmail/__openerp__.py | 4 +- addons/google_base_account/__openerp__.py | 6 +- addons/hr/__openerp__.py | 10 ++-- addons/hr_contract/__openerp__.py | 6 +- addons/hr_expense/__openerp__.py | 10 ++-- addons/hr_holidays/__openerp__.py | 2 +- addons/hr_payroll/__openerp__.py | 12 ++-- addons/hr_payroll_account/__openerp__.py | 12 +--- addons/hr_recruitment/__openerp__.py | 8 +-- addons/hr_timesheet_invoice/__openerp__.py | 6 +- addons/hr_timesheet_sheet/__openerp__.py | 4 +- addons/idea/__openerp__.py | 7 +-- addons/import_google/__openerp__.py | 13 ++-- addons/l10n_ar/__openerp__.py | 4 +- addons/l10n_at/__openerp__.py | 16 ++--- addons/l10n_be/__openerp__.py | 3 +- addons/l10n_be_hr_payroll/__openerp__.py | 10 ++-- .../l10n_be_hr_payroll_account/__openerp__.py | 7 +-- addons/l10n_ca/__openerp__.py | 20 +++---- addons/l10n_ch/__openerp__.py | 60 +++++++++---------- addons/l10n_cl/__openerp__.py | 6 +- addons/l10n_cn/__openerp__.py | 14 ++--- addons/l10n_de/__openerp__.py | 16 ++--- addons/l10n_ec/__openerp__.py | 22 +++---- addons/l10n_es/__openerp__.py | 20 +++---- addons/l10n_fr/__openerp__.py | 17 +++--- addons/l10n_fr_hr_payroll/__openerp__.py | 6 +- addons/l10n_gr/__openerp__.py | 25 ++++---- addons/l10n_it/__openerp__.py | 13 ++-- addons/l10n_ma/__openerp__.py | 17 +++--- addons/l10n_multilang/__openerp__.py | 6 +- addons/l10n_mx/__openerp__.py | 19 +++--- addons/l10n_nl/__openerp__.py | 6 +- addons/l10n_pe/__openerp__.py | 9 +-- addons/l10n_pl/__openerp__.py | 3 +- addons/l10n_tr/__openerp__.py | 2 +- addons/l10n_uk/__openerp__.py | 4 +- addons/l10n_us/__openerp__.py | 4 +- addons/l10n_uy/__openerp__.py | 30 +++++----- addons/l10n_ve/__openerp__.py | 17 +++--- addons/mail/__openerp__.py | 6 +- addons/marketing/__openerp__.py | 10 ++-- addons/marketing_campaign/__openerp__.py | 20 +++---- .../__openerp__.py | 16 +++-- addons/mrp/__openerp__.py | 18 +++--- addons/mrp_operations/__openerp__.py | 5 +- addons/mrp_repair/__openerp__.py | 3 +- addons/mrp_subproduct/__openerp__.py | 4 +- addons/multi_company/__openerp__.py | 8 +-- addons/pad/__openerp__.py | 8 +-- addons/plugin/__openerp__.py | 4 +- addons/point_of_sale/__openerp__.py | 20 +++---- addons/portal/__openerp__.py | 10 ++-- addons/portal_claim/__openerp__.py | 6 +- addons/portal_crm/__openerp__.py | 15 ++--- addons/portal_event/__openerp__.py | 4 +- addons/portal_hr_employees/__openerp__.py | 9 +-- addons/portal_project/__openerp__.py | 4 +- addons/portal_project_issue/__openerp__.py | 8 +-- addons/portal_sale/__openerp__.py | 4 +- addons/process/__openerp__.py | 4 +- addons/product/__openerp__.py | 10 ++-- addons/product_manufacturer/__openerp__.py | 14 ++--- addons/product_margin/__openerp__.py | 6 +- addons/project/__openerp__.py | 6 +- addons/project_gtd/__openerp__.py | 4 +- addons/project_issue/__openerp__.py | 14 ++--- addons/project_retro_planning/__openerp__.py | 4 +- addons/purchase_analytic_plans/__openerp__.py | 2 +- addons/purchase_requisition/__openerp__.py | 38 ++++++------ addons/report_designer/__openerp__.py | 4 +- addons/report_webkit_sample/__openerp__.py | 4 +- addons/resource/__openerp__.py | 3 +- addons/sale_crm/__openerp__.py | 13 ++-- addons/sale_order_dates/__openerp__.py | 4 +- addons/share/__openerp__.py | 4 +- addons/stock/__openerp__.py | 18 +++--- addons/stock_location/__openerp__.py | 6 +- addons/survey/__openerp__.py | 26 ++++---- addons/web_linkedin/__openerp__.py | 16 ++--- addons/web_shortcuts/__openerp__.py | 12 +--- 117 files changed, 551 insertions(+), 752 deletions(-) diff --git a/addons/account_analytic_analysis/__openerp__.py b/addons/account_analytic_analysis/__openerp__.py index 71aa1753ecf..7a4e5d519bb 100644 --- a/addons/account_analytic_analysis/__openerp__.py +++ b/addons/account_analytic_analysis/__openerp__.py @@ -35,11 +35,11 @@ Adds menu to show relevant information to each manager.You can also view the rep 'images': ['images/bill_tasks_works.jpeg','images/overpassed_accounts.jpeg'], 'depends': ['hr_timesheet_invoice', 'sale'], #although sale is technically not required to install this module, all menuitems are located under 'Sales' application 'data': [ - 'security/ir.model.access.csv', - 'account_analytic_analysis_view.xml', - 'account_analytic_analysis_menu.xml', - 'account_analytic_analysis_cron.xml', - ], + 'security/ir.model.access.csv', + 'account_analytic_analysis_view.xml', + 'account_analytic_analysis_menu.xml', + 'account_analytic_analysis_cron.xml', + ], 'demo': [], 'installable': True, 'auto_install': False, diff --git a/addons/account_analytic_default/__openerp__.py b/addons/account_analytic_default/__openerp__.py index f91a255ba50..ef01867983a 100644 --- a/addons/account_analytic_default/__openerp__.py +++ b/addons/account_analytic_default/__openerp__.py @@ -20,8 +20,8 @@ ############################################################################## { - 'name' : 'Account Analytic Defaults', - 'version' : '1.0', + 'name': 'Account Analytic Defaults', + 'version': '1.0', 'category': 'Accounting & Finance', 'description': """ Set default values for your analytic accounts. @@ -35,16 +35,16 @@ Allows to automatically select analytic accounts based on criterions: * Company * Date """, - 'author' : 'OpenERP SA', - 'website' : 'http://www.openerp.com', - 'images' : ['images/analytic_defaults.jpeg'], - 'depends' : ['sale'], + 'author': 'OpenERP SA', + 'website': 'http://www.openerp.com', + 'images': ['images/analytic_defaults.jpeg'], + 'depends': ['sale'], 'data': [ 'security/ir.model.access.csv', 'security/account_analytic_default_security.xml', 'account_analytic_default_view.xml' ], - 'demo' : [], + 'demo': [], 'installable': True, 'auto_install': False, 'certificate': '0074229833581', diff --git a/addons/account_asset/__openerp__.py b/addons/account_asset/__openerp__.py index fdb4e4e11d1..93bfd18a7cb 100644 --- a/addons/account_asset/__openerp__.py +++ b/addons/account_asset/__openerp__.py @@ -20,10 +20,10 @@ ############################################################################## { - 'name' : 'Assets Management', - 'version' : '1.0', - 'depends' : ['account'], - 'author' : 'OpenERP S.A.', + 'name': 'Assets Management', + 'version': '1.0', + 'depends': ['account'], + 'author': 'OpenERP S.A.', 'description': """ Financial and accounting asset management. ========================================== @@ -33,17 +33,16 @@ track of depreciation's occurred on those assets. And it allows to create Move's of the depreciation lines. """, - 'website' : 'http://www.openerp.com', - 'category' : 'Accounting & Finance', + 'website': 'http://www.openerp.com', + 'category': 'Accounting & Finance', 'sequence': 32, - 'demo' : [ 'account_asset_demo.xml' - ], + 'demo': [ 'account_asset_demo.xml'], 'test': [ 'test/account_asset_demo.yml', 'test/account_asset.yml', 'test/account_asset_wizard.yml', ], - 'data' : [ + 'data': [ 'security/account_asset_security.xml', 'security/ir.model.access.csv', 'wizard/account_asset_change_duration_view.xml', diff --git a/addons/account_budget/__openerp__.py b/addons/account_budget/__openerp__.py index ebab71e2e53..928e87f1202 100644 --- a/addons/account_budget/__openerp__.py +++ b/addons/account_budget/__openerp__.py @@ -64,9 +64,9 @@ Three reports are available: ], 'demo': ['account_budget_demo.xml'], 'test':[ - 'test/account_budget.yml', - 'test/account_budget_report.yml', - ], + 'test/account_budget.yml', + 'test/account_budget_report.yml', + ], 'installable': True, 'auto_install': False, 'certificate': '0043819694157', diff --git a/addons/account_cancel/__openerp__.py b/addons/account_cancel/__openerp__.py index f04977cd4c7..b1feedda55a 100644 --- a/addons/account_cancel/__openerp__.py +++ b/addons/account_cancel/__openerp__.py @@ -20,9 +20,9 @@ ############################################################################## { - 'name' : 'Cancel Journal Entries', - 'version' : '1.1', - 'author' : 'OpenERP SA', + 'name': 'Cancel Journal Entries', + 'version': '1.1', + 'author': 'OpenERP SA', 'category': 'Accounting & Finance', 'description': """ Allows canceling accounting entries. @@ -32,13 +32,13 @@ This module adds 'Allow Canceling Entries' field on form view of account journal If set to true it allows user to cancel entries & invoices. """, 'website': 'http://www.openerp.com', - 'images' : ['images/account_cancel.jpeg'], + 'images': ['images/account_cancel.jpeg'], 'depends' : ['account'], 'data': ['account_cancel_view.xml' ], 'demo': [], 'installable': True, 'auto_install': False, - 'certificate' : '001101250473177981989', + 'certificate': '001101250473177981989', } diff --git a/addons/account_check_writing/__openerp__.py b/addons/account_check_writing/__openerp__.py index f8bb8ade4b4..f5a2355b002 100644 --- a/addons/account_check_writing/__openerp__.py +++ b/addons/account_check_writing/__openerp__.py @@ -19,29 +19,24 @@ # ############################################################################## { - 'name' : 'Check Writing', - 'version' : '1.1', - 'author' : 'OpenERP SA, NovaPoint Group', + 'name': 'Check Writing', + 'version': '1.1', + 'author': 'OpenERP SA, NovaPoint Group', 'category': 'Generic Modules/Accounting', 'description': """ Module for the Check Writing and Check Printing. ================================================ """, 'website': 'http://www.openerp.com', - 'depends' : [ - 'account_voucher', - ], + 'depends' : ['account_voucher'], 'data': [ 'account_check_writing_report.xml', 'account_view.xml', 'account_voucher_view.xml', 'account_check_writing_data.xml', ], - 'demo': [ - 'account_demo.xml', - ], - 'test': [ - ], + 'demo': ['account_demo.xml'], + 'test': [], 'installable': True, 'active': False, } diff --git a/addons/analytic/__openerp__.py b/addons/analytic/__openerp__.py index 5baf8d9130a..10762a1d2be 100644 --- a/addons/analytic/__openerp__.py +++ b/addons/analytic/__openerp__.py @@ -34,13 +34,13 @@ In OpenERP, analytic accounts are linked to general accounts but are treated totally independently. So, you can enter various different analytic operations that have no counterpart in the general financial accounts. """, - 'data': ['security/analytic_security.xml', - 'security/ir.model.access.csv', - 'analytic_sequence.xml', - 'analytic_view.xml' - ], - 'demo': [ + 'data': [ + 'security/analytic_security.xml', + 'security/ir.model.access.csv', + 'analytic_sequence.xml', + 'analytic_view.xml' ], + 'demo': [], 'installable': True, 'auto_install': False, 'certificate' : '00462253285027988541', diff --git a/addons/analytic_contract_expense_project/__openerp__.py b/addons/analytic_contract_expense_project/__openerp__.py index 7486099399b..8996e9f7565 100644 --- a/addons/analytic_contract_expense_project/__openerp__.py +++ b/addons/analytic_contract_expense_project/__openerp__.py @@ -31,12 +31,9 @@ This module is for modifying project view to show some data related to the hr_ex 'author': 'OpenERP S.A.', 'website': 'http://www.openerp.com/', 'depends': ['analytic_contract_hr_expense','project'], - 'data': [ - 'analytic_contract_expense_project_view.xml', - ], + 'data': ['analytic_contract_expense_project_view.xml'], 'demo': [], - 'css' : [ - ], + 'css' : [], 'installable': True, 'auto_install': True, } diff --git a/addons/analytic_contract_hr_expense/__openerp__.py b/addons/analytic_contract_hr_expense/__openerp__.py index bd11ab8e606..8e807923550 100644 --- a/addons/analytic_contract_hr_expense/__openerp__.py +++ b/addons/analytic_contract_hr_expense/__openerp__.py @@ -31,12 +31,9 @@ This module is for modifying account analytic view to show some data related to 'author': 'OpenERP S.A.', 'website': 'http://www.openerp.com/', 'depends': ['hr_expense','account_analytic_analysis'], - 'data': [ - 'analytic_contract_hr_expense_view.xml', - ], + 'data': ['analytic_contract_hr_expense_view.xml'], 'demo': [], - 'css' : [ - ], + 'css' : [], 'installable': True, 'auto_install': True, } diff --git a/addons/analytic_contract_project/__openerp__.py b/addons/analytic_contract_project/__openerp__.py index 33f63a51c34..9c0be102760 100644 --- a/addons/analytic_contract_project/__openerp__.py +++ b/addons/analytic_contract_project/__openerp__.py @@ -31,7 +31,7 @@ Add "Contract Data" in project view. ==================================== """, 'data': ['analytic_contract_project_view.xml'], - 'demo_xml': [], + 'demo': [], 'installable': True, 'auto_install': True, } diff --git a/addons/anonymization/__openerp__.py b/addons/anonymization/__openerp__.py index b0387dd626b..865fb19ea07 100644 --- a/addons/anonymization/__openerp__.py +++ b/addons/anonymization/__openerp__.py @@ -40,9 +40,7 @@ anonymization process to recover your previous data. 'author': 'OpenERP SA', 'website': 'http://www.openerp.com', 'depends': ['base'], - 'demo': [ - 'anonymization_demo.xml', - ], + 'demo': ['anonymization_demo.xml'], 'data': [ 'ir.model.fields.anonymization.csv', 'security/ir.model.access.csv', diff --git a/addons/auth_anonymous/__openerp__.py b/addons/auth_anonymous/__openerp__.py index db75b1ba2c3..1246850fe04 100644 --- a/addons/auth_anonymous/__openerp__.py +++ b/addons/auth_anonymous/__openerp__.py @@ -1,22 +1,16 @@ { - 'name': 'Anonymous', - 'description': """ + 'name': 'Anonymous', + 'description': """ Allow anonymous access to OpenERP. ================================== """, - 'author': 'OpenERP SA', - 'version': '1.0', - 'category': 'Authentication', - 'website': 'http://www.openerp.com', - 'installable': True, - 'depends': ['web'], - 'data': [ - 'auth_anonymous.xml', - ], - 'js': [ - 'static/src/js/auth_anonymous.js', - ], - 'qweb': [ - 'static/src/xml/auth_anonymous.xml', - ], + 'author': 'OpenERP SA', + 'version': '1.0', + 'category': 'Authentication', + 'website': 'http://www.openerp.com', + 'installable': True, + 'depends': ['web'], + 'data': ['auth_anonymous.xml'], + 'js': ['static/src/js/auth_anonymous.js'], + 'qweb': ['static/src/xml/auth_anonymous.xml'], } diff --git a/addons/auth_ldap/__openerp__.py b/addons/auth_ldap/__openerp__.py index 21e07f175db..aa7c93e4146 100644 --- a/addons/auth_ldap/__openerp__.py +++ b/addons/auth_ldap/__openerp__.py @@ -98,8 +98,6 @@ Interaction with base_crypt: The base_crypt module is not compatible with this module, and will disable LDAP authentication if installed at the same time. """, - - 'website' : 'http://www.openerp.com', 'category' : 'Authentication', 'data' : [ diff --git a/addons/auth_oauth/__openerp__.py b/addons/auth_oauth/__openerp__.py index 99a3a25af5a..a6f731f7bbf 100644 --- a/addons/auth_oauth/__openerp__.py +++ b/addons/auth_oauth/__openerp__.py @@ -32,21 +32,12 @@ Allow users to login through Google OAuth2. 'maintainer': 'OpenERP s.a.', 'website': 'http://www.openerp.com', 'depends': ['base', 'web'], - 'data': [ - 'auth_oauth_data.xml' - ], - 'update_xml': [ - 'auth_oauth_view.xml' - ], - 'js': [ - 'static/src/js/auth_oauth.js', - ], - 'css': [ - 'static/lib/zocial/css/zocial.css', - ], - 'qweb': [ - 'static/src/xml/auth_oauth.xml', + 'data': ['auth_oauth_data.xml', + 'auth_oauth_view.xml' ], + 'js': ['static/src/js/auth_oauth.js'], + 'css': ['static/lib/zocial/css/zocial.css'], + 'qweb': ['static/src/xml/auth_oauth.xml'], 'installable': True, 'auto_install': False, } diff --git a/addons/auth_openid/__openerp__.py b/addons/auth_openid/__openerp__.py index b372e35efbb..10c77f29965 100644 --- a/addons/auth_openid/__openerp__.py +++ b/addons/auth_openid/__openerp__.py @@ -32,18 +32,10 @@ Allow users to login through OpenID. 'maintainer': 'OpenERP s.a.', 'website': 'http://www.openerp.com', 'depends': ['base', 'web'], - 'data': [ - 'res_users.xml', - ], - 'js': [ - 'static/src/js/auth_openid.js', - ], - 'css': [ - 'static/src/css/openid.css', - ], - 'qweb': [ - 'static/src/xml/auth_openid.xml', - ], + 'data': ['res_users.xml'], + 'js': ['static/src/js/auth_openid.js'], + 'css': ['static/src/css/openid.css'], + 'qweb': ['static/src/xml/auth_openid.xml'], 'external_dependencies': { 'python' : ['openid'], }, diff --git a/addons/auth_reset_password/__openerp__.py b/addons/auth_reset_password/__openerp__.py index f7a67aa4b4d..ccf5ca53a21 100644 --- a/addons/auth_reset_password/__openerp__.py +++ b/addons/auth_reset_password/__openerp__.py @@ -1,25 +1,17 @@ { - 'name': 'Reset Password', - 'description': """ + 'name': 'Reset Password', + 'description': """ Allow users to reset their password from the login page. ======================================================== """, - 'author': 'OpenERP SA', - 'version': '1.0', - 'category': 'Authentication', - 'website': 'http://www.openerp.com', - 'installable': True, - 'depends': ['auth_anonymous', 'email_template'], - 'data': [ - 'auth_reset_password.xml', - ], - 'js': [ - 'static/src/js/reset_password.js', - ], - 'css': [ - 'static/src/css/reset_password.css', - ], - 'qweb': [ - 'static/src/xml/reset_password.xml', - ], + 'author': 'OpenERP SA', + 'version': '1.0', + 'category': 'Authentication', + 'website': 'http://www.openerp.com', + 'installable': True, + 'depends': ['auth_anonymous', 'email_template'], + 'data': ['auth_reset_password.xml'], + 'js': ['static/src/js/reset_password.js'], + 'css': ['static/src/css/reset_password.css'], + 'qweb': ['static/src/xml/reset_password.xml'], } diff --git a/addons/auth_signup/__openerp__.py b/addons/auth_signup/__openerp__.py index 80f120efd9b..5f889bfb119 100644 --- a/addons/auth_signup/__openerp__.py +++ b/addons/auth_signup/__openerp__.py @@ -31,13 +31,7 @@ Allow users to sign up. 'website': 'http://www.openerp.com', 'installable': True, 'depends': ['base_setup'], - 'data': [ - 'res_config.xml', - ], - 'js': [ - 'static/src/js/auth_signup.js', - ], - 'qweb': [ - 'static/src/xml/auth_signup.xml', - ], + 'data': ['res_config.xml'], + 'js': ['static/src/js/auth_signup.js'], + 'qweb': ['static/src/xml/auth_signup.xml'], } diff --git a/addons/base_crypt/__openerp__.py b/addons/base_crypt/__openerp__.py index 8dcc79c2b3c..d0252f6810c 100644 --- a/addons/base_crypt/__openerp__.py +++ b/addons/base_crypt/__openerp__.py @@ -19,12 +19,12 @@ # ############################################################################## { - 'name' : 'DB Password Encryption', - 'version' : '1.1', - 'author' : ['OpenERP SA', 'FS3'], - 'maintainer' : 'OpenERP SA', - 'website' : 'http://www.openerp.com', - 'category' : 'Tools', + 'name': 'DB Password Encryption', + 'version': '1.1', + 'author': ['OpenERP SA', 'FS3'], + 'maintainer': 'OpenERP SA', + 'website': 'http://www.openerp.com', + 'category': 'Tools', 'description': """ Replaces cleartext passwords in the database with a secure hash. ================================================================ @@ -54,11 +54,11 @@ Interaction with LDAP authentication: This module is currently not compatible with the ``user_ldap`` module and will disable LDAP authentication completely if installed at the same time. """, - 'depends' : ['base'], - 'data' : [], + 'depends': ['base'], + 'data': [], 'auto_install': False, 'installable': True, - 'certificate' : '00721290471310299725', + 'certificate': '00721290471310299725', } # vim:expandtab:smartindent:tabstop=4:softtabstop=4:shiftwidth=4: diff --git a/addons/base_module_record/wizard/base_module_save.py b/addons/base_module_record/wizard/base_module_save.py index 5e557472f7e..a63e7197654 100644 --- a/addons/base_module_record/wizard/base_module_save.py +++ b/addons/base_module_record/wizard/base_module_save.py @@ -60,9 +60,8 @@ def _create_module(self, cr, uid, ids, context=None): "category" : "%(category)s", "description": \"\"\"%(description)s\"\"\", "depends" : [%(depends)s], - "init_xml" : [ ], - "demo_xml" : [ %(demo_name)s], - "update_xml" : [%(update_name)s], + "demo" : [ %(demo_name)s], + "data" : [%(update_name)s], "installable": True } """ % data filewrite = { @@ -167,4 +166,4 @@ class base_module_save(osv.osv_memory): base_module_save() -# vim:expandtab:smartindent:tabstop=4:softtabstop=4:shiftwidth=4: \ No newline at end of file +# vim:expandtab:smartindent:tabstop=4:softtabstop=4:shiftwidth=4: diff --git a/addons/base_tools/__openerp__.py b/addons/base_tools/__openerp__.py index c41ee4873c2..84f10e78959 100644 --- a/addons/base_tools/__openerp__.py +++ b/addons/base_tools/__openerp__.py @@ -11,9 +11,7 @@ Common base for tools modules. Creates menu link for Tools from where tools like survey, lunch, idea are accessible if installed. """, - 'data': [ - 'tools_view.xml' - ], + 'data': ['tools_view.xml'], 'installable': True, 'certificate' : '00571588675379342237' } diff --git a/addons/board/__openerp__.py b/addons/board/__openerp__.py index f3733d89a5b..f07878717fd 100644 --- a/addons/board/__openerp__.py +++ b/addons/board/__openerp__.py @@ -39,16 +39,9 @@ The user can also publish notes. 'board_view.xml', 'board_mydashboard_view.xml' ], - 'js': [ - 'static/src/js/dashboard.js', - ], - 'css': [ - 'static/src/css/dashboard.css', - ], - 'qweb': [ - 'static/src/xml/*.xml', - ], - + 'js': ['static/src/js/dashboard.js'], + 'css': ['static/src/css/dashboard.css'], + 'qweb': ['static/src/xml/*.xml'], 'installable': True, 'auto_install': False, 'certificate': '0076912305725', diff --git a/addons/caldav/__openerp__.py b/addons/caldav/__openerp__.py index b1d9deff415..4d35b00bdb4 100644 --- a/addons/caldav/__openerp__.py +++ b/addons/caldav/__openerp__.py @@ -24,10 +24,10 @@ 'name': 'Share Calendar Using CalDAV', 'version': '1.1', 'depends': [ - 'base', - 'document_webdav', - ], - 'description': """ + 'base', + 'document_webdav', + ], + 'description': """ This module contains basic functionality for Caldav system. =========================================================== @@ -58,15 +58,15 @@ To access OpenERP Calendar using WebCal to remote site use the URL like: 'website': 'http://www.openerp.com', 'demo': [], 'data': [ - 'security/ir.model.access.csv', - 'wizard/calendar_event_export_view.xml', - 'wizard/calendar_event_import_view.xml', - 'wizard/calendar_event_subscribe_view.xml', - 'wizard/caldav_browse_view.xml', - 'caldav_view.xml', - 'caldav_setup.xml', - 'caldav_data.xml' - ], + 'security/ir.model.access.csv', + 'wizard/calendar_event_export_view.xml', + 'wizard/calendar_event_import_view.xml', + 'wizard/calendar_event_subscribe_view.xml', + 'wizard/caldav_browse_view.xml', + 'caldav_view.xml', + 'caldav_setup.xml', + 'caldav_data.xml' + ], 'installable': True, 'auto_install': False, 'certificate': '00924841426645403741', diff --git a/addons/crm/__openerp__.py b/addons/crm/__openerp__.py index a5df8eed3d6..415431bf531 100644 --- a/addons/crm/__openerp__.py +++ b/addons/crm/__openerp__.py @@ -120,16 +120,16 @@ Creates a dashboard for CRM that includes: 'crm_phonecall_demo.xml', ], 'test': [ - 'test/process/communication_with_customer.yml', - 'test/process/lead2opportunity2win.yml', - 'test/process/merge_opportunity.yml', - 'test/process/cancel_lead.yml', - 'test/process/action_rule.yml', - 'test/process/segmentation.yml', - 'test/ui/crm_demo.yml', - 'test/ui/duplicate_lead.yml', - 'test/ui/delete_lead.yml' - ], + 'test/process/communication_with_customer.yml', + 'test/process/lead2opportunity2win.yml', + 'test/process/merge_opportunity.yml', + 'test/process/cancel_lead.yml', + 'test/process/action_rule.yml', + 'test/process/segmentation.yml', + 'test/ui/crm_demo.yml', + 'test/ui/duplicate_lead.yml', + 'test/ui/delete_lead.yml' + ], 'installable': True, 'application': True, 'auto_install': False, diff --git a/addons/crm_caldav/__openerp__.py b/addons/crm_caldav/__openerp__.py index 98a32cd1cb7..f1f9f05cafd 100644 --- a/addons/crm_caldav/__openerp__.py +++ b/addons/crm_caldav/__openerp__.py @@ -35,10 +35,10 @@ Caldav features in Meeting. 'website': 'http://www.openerp.com', 'depends': ['caldav', 'crm' ], 'data': [ - 'crm_caldav_data.xml', - 'crm_caldav_setup.xml', - 'crm_caldav_view.xml' - ], + 'crm_caldav_data.xml', + 'crm_caldav_setup.xml', + 'crm_caldav_view.xml' + ], 'demo': [], 'installable': True, 'auto_install': False, diff --git a/addons/crm_claim/__openerp__.py b/addons/crm_claim/__openerp__.py index 429ff335ee7..f35dd306e93 100644 --- a/addons/crm_claim/__openerp__.py +++ b/addons/crm_claim/__openerp__.py @@ -42,12 +42,10 @@ automatically new claims based on incoming emails. 'res_config_view.xml', 'crm_claim_data.xml', ], - 'demo': [ - 'crm_claim_demo.xml', - ], + 'demo': ['crm_claim_demo.xml'], 'test': ['test/process/claim.yml', 'test/ui/claim_demo.yml' - ], + ], 'installable': True, 'auto_install': False, 'certificate' : '00612027414703404749', diff --git a/addons/crm_helpdesk/__openerp__.py b/addons/crm_helpdesk/__openerp__.py index 2c614177ac8..e2d246cb2db 100644 --- a/addons/crm_helpdesk/__openerp__.py +++ b/addons/crm_helpdesk/__openerp__.py @@ -21,8 +21,8 @@ { - 'category': 'Customer Relationship Management', 'name': 'Helpdesk', + 'category': 'Customer Relationship Management', 'version': '1.0', 'description': """ Helpdesk Management. @@ -43,9 +43,7 @@ and categorize your interventions with a channel and a priority level. 'report/crm_helpdesk_report_view.xml', 'crm_helpdesk_data.xml', ], - 'demo': [ - 'crm_helpdesk_demo.xml', - ], + 'demo': ['crm_helpdesk_demo.xml'], 'test': ['test/process/help-desk.yml'], 'installable': True, 'auto_install': False, diff --git a/addons/crm_partner_assign/__openerp__.py b/addons/crm_partner_assign/__openerp__.py index b9f8fa65ee5..c9d6990025c 100644 --- a/addons/crm_partner_assign/__openerp__.py +++ b/addons/crm_partner_assign/__openerp__.py @@ -38,9 +38,7 @@ You can also use the geolocalization without using the GPS coordinates. """, 'author': 'OpenERP SA', 'depends': ['crm', 'account'], - 'demo': [ - 'res_partner_demo.xml', - ], + 'demo': ['res_partner_demo.xml'], 'data': [ 'security/ir.model.access.csv', 'res_partner_view.xml', @@ -49,9 +47,7 @@ You can also use the geolocalization without using the GPS coordinates. 'report/crm_lead_report_view.xml', 'report/crm_partner_report_view.xml', ], - 'test': [ - 'test/partner_assign.yml' - ], + 'test': ['test/partner_assign.yml'], 'installable': True, 'auto_install': False, 'certificate': '00503409558942442061', diff --git a/addons/crm_todo/__openerp__.py b/addons/crm_todo/__openerp__.py index 3b287e0cd77..255f7dce1c3 100644 --- a/addons/crm_todo/__openerp__.py +++ b/addons/crm_todo/__openerp__.py @@ -30,12 +30,8 @@ Todo list for CRM leads and opportunities. """, 'author': 'OpenERP SA', 'depends': ['crm','project_gtd'], - 'data': [ - 'crm_todo_view.xml', - ], - 'demo': [ - 'crm_todo_demo.xml', - ], + 'data': ['crm_todo_view.xml'], + 'demo': ['crm_todo_demo.xml'], 'installable': True, 'auto_install': False, } diff --git a/addons/delivery/__openerp__.py b/addons/delivery/__openerp__.py index 03bb2662b77..6a355096e4e 100644 --- a/addons/delivery/__openerp__.py +++ b/addons/delivery/__openerp__.py @@ -41,9 +41,7 @@ invoices from picking, OpenERP is able to add and compute the shipping line. 'delivery_data.xml' ], 'demo': ['delivery_demo.xml'], - 'test': [ - 'test/delivery_cost.yml', - ], + 'test': ['test/delivery_cost.yml'], 'installable': True, 'auto_install': False, 'certificate': '0033981912253', diff --git a/addons/document/__openerp__.py b/addons/document/__openerp__.py index 00b265a9c08..212965a8162 100644 --- a/addons/document/__openerp__.py +++ b/addons/document/__openerp__.py @@ -56,9 +56,7 @@ ATTENTION: 'board_document_view.xml', ], 'demo': [ 'document_demo.xml','board_document_demo.xml'], - 'test': [ - 'test/document_test2.yml', - ], + 'test': ['test/document_test2.yml'], 'installable': True, 'auto_install': False, 'certificate': '0070515416461', diff --git a/addons/document_page/__openerp__.py b/addons/document_page/__openerp__.py index 274d3e4d29d..a88e1d827d7 100644 --- a/addons/document_page/__openerp__.py +++ b/addons/document_page/__openerp__.py @@ -38,12 +38,8 @@ Web pages 'security/document_page_security.xml', 'security/ir.model.access.csv', ], - 'demo': [ - 'document_page_demo.xml' - ], - 'test': [ - 'test/document_page_test00.yml' - ], + 'demo': ['document_page_demo.xml'], + 'test': ['test/document_page_test00.yml'], 'installable': True, 'auto_install': False, 'certificate': '0086363630317', @@ -52,8 +48,6 @@ Web pages 'static/src/lib/wiky/wiky.js', 'static/src/js/document_page.js' ], - 'css' : [ - 'static/src/css/document_page.css' - ], + 'css' : ['static/src/css/document_page.css'], } # vim:expandtab:smartindent:tabstop=4:softtabstop=4:shiftwidth=4: diff --git a/addons/document_webdav/__openerp__.py b/addons/document_webdav/__openerp__.py index 341fd109fc8..1f7cb20e795 100644 --- a/addons/document_webdav/__openerp__.py +++ b/addons/document_webdav/__openerp__.py @@ -29,12 +29,12 @@ ############################################################################## { - 'name': 'Shared Repositories (WebDAV)', - 'version': '2.3', - 'author': 'OpenERP SA', - 'category': 'Knowledge Management', - 'website': 'http://www.openerp.com', - 'description': """ + 'name': 'Shared Repositories (WebDAV)', + 'version': '2.3', + 'author': 'OpenERP SA', + 'category': 'Knowledge Management', + 'website': 'http://www.openerp.com', + 'description': """ With this module, the WebDAV server for documents is activated. =============================================================== @@ -60,18 +60,18 @@ Server Configuration Parameter: Also implements IETF RFC 5785 for services discovery on a http server, which needs explicit configuration in openerp-server.conf too. """, - 'depends': ['base', 'document'], - 'data': ['security/ir.model.access.csv', - 'webdav_view.xml', - 'webdav_setup.xml', - ], - 'demo': [], - 'test': [ #'test/webdav_test1.yml', - ], - 'auto_install': False, - 'installable': True, - 'certificate' : '001236490750845657973', - 'images': ['images/dav_properties.jpeg','images/directories_structure_principals.jpeg'], + 'depends': ['base', 'document'], + 'data': ['security/ir.model.access.csv', + 'webdav_view.xml', + 'webdav_setup.xml', + ], + 'demo': [], + 'test': [ #'test/webdav_test1.yml', + ], + 'auto_install': False, + 'installable': True, + 'certificate' : '001236490750845657973', + 'images': ['images/dav_properties.jpeg','images/directories_structure_principals.jpeg'], } # vim:expandtab:smartindent:tabstop=4:softtabstop=4:shiftwidth=4: diff --git a/addons/edi/__openerp__.py b/addons/edi/__openerp__.py index bfed4b6958e..eb64d9b3fdd 100644 --- a/addons/edi/__openerp__.py +++ b/addons/edi/__openerp__.py @@ -36,21 +36,11 @@ documentation at http://doc.openerp.com. 'website': 'http://www.openerp.com', 'depends': ['base', 'email_template'], 'icon': '/edi/static/src/img/knowledge.png', - 'data': [ - 'security/ir.model.access.csv', - ], - 'test': [ - 'test/edi_partner_test.yml', - ], - 'js': [ - 'static/src/js/edi.js', - ], - 'css': [ - 'static/src/css/edi.css' - ], - 'qweb': [ - 'static/src/xml/*.xml', - ], + 'data': ['security/ir.model.access.csv'], + 'test': ['test/edi_partner_test.yml'], + 'js': ['static/src/js/edi.js'], + 'css': ['static/src/css/edi.css'], + 'qweb': ['static/src/xml/*.xml'], 'installable': True, 'auto_install': False, 'certificate': '002046536359186', diff --git a/addons/email_template/__openerp__.py b/addons/email_template/__openerp__.py index 1eb2391acd8..aaf2f52289a 100644 --- a/addons/email_template/__openerp__.py +++ b/addons/email_template/__openerp__.py @@ -62,9 +62,7 @@ campaigns on any OpenERP document. 'wizard/mail_compose_message_view.xml', 'security/ir.model.access.csv' ], - 'demo': [ - 'res_partner_demo.yml', - ], + 'demo': ['res_partner_demo.yml'], 'installable': True, 'auto_install': False, 'certificate' : '00817073628967384349', diff --git a/addons/event_moodle/__openerp__.py b/addons/event_moodle/__openerp__.py index f1428544342..fdfb793b494 100644 --- a/addons/event_moodle/__openerp__.py +++ b/addons/event_moodle/__openerp__.py @@ -64,10 +64,10 @@ confirmation email to communicate the login/password of moodle to your subscribe 'author': 'OpenERP SA', 'depends': ['event'], 'data': [ - 'wizard_moodle.xml', - 'event_view.xml', - 'security/ir.model.access.csv' - ], + 'wizard_moodle.xml', + 'event_view.xml', + 'security/ir.model.access.csv' + ], 'demo': [], 'test': [], 'installable': True, diff --git a/addons/event_sale/__openerp__.py b/addons/event_sale/__openerp__.py index 7aeecde423e..0481a2a3e20 100644 --- a/addons/event_sale/__openerp__.py +++ b/addons/event_sale/__openerp__.py @@ -39,11 +39,9 @@ this event. """, 'author': 'OpenERP SA', 'depends': ['event','sale','sale_crm'], - 'data': [ - 'event_sale_view.xml', - ], + 'data': ['event_sale_view.xml'], 'demo': ['event_demo.xml'], - 'test':['test/confirm.yml'], + 'test': ['test/confirm.yml'], 'installable': True, 'active': False, } diff --git a/addons/fetchmail/__openerp__.py b/addons/fetchmail/__openerp__.py index 2cb3978c5c6..3bfcf4d95a3 100644 --- a/addons/fetchmail/__openerp__.py +++ b/addons/fetchmail/__openerp__.py @@ -61,9 +61,7 @@ For more specific needs, you may also assign custom-defined actions 'security/ir.model.access.csv', 'fetchmail_installer_view.xml' ], - 'demo': [ - - ], + 'demo': [], 'installable': True, 'auto_install': False, 'certificate' : '00692978332890137453', diff --git a/addons/google_base_account/__openerp__.py b/addons/google_base_account/__openerp__.py index 5fa2b98c64b..b4d996f2807 100644 --- a/addons/google_base_account/__openerp__.py +++ b/addons/google_base_account/__openerp__.py @@ -32,9 +32,9 @@ The module adds google user in res user. 'website': 'http://www.openerp.com', 'depends': ['base'], 'data': [ - 'google_base_account_view.xml', - 'wizard/google_login_view.xml', - ], + 'google_base_account_view.xml', + 'wizard/google_login_view.xml', + ], 'demo': [], 'installable': True, 'auto_install': False, diff --git a/addons/hr/__openerp__.py b/addons/hr/__openerp__.py index cf7c56c1f8e..8dc202230e6 100644 --- a/addons/hr/__openerp__.py +++ b/addons/hr/__openerp__.py @@ -57,13 +57,11 @@ You can manage: 'hr_data.xml', 'res_config_view.xml', ], - 'demo': [ - 'hr_demo.xml', - ], + 'demo': ['hr_demo.xml'], 'test': [ - 'test/open2recruit2close_job.yml', - 'test/hr_demo.yml', - ], + 'test/open2recruit2close_job.yml', + 'test/hr_demo.yml', + ], 'installable': True, 'application': True, 'auto_install': False, diff --git a/addons/hr_contract/__openerp__.py b/addons/hr_contract/__openerp__.py index a492cb3b08f..98f6162778a 100644 --- a/addons/hr_contract/__openerp__.py +++ b/addons/hr_contract/__openerp__.py @@ -43,11 +43,9 @@ You can assign several contracts per employee. 'security/ir.model.access.csv', 'hr_contract_view.xml', 'hr_contract_data.xml' - ], + ], 'demo': [], - 'test': [ - 'test/test_hr_contract.yml' - ], + 'test': ['test/test_hr_contract.yml'], 'installable': True, 'auto_install': False, 'certificate': '0046298028637', diff --git a/addons/hr_expense/__openerp__.py b/addons/hr_expense/__openerp__.py index ea4575c484a..2b4d4ca3957 100644 --- a/addons/hr_expense/__openerp__.py +++ b/addons/hr_expense/__openerp__.py @@ -59,13 +59,11 @@ re-invoice your customer's expenses if your work by project. 'board_hr_expense_view.xml', 'hr_expense_installer_view.xml', ], - 'demo': [ - 'hr_expense_demo.xml', - ], + 'demo': ['hr_expense_demo.xml'], 'test': [ - 'test/expense_demo.yml', - 'test/expense_process.yml', - ], + 'test/expense_demo.yml', + 'test/expense_process.yml', + ], 'installable': True, 'auto_install': False, 'certificate': '0062479841789', diff --git a/addons/hr_holidays/__openerp__.py b/addons/hr_holidays/__openerp__.py index c68954a46fb..d5a2728c763 100644 --- a/addons/hr_holidays/__openerp__.py +++ b/addons/hr_holidays/__openerp__.py @@ -75,7 +75,7 @@ Note that: 'demo': ['hr_holidays_demo.xml',], 'test': ['test/test_hr_holiday.yml', 'test/hr_holidays_report.yml', - ], + ], 'installable': True, 'application': True, 'auto_install': False, diff --git a/addons/hr_payroll/__openerp__.py b/addons/hr_payroll/__openerp__.py index c5a411e387b..62a0348940b 100644 --- a/addons/hr_payroll/__openerp__.py +++ b/addons/hr_payroll/__openerp__.py @@ -59,14 +59,12 @@ Generic Payroll system. 'res_config_view.xml', ], 'test': [ - 'test/payslip.yml', -# 'test/payment_advice.yml', -# 'test/payroll_register.yml', - # 'test/hr_payroll_report.yml', - ], - 'demo': [ - 'hr_payroll_demo.xml' + 'test/payslip.yml', +# 'test/payment_advice.yml', +# 'test/payroll_register.yml', + # 'test/hr_payroll_report.yml', ], + 'demo': ['hr_payroll_demo.xml'], 'installable': True, 'auto_install': False, 'certificate' : '001046261404562128861', diff --git a/addons/hr_payroll_account/__openerp__.py b/addons/hr_payroll_account/__openerp__.py index 354912c1804..3f960507a8d 100644 --- a/addons/hr_payroll_account/__openerp__.py +++ b/addons/hr_payroll_account/__openerp__.py @@ -39,15 +39,9 @@ Generic Payroll system Integrated with Accounting. 'account', 'hr_expense' ], - 'data': [ - 'hr_payroll_account_view.xml', - ], - 'demo': [ - 'hr_payroll_account_demo.xml' - ], - 'test': [ - 'test/hr_payroll_account.yml', - ], + 'data': ['hr_payroll_account_view.xml'], + 'demo': ['hr_payroll_account_demo.xml'], + 'test': ['test/hr_payroll_account.yml'], 'installable': True, 'auto_install': False, 'certificate' : '00923971112835220957', diff --git a/addons/hr_recruitment/__openerp__.py b/addons/hr_recruitment/__openerp__.py index 1a6abbef976..ee000f3951e 100644 --- a/addons/hr_recruitment/__openerp__.py +++ b/addons/hr_recruitment/__openerp__.py @@ -60,13 +60,9 @@ system to store and search in your CV base. 'res_config_view.xml', 'hr_recruitment_data.xml' ], - 'demo': [ - 'hr_recruitment_demo.yml', - ], + 'demo': ['hr_recruitment_demo.yml'], 'js': ['static/src/js/hr_recruitment.js'], - 'test': [ - 'test/recruitment_process.yml', - ], + 'test': ['test/recruitment_process.yml'], 'installable': True, 'auto_install': False, 'certificate': '001073437025460275621', diff --git a/addons/hr_timesheet_invoice/__openerp__.py b/addons/hr_timesheet_invoice/__openerp__.py index e233158bda3..047f0b414dc 100644 --- a/addons/hr_timesheet_invoice/__openerp__.py +++ b/addons/hr_timesheet_invoice/__openerp__.py @@ -48,12 +48,10 @@ reports.""", 'wizard/hr_timesheet_invoice_create_view.xml', 'wizard/hr_timesheet_invoice_create_final_view.xml', ], - 'demo': [ - 'hr_timesheet_invoice_demo.xml', - ], + 'demo': ['hr_timesheet_invoice_demo.xml'], 'test': ['test/test_hr_timesheet_invoice.yml', 'test/hr_timesheet_invoice_report.yml', - ], + ], 'installable': True, 'auto_install': False, 'certificate': '0056091842381', diff --git a/addons/hr_timesheet_sheet/__openerp__.py b/addons/hr_timesheet_sheet/__openerp__.py index 94349689413..34fbb602c9a 100644 --- a/addons/hr_timesheet_sheet/__openerp__.py +++ b/addons/hr_timesheet_sheet/__openerp__.py @@ -66,9 +66,7 @@ The validation can be configured in the company: 'hr_timesheet_sheet_data.xml', 'res_config_view.xml', ], - 'demo': ['hr_timesheet_sheet_demo.xml', - - ], + 'demo': ['hr_timesheet_sheet_demo.xml'], 'test':['test/test_hr_timesheet_sheet.yml'], 'installable': True, 'auto_install': False, diff --git a/addons/idea/__openerp__.py b/addons/idea/__openerp__.py index c8c8d87c711..3c7a3fca1b0 100644 --- a/addons/idea/__openerp__.py +++ b/addons/idea/__openerp__.py @@ -42,11 +42,8 @@ Once installed, check the menu 'Ideas' in the 'Tools' main menu.""", 'idea_view.xml', 'idea_workflow.xml', ], - 'demo': [ - 'idea_data.xml' - ], - 'test':[ - ], + 'demo': ['idea_data.xml'], + 'test':[], 'installable': True, 'images': [], } diff --git a/addons/import_google/__openerp__.py b/addons/import_google/__openerp__.py index ff91ffe54d8..b7e190325f1 100644 --- a/addons/import_google/__openerp__.py +++ b/addons/import_google/__openerp__.py @@ -31,15 +31,14 @@ The module adds google contact in partner address and add google calendar events 'website': 'http://www.openerp.com', 'depends': ['base', 'import_base', 'google_base_account', 'base_calendar'], 'data': ['security/ir.model.access.csv', - 'sync_google_calendar_view.xml', - 'wizard/import_google_data_view.xml', - 'wizard/google_import_message_view.xml' - - ], + 'sync_google_calendar_view.xml', + 'wizard/import_google_data_view.xml', + 'wizard/google_import_message_view.xml' + ], 'demo': [], 'test': [ - #'test/test_sync_google_contact_import_partner.yml', - #'test/test_sync_google_calendar.yml', + #'test/test_sync_google_contact_import_partner.yml', + #'test/test_sync_google_calendar.yml', ], 'installable': True, 'auto_install': False, diff --git a/addons/l10n_ar/__openerp__.py b/addons/l10n_ar/__openerp__.py index 1040a95a924..2546e1f6bb4 100644 --- a/addons/l10n_ar/__openerp__.py +++ b/addons/l10n_ar/__openerp__.py @@ -31,9 +31,7 @@ Plan contable argentino e impuestos de acuerdo a disposiciones vigentes 'author': ['Cubic ERP'], 'website': 'http://cubicERP.com', 'category': 'Localization/Account Charts', - 'depends': [ - 'account_chart', - ], + 'depends': ['account_chart'], 'data':[ 'account_tax_code.xml', 'l10n_ar_chart.xml', diff --git a/addons/l10n_at/__openerp__.py b/addons/l10n_at/__openerp__.py index 05a6ff5fd17..e9fdd4bf8fd 100644 --- a/addons/l10n_at/__openerp__.py +++ b/addons/l10n_at/__openerp__.py @@ -20,19 +20,19 @@ ############################################################################## { - 'name' : 'Austria - Accounting', - 'version' : '1.0', - 'author' : 'conexus.at', - 'website' : 'http://www.conexus.at', - 'category' : 'Localization/Account Charts', - 'depends' : ['account_chart', 'base_vat'], + 'name': 'Austria - Accounting', + 'version': '1.0', + 'author': 'conexus.at', + 'website': 'http://www.conexus.at', + 'category': 'Localization/Account Charts', + 'depends': ['account_chart', 'base_vat'], 'description': """ This module provides the standard Accounting Chart for Austria which is based on the Template from BMF.gv.at. ============================================================================================================= Please keep in mind that you should review and adapt it with your Accountant, before using it in a live Environment. """, - 'demo' : [], - 'data' : ['account_tax_code.xml','account_chart.xml','account_tax.xml','l10n_chart_at_wizard.xml'], + 'demo': [], + 'data': ['account_tax_code.xml','account_chart.xml','account_tax.xml','l10n_chart_at_wizard.xml'], 'auto_install': False, 'installable': True } diff --git a/addons/l10n_be/__openerp__.py b/addons/l10n_be/__openerp__.py index 8ad77a1f33c..4d301bfafe4 100644 --- a/addons/l10n_be/__openerp__.py +++ b/addons/l10n_be/__openerp__.py @@ -18,7 +18,8 @@ # along with this program. If not, see . # ############################################################################## -{ 'name': 'Belgium - Accounting', +{ + 'name': 'Belgium - Accounting', 'version': '1.1', 'category': 'Localization/Account Charts', 'description': """ diff --git a/addons/l10n_be_hr_payroll/__openerp__.py b/addons/l10n_be_hr_payroll/__openerp__.py index e0d7ada059b..9d6fa87dfca 100644 --- a/addons/l10n_be_hr_payroll/__openerp__.py +++ b/addons/l10n_be_hr_payroll/__openerp__.py @@ -40,13 +40,11 @@ Belgian Payroll Rules. """, 'auto_install': False, - 'demo': [ - 'l10n_be_hr_payroll_demo.xml', - ], + 'demo': ['l10n_be_hr_payroll_demo.xml'], 'data':[ - 'l10n_be_hr_payroll_view.xml', - 'l10n_be_hr_payroll_data.xml', - 'data/hr.salary.rule.csv', + 'l10n_be_hr_payroll_view.xml', + 'l10n_be_hr_payroll_data.xml', + 'data/hr.salary.rule.csv', ], 'installable': True } diff --git a/addons/l10n_be_hr_payroll_account/__openerp__.py b/addons/l10n_be_hr_payroll_account/__openerp__.py index 29b3d28a0d4..7ba7caaa3e0 100644 --- a/addons/l10n_be_hr_payroll_account/__openerp__.py +++ b/addons/l10n_be_hr_payroll_account/__openerp__.py @@ -30,11 +30,10 @@ Accounting Data for Belgian Payroll Rules. """, 'auto_install': True, - 'demo': [ - ], + 'demo': [], 'data':[ - 'l10n_be_hr_payroll_account_data.xml', - 'data/hr.salary.rule.csv', + 'l10n_be_hr_payroll_account_data.xml', + 'data/hr.salary.rule.csv', ], 'installable': True } diff --git a/addons/l10n_ca/__openerp__.py b/addons/l10n_ca/__openerp__.py index a132cadf674..5f12d7331b6 100644 --- a/addons/l10n_ca/__openerp__.py +++ b/addons/l10n_ca/__openerp__.py @@ -19,19 +19,19 @@ # ############################################################################## { - 'name' : 'Canada - Accounting', - 'version' : '1.0', - 'author' : 'Savoir-faire Linux', - 'website' : 'http://www.savoirfairelinux.com', - 'category' : 'Localization/Account Charts', + 'name': 'Canada - Accounting', + 'version': '1.0', + 'author': 'Savoir-faire Linux', + 'website': 'http://www.savoirfairelinux.com', + 'category': 'Localization/Account Charts', 'description': """ This is the module to manage the English and French - Canadian accounting chart in OpenERP. =========================================================================================== Canadian accounting charts and localizations. """, - 'depends' : ['base', 'account', 'base_iban', 'base_vat', 'account_chart'], - 'data' : [ + 'depends': ['base', 'account', 'base_iban', 'base_vat', 'account_chart'], + 'data': [ 'account_chart_en.xml', 'account_tax_code_en.xml', 'account_chart_template_en.xml', @@ -44,9 +44,9 @@ Canadian accounting charts and localizations. 'fiscal_templates_fr.xml', 'l10n_ca_wizard.xml', ], - 'demo' : [], - 'installable' : True, - 'certificate' : '00941680933773696173', + 'demo': [], + 'installable': True, + 'certificate': '00941680933773696173', 'images': ['images/config_chart_l10n_ca.jpeg','images/l10n_ca_chart.jpeg'], } # vim:expandtab:smartindent:tabstop=4:softtabstop=4:shiftwidth=4: diff --git a/addons/l10n_ch/__openerp__.py b/addons/l10n_ch/__openerp__.py index 69c20e36c60..4e8f13fda7a 100644 --- a/addons/l10n_ch/__openerp__.py +++ b/addons/l10n_ch/__openerp__.py @@ -20,8 +20,8 @@ ############################################################################## { - 'name' : 'Switzerland - Accounting', - 'description' : """ + 'name': 'Switzerland - Accounting', + 'description': """ Swiss localization : ==================== - DTA generation for a lot of payment types @@ -68,41 +68,41 @@ TODO : 'author': 'Camptocamp', 'category': 'Localization/Account Charts', 'website': 'http://www.camptocamp.com', - - 'depends' : [ 'account_cancel', - 'base_iban', - 'account_payment', - 'account_voucher', - 'report_webkit', - 'l10n_multilang'], - + 'depends': ['account_cancel', + 'base_iban', + 'account_payment', + 'account_voucher', + 'report_webkit', + 'l10n_multilang' + ], 'data': ['dta_data.xml', - 'journal_data.xml', - #FR sterchi chart data - 'sterchi_chart/account.xml', - 'sterchi_chart/vat.xml', - 'sterchi_chart/vat2011.xml', - 'sterchi_chart/fiscal_position.xml', - 'wizard.xml', - 'wizard/bvr_import_view.xml', - 'wizard/create_dta_view.xml', - 'company_view.xml', - 'account_invoice.xml', - 'bank_view.xml', - 'security/ir.model.access.csv', - 'report/report_webkit_html_view.xml'], - + 'journal_data.xml', + #FR sterchi chart data + 'sterchi_chart/account.xml', + 'sterchi_chart/vat.xml', + 'sterchi_chart/vat2011.xml', + 'sterchi_chart/fiscal_position.xml', + 'wizard.xml', + 'wizard/bvr_import_view.xml', + 'wizard/create_dta_view.xml', + 'company_view.xml', + 'account_invoice.xml', + 'bank_view.xml', + 'security/ir.model.access.csv', + 'report/report_webkit_html_view.xml' + ], 'demo': ['demo/demo.xml', - 'demo/dta_demo.xml'], + 'demo/dta_demo.xml' + ], 'test': ['test/l10n_ch_report.yml', - 'test/l10n_ch_dta.yml', + 'test/l10n_ch_dta.yml', #TODO: uncomment the 2 following tests once they are fixed #'test/l10n_ch_v11.yml', #'test/l10n_ch_v11_part.yml' - ], - + ], 'auto_install': False, 'installable': True, 'certificate': '001103836064567088989', - 'images': ['images/config_chart_l10n_ch.jpeg','images/l10n_ch_chart.jpeg']} + 'images': ['images/config_chart_l10n_ch.jpeg','images/l10n_ch_chart.jpeg'] +} # vim:expandtab:smartindent:tabstop=4:softtabstop=4:shiftwidth=4: diff --git a/addons/l10n_cl/__openerp__.py b/addons/l10n_cl/__openerp__.py index a743257635b..5417faed3f4 100644 --- a/addons/l10n_cl/__openerp__.py +++ b/addons/l10n_cl/__openerp__.py @@ -30,10 +30,8 @@ Plan contable chileno e impuestos de acuerdo a disposiciones vigentes 'author': 'Cubic ERP', 'website': 'http://cubicERP.com', 'category': 'Localization/Account Charts', - 'depends': [ - 'account_chart', - ], - 'data':[ + 'depends': ['account_chart'], + 'data': [ 'account_tax_code.xml', 'l10n_cl_chart.xml', 'account_tax.xml', diff --git a/addons/l10n_cn/__openerp__.py b/addons/l10n_cn/__openerp__.py index a504f304fa0..0cc26a5052e 100644 --- a/addons/l10n_cn/__openerp__.py +++ b/addons/l10n_cn/__openerp__.py @@ -18,21 +18,21 @@ # ############################################################################## { - 'name' : '中国会计科目表 - Accounting', - 'version' : '1.0', + 'name': '中国会计科目表 - Accounting', + 'version': '1.0', 'category': 'Localization/Account Charts', - 'author' : 'openerp-china.org', + 'author': 'openerp-china.org', 'maintainer':'openerp-china.org', 'website':'http://openerp-china.org', - 'url':'http://code.google.com/p/openerp-china/source/browse/#svn/trunk/l10n_cn', + 'url': 'http://code.google.com/p/openerp-china/source/browse/#svn/trunk/l10n_cn', 'description': """ 添加中文省份数据 科目类型\会计科目表模板\增值税\辅助核算类别\管理会计凭证簿\财务会计凭证簿 ============================================================ """, - 'depends' : ['base','account'], - 'demo' : [], - 'data' : [ + 'depends': ['base','account'], + 'demo': [], + 'data': [ 'account_chart.xml', 'l10n_chart_cn_wizard.xml', 'base_data.xml', diff --git a/addons/l10n_de/__openerp__.py b/addons/l10n_de/__openerp__.py index 1cc45df5dac..299174da592 100644 --- a/addons/l10n_de/__openerp__.py +++ b/addons/l10n_de/__openerp__.py @@ -121,20 +121,20 @@ { - 'name' : 'Deutschland - Accounting', - 'version' : '1.0', - 'author' : 'openbig.org', - 'website' : 'http://www.openbig.org', - 'category' : 'Localization/Account Charts', + 'name': 'Deutschland - Accounting', + 'version': '1.0', + 'author': 'openbig.org', + 'website': 'http://www.openbig.org', + 'category': 'Localization/Account Charts', 'description': """ Dieses Modul beinhaltet einen deutschen Kontenrahmen basierend auf dem SKR03. ============================================================================== German accounting chart and localization. """, - 'depends' : ['base', 'account', 'base_iban', 'base_vat', 'account_chart'], - 'demo' : [ ], - 'data' : [ + 'depends': ['base', 'account', 'base_iban', 'base_vat', 'account_chart'], + 'demo': [ ], + 'data': [ 'account_tax_skr03.xml', 'account_types_skr03.xml', 'account_chart_skr03.xml', diff --git a/addons/l10n_ec/__openerp__.py b/addons/l10n_ec/__openerp__.py index e581f31f64f..bd1448b802c 100644 --- a/addons/l10n_ec/__openerp__.py +++ b/addons/l10n_ec/__openerp__.py @@ -29,18 +29,18 @@ Accounting chart and localization for Ecuador. """, 'author': 'OpenERP SA', 'depends': [ - 'account', - 'base_vat', - 'base_iban', - 'account_chart', - 'account_coda', - ], + 'account', + 'base_vat', + 'base_iban', + 'account_chart', + 'account_coda', + ], 'data': [ - 'account_tax_code.xml', - 'account_chart.xml', - 'account_tax.xml', - 'l10n_chart_ec_wizard.xml', - ], + 'account_tax_code.xml', + 'account_chart.xml', + 'account_tax.xml', + 'l10n_chart_ec_wizard.xml', + ], 'demo': [], 'installable': True, 'certificate' : '001226484516187330589', diff --git a/addons/l10n_es/__openerp__.py b/addons/l10n_es/__openerp__.py index 609d27c34c5..9b7a7517974 100644 --- a/addons/l10n_es/__openerp__.py +++ b/addons/l10n_es/__openerp__.py @@ -22,11 +22,11 @@ ############################################################################## { - 'name' : 'Spanish - Accounting (PGCE 2008)', - 'version' : '3.0', - 'author' : 'Spanish Localization Team', - 'website' : 'https://launchpad.net/openerp-spain', - 'category' : 'Localization/Account Charts', + 'name': 'Spanish - Accounting (PGCE 2008)', + 'version': '3.0', + 'author': 'Spanish Localization Team', + 'website': 'https://launchpad.net/openerp-spain', + 'category': 'Localization/Account Charts', 'description': """ Spanish Charts of Accounts (PGCE 2008). ======================================= @@ -40,9 +40,9 @@ Spanish Charts of Accounts (PGCE 2008). **Note:** You should install the l10n_ES_account_balance_report module for yearly account reporting (balance, profit & losses). """, - 'license' : 'GPL-3', - 'depends' : ['account', 'base_vat', 'base_iban'], - 'data' : [ + 'license': 'GPL-3', + 'depends': ['account', 'base_vat', 'base_iban'], + 'data': [ 'account_chart.xml', 'taxes_data.xml', 'fiscal_templates.xml', @@ -51,10 +51,10 @@ Spanish Charts of Accounts (PGCE 2008). 'fiscal_templates_pymes.xml', 'l10n_es_wizard.xml' ], - 'demo' : [], + 'demo': [], 'auto_install': False, 'installable': True, - 'certificate' : '00408828172062583229', + 'certificate': '00408828172062583229', 'images': ['images/config_chart_l10n_es.jpeg','images/l10n_es_chart.jpeg'], } diff --git a/addons/l10n_fr/__openerp__.py b/addons/l10n_fr/__openerp__.py index d247ac8ca65..65a2621f03a 100644 --- a/addons/l10n_fr/__openerp__.py +++ b/addons/l10n_fr/__openerp__.py @@ -26,11 +26,11 @@ # ############################################################################## { - 'name' : 'France - Accounting', - 'version' : '1.1', - 'author' : 'OpenERP SA', + 'name': 'France - Accounting', + 'version': '1.1', + 'author': 'OpenERP SA', 'website': 'http://www.openerp.com', - 'category' : 'Localization/Account Charts', + 'category': 'Localization/Account Charts', 'description': """ This is the module to manage the accounting chart for France in OpenERP. ======================================================================== @@ -53,8 +53,8 @@ configuration of their taxes and fiscal positions manually. **Credits:** Sistheo, Zeekom, CrysaLEAD, Akretion and Camptocamp. """, - 'depends' : ['base_iban', 'account', 'account_chart', 'base_vat', 'l10n_fr_rib'], - 'data' : [ + 'depends': ['base_iban', 'account', 'account_chart', 'base_vat', 'l10n_fr_rib'], + 'data': [ 'fr_report.xml', 'plan_comptable_general.xml', 'l10n_fr_view.xml', @@ -65,11 +65,10 @@ configuration of their taxes and fiscal positions manually. 'security/ir.model.access.csv', 'wizard/fr_report_bilan_view.xml', 'wizard/fr_report_compute_resultant_view.xml', - ], 'test': ['test/l10n_fr_report.yml'], - 'demo' : [], - 'certificate' : '00435321693876313629', + 'demo': [], + 'certificate': '00435321693876313629', 'auto_install': False, 'installable': True, 'images': ['images/config_chart_l10n_fr.jpeg','images/l10n_fr_chart.jpeg'], diff --git a/addons/l10n_fr_hr_payroll/__openerp__.py b/addons/l10n_fr_hr_payroll/__openerp__.py index c94f1a74db5..62d364a5277 100755 --- a/addons/l10n_fr_hr_payroll/__openerp__.py +++ b/addons/l10n_fr_hr_payroll/__openerp__.py @@ -45,9 +45,9 @@ TODO : """, 'active': False, - 'data':[ - 'l10n_fr_hr_payroll_view.xml', - 'l10n_fr_hr_payroll_data.xml', + 'data': [ + 'l10n_fr_hr_payroll_view.xml', + 'l10n_fr_hr_payroll_data.xml', ], 'installable': True } diff --git a/addons/l10n_gr/__openerp__.py b/addons/l10n_gr/__openerp__.py index f021941ecc8..62d82b544d8 100644 --- a/addons/l10n_gr/__openerp__.py +++ b/addons/l10n_gr/__openerp__.py @@ -20,25 +20,26 @@ # ############################################################################## { - 'name' : 'Greece - Accounting', - 'version' : '0.2', - 'author' : 'P. Christeas, OpenERP SA.', + 'name': 'Greece - Accounting', + 'version': '0.2', + 'author': 'P. Christeas, OpenERP SA.', 'website': 'http://openerp.hellug.gr/', - 'category' : 'Localization/Account Charts', + 'category': 'Localization/Account Charts', 'description': """ This is the base module to manage the accounting chart for Greece. ================================================================== Greek accounting chart and localization. """, - 'depends' : ['base', 'account', 'base_iban', 'base_vat', 'account_chart'], - 'demo' : [], - 'data' : [ 'account_types.xml', - 'account_chart.xml', - 'account_full_chart.xml', - 'account_tax.xml', - 'account_tax_vat.xml', - 'l10n_gr_wizard.xml'], + 'depends': ['base', 'account', 'base_iban', 'base_vat', 'account_chart'], + 'demo': [], + 'data': [ 'account_types.xml', + 'account_chart.xml', + 'account_full_chart.xml', + 'account_tax.xml', + 'account_tax_vat.xml', + 'l10n_gr_wizard.xml' + ], 'installable': True, 'certificate': '001146244418929008029', 'images': ['images/config_chart_l10n_gr.jpeg','images/l10n_gr_chart.jpeg'], diff --git a/addons/l10n_it/__openerp__.py b/addons/l10n_it/__openerp__.py index b1687de7b13..a9177fee033 100644 --- a/addons/l10n_it/__openerp__.py +++ b/addons/l10n_it/__openerp__.py @@ -28,10 +28,10 @@ ############################################################################## { - 'name' : 'Italy - Accounting', - 'version' : '0.1', - 'depends' : ['base_vat','account_chart','base_iban'], - 'author' : 'OpenERP Italian Community', + 'name': 'Italy - Accounting', + 'version': '0.1', + 'depends': ['base_vat','account_chart','base_iban'], + 'author': 'OpenERP Italian Community', 'description': """ Piano dei conti italiano di un'impresa generica. ================================================ @@ -39,7 +39,7 @@ Piano dei conti italiano di un'impresa generica. Italian accounting chart and localization. """, 'license': 'AGPL-3', - 'category' : 'Localization/Account Charts', + 'category': 'Localization/Account Charts', 'website': 'http://www.openerp-italia.org/', 'data': [ 'data/account.account.template.csv', @@ -49,8 +49,7 @@ Italian accounting chart and localization. 'data/account.fiscal.position.template.csv', 'l10n_chart_it_generic.xml', ], - 'demo': [ - ], + 'demo': [], 'installable': True, 'auto_install': False, 'certificate' : '00926677190009155165', diff --git a/addons/l10n_ma/__openerp__.py b/addons/l10n_ma/__openerp__.py index a61137d7f93..37f477d363c 100644 --- a/addons/l10n_ma/__openerp__.py +++ b/addons/l10n_ma/__openerp__.py @@ -36,15 +36,14 @@ Seddik au cours du troisième trimestre 2010.""", 'website': 'http://www.kazacube.com', 'depends' : ['base', 'account'], 'data' : [ - 'security/compta_security.xml', - 'security/ir.model.access.csv', - 'account_type.xml', - 'account_pcg_morocco.xml', - 'l10n_ma_wizard.xml', - 'l10n_ma_tax.xml', - 'l10n_ma_journal.xml', - - ], + 'security/compta_security.xml', + 'security/ir.model.access.csv', + 'account_type.xml', + 'account_pcg_morocco.xml', + 'l10n_ma_wizard.xml', + 'l10n_ma_tax.xml', + 'l10n_ma_journal.xml', + ], 'demo' : [], 'auto_install': False, 'installable': True, diff --git a/addons/l10n_multilang/__openerp__.py b/addons/l10n_multilang/__openerp__.py index d140ef41235..5c91e1472c4 100644 --- a/addons/l10n_multilang/__openerp__.py +++ b/addons/l10n_multilang/__openerp__.py @@ -20,9 +20,9 @@ ############################################################################## { - 'name' : 'Multi Language Chart of Accounts', - 'version' : '1.1', - 'author' : 'OpenERP SA', + 'name': 'Multi Language Chart of Accounts', + 'version': '1.1', + 'author': 'OpenERP SA', 'category': 'Hidden/Dependency', 'description': """ * Multi language support for Chart of Accounts, Taxes, Tax Codes, Journals, diff --git a/addons/l10n_mx/__openerp__.py b/addons/l10n_mx/__openerp__.py index dfc66bf7e8e..25ec7cc98c4 100644 --- a/addons/l10n_mx/__openerp__.py +++ b/addons/l10n_mx/__openerp__.py @@ -20,23 +20,24 @@ # ############################################################################## { - 'name' : 'Mexico - Accounting', - 'version' : '1.0', - 'author' : 'RelTek Mexico', - 'category' : 'Localization/Account Charts', + 'name': 'Mexico - Accounting', + 'version': '1.0', + 'author': 'RelTek Mexico', + 'category': 'Localization/Account Charts', 'description': """ This is the module to manage the accounting chart for Mexico in OpenERP. ======================================================================== Mexican accounting chart and localization. """, - 'depends' : ['account', 'base_vat', 'account_chart'], - 'demo' : [], - 'data' : ['account_tax_code.xml','account_chart.xml', - 'account_tax.xml','l10n_chart_mx_wizard.xml'], + 'depends': ['account', 'base_vat', 'account_chart'], + 'demo': [], + 'data': ['account_tax_code.xml','account_chart.xml', + 'account_tax.xml','l10n_chart_mx_wizard.xml' + ], 'auto_install': False, 'installable': True, - 'certificate' : '00858539161332598061', + 'certificate': '00858539161332598061', 'images': ['images/config_chart_l10n_mx.jpeg','images/l10n_mx_chart.jpeg'], } # vim:expandtab:smartindent:tabstop=4:softtabstop=4:shiftwidth=4: diff --git a/addons/l10n_nl/__openerp__.py b/addons/l10n_nl/__openerp__.py index 0fcda46ed2b..a263f912183 100644 --- a/addons/l10n_nl/__openerp__.py +++ b/addons/l10n_nl/__openerp__.py @@ -121,10 +121,10 @@ De extra cijfers worden dan achter het rekeningnummer aangevult met 'nullen'. 'base_vat', 'base_iban', 'account_chart' - ], + ], 'data' : ['account_chart_netherlands.xml', - 'l10n_nl_wizard.xml' - ], + 'l10n_nl_wizard.xml' + ], 'demo' : [], 'installable': True, 'certificate': '00976041422960053277', diff --git a/addons/l10n_pe/__openerp__.py b/addons/l10n_pe/__openerp__.py index f6583f4ec71..9ae3e351d13 100644 --- a/addons/l10n_pe/__openerp__.py +++ b/addons/l10n_pe/__openerp__.py @@ -32,17 +32,14 @@ SUNAT 2011 (PCGE 2010). 'author': ['Cubic ERP'], 'website': 'http://cubicERP.com', 'category': 'Localization/Account Charts', - 'depends': [ - 'account_chart', - ], + 'depends': ['account_chart'], 'data':[ 'account_tax_code.xml', 'l10n_pe_chart.xml', 'account_tax.xml', 'l10n_pe_wizard.xml', - ], - 'demo': [ - ], + ], + 'demo': [], 'active': False, 'installable': True, 'certificate' : '0045046493412', diff --git a/addons/l10n_pl/__openerp__.py b/addons/l10n_pl/__openerp__.py index 65d4d80af7e..df8d2955e8e 100644 --- a/addons/l10n_pl/__openerp__.py +++ b/addons/l10n_pl/__openerp__.py @@ -37,7 +37,8 @@ VAT 0%, 7% i 22%. Moduł ustawia też konta do kupna i sprzedaży towarów zakł 'depends' : ['account', 'base_iban', 'base_vat', 'account_chart'], 'demo' : [], 'data' : ['account_tax_code.xml','account_chart.xml', - 'account_tax.xml','l10n_chart_pl_wizard.xml'], + 'account_tax.xml','l10n_chart_pl_wizard.xml' + ], 'auto_install': False, 'installable': True, 'certificate' : '00885794372803776829', diff --git a/addons/l10n_tr/__openerp__.py b/addons/l10n_tr/__openerp__.py index 32780202884..6a0ad411867 100644 --- a/addons/l10n_tr/__openerp__.py +++ b/addons/l10n_tr/__openerp__.py @@ -45,7 +45,7 @@ Bu modül kurulduktan sonra, Muhasebe yapılandırma sihirbazı çalışır 'account_chart_template.xml', 'account_tax_template.xml', 'l10n_tr_wizard.xml', - ], + ], 'demo': [], 'installable': True, 'images': ['images/chart_l10n_tr_1.jpg','images/chart_l10n_tr_2.jpg','images/chart_l10n_tr_3.jpg'], diff --git a/addons/l10n_uk/__openerp__.py b/addons/l10n_uk/__openerp__.py index 89f4b7d2d77..0590224c364 100644 --- a/addons/l10n_uk/__openerp__.py +++ b/addons/l10n_uk/__openerp__.py @@ -42,9 +42,7 @@ This is the latest UK OpenERP localisation necessary to run OpenERP accounting f 'data/res.country.state.csv', 'l10n_uk_wizard.xml', ], - 'demo' : [ - 'demo/demo.xml' - ], + 'demo' : ['demo/demo.xml'], 'installable': 'True', 'images': ['images/config_chart_l10n_uk.jpeg','images/l10n_uk_chart.jpeg'], } diff --git a/addons/l10n_us/__openerp__.py b/addons/l10n_us/__openerp__.py index a8ac70938ee..90c0e6fd4ad 100644 --- a/addons/l10n_us/__openerp__.py +++ b/addons/l10n_us/__openerp__.py @@ -28,9 +28,7 @@ United States - Chart of accounts. ================================== """, 'website': 'http://www.openerp.com', - 'depends': [ - 'account_chart', - ], + 'depends': ['account_chart'], 'data': [ 'l10n_us_account_type.xml', 'account_chart_template.xml', diff --git a/addons/l10n_uy/__openerp__.py b/addons/l10n_uy/__openerp__.py index c931f3b362c..e5e7aaf59c8 100644 --- a/addons/l10n_uy/__openerp__.py +++ b/addons/l10n_uy/__openerp__.py @@ -22,11 +22,11 @@ ############################################################################## { - 'name' : 'Uruguay - Chart of Accounts', - 'version' : '0.1', - 'author' : 'Uruguay l10n Team & Guillem Barba', - 'category' : 'Localization/Account Charts', - 'website' : 'https://launchpad.net/openerp-uruguay', + 'name': 'Uruguay - Chart of Accounts', + 'version': '0.1', + 'author': 'Uruguay l10n Team & Guillem Barba', + 'category': 'Localization/Account Charts', + 'website': 'https://launchpad.net/openerp-uruguay', 'description': """ General Chart of Accounts. ========================== @@ -34,21 +34,19 @@ General Chart of Accounts. Provide Templates for Chart of Accounts, Taxes for Uruguay. """, - 'license' : 'AGPL-3', - 'depends' : [ - 'account', - ], + 'license': 'AGPL-3', + 'depends': ['account'], 'data': [ - 'account_types.xml', - 'taxes_code_template.xml', - 'account_chart_template.xml', - 'taxes_template.xml', - 'l10n_uy_wizard.xml', - ], + 'account_types.xml', + 'taxes_code_template.xml', + 'account_chart_template.xml', + 'taxes_template.xml', + 'l10n_uy_wizard.xml', + ], 'demo': [], 'auto_install': False, 'installable': True, - 'certificate' : '0078287892698', + 'certificate': '0078287892698', 'images': ['images/config_chart_l10n_uy.jpeg','images/l10n_uy_chart.jpeg'], } diff --git a/addons/l10n_ve/__openerp__.py b/addons/l10n_ve/__openerp__.py index 7b7cd0a4f71..fcb5110714e 100644 --- a/addons/l10n_ve/__openerp__.py +++ b/addons/l10n_ve/__openerp__.py @@ -24,9 +24,9 @@ ############################################################################## { 'name' : 'Venezuela - Accounting', - 'version' : '1.0', - 'author' : ['OpenERP SA', 'Netquatro'], - 'category' : 'Localization/Account Charts', + 'version': '1.0', + 'author': ['OpenERP SA', 'Netquatro'], + 'category': 'Localization/Account Charts', 'description': """ This is the module to manage the accounting chart for Venezuela in OpenERP. @@ -34,13 +34,14 @@ This is the module to manage the accounting chart for Venezuela in OpenERP. Este módulo es para manejar un catálogo de cuentas ejemplo para Venezuela. """, - 'depends' : ['account', 'base_vat', 'account_chart'], - 'demo' : [], - 'data' : ['account_tax_code.xml','account_chart.xml', - 'account_tax.xml','l10n_chart_ve_wizard.xml'], + 'depends': ['account', 'base_vat', 'account_chart'], + 'demo': [], + 'data': ['account_tax_code.xml','account_chart.xml', + 'account_tax.xml','l10n_chart_ve_wizard.xml' + ], 'auto_install': False, 'installable': True, - 'certificate' : '00763145921185574557', + 'certificate': '00763145921185574557', 'images': ['images/config_chart_l10n_ve.jpeg','images/l10n_ve_chart.jpeg'], } # vim:expandtab:smartindent:tabstop=4:softtabstop=4:shiftwidth=4: diff --git a/addons/mail/__openerp__.py b/addons/mail/__openerp__.py index e39b3d25005..daec8d03183 100644 --- a/addons/mail/__openerp__.py +++ b/addons/mail/__openerp__.py @@ -22,7 +22,7 @@ { 'name': 'Social Network', 'version': '1.0', - 'category':'Social Network', + 'category': 'Social Network', 'sequence': 2, 'summary': 'Discussions, Mailing Lists, News', 'description': """ @@ -75,9 +75,7 @@ The main features of the module are: 'mail_alias_view.xml', 'res_users_view.xml', ], - 'demo': [ - 'data/mail_demo.xml', - ], + 'demo': ['data/mail_demo.xml'], 'installable': True, 'auto_install': False, 'application': True, diff --git a/addons/marketing/__openerp__.py b/addons/marketing/__openerp__.py index 65329783933..90f6e076cae 100644 --- a/addons/marketing/__openerp__.py +++ b/addons/marketing/__openerp__.py @@ -21,10 +21,10 @@ { - 'name' : 'Marketing', - 'version' : '1.1', - 'depends' : ['base', 'base_setup'], - 'author' : 'OpenERP SA', + 'name': 'Marketing', + 'version': '1.1', + 'depends': ['base', 'base_setup'], + 'author': 'OpenERP SA', 'category': 'Hidden/Dependency', 'description': """ Menu for Marketing. @@ -42,7 +42,7 @@ Contains the installer for marketing-related modules. 'demo': ['marketing_demo.xml'], 'installable': True, 'auto_install': False, - 'certificate' : '00598574977629228189', + 'certificate': '00598574977629228189', 'images': ['images/config_marketing.jpeg'], } # vim:expandtab:smartindent:tabstop=4:softtabstop=4:shiftwidth=4: diff --git a/addons/marketing_campaign/__openerp__.py b/addons/marketing_campaign/__openerp__.py index aee1da455db..61d5d2ada29 100644 --- a/addons/marketing_campaign/__openerp__.py +++ b/addons/marketing_campaign/__openerp__.py @@ -21,14 +21,14 @@ { - 'name' : 'Marketing Campaigns', - 'version' : '1.1', - 'depends' : ['marketing', + 'name': 'Marketing Campaigns', + 'version': '1.1', + 'depends': ['marketing', 'document', 'email_template', 'decimal_precision' - ], - 'author' : 'OpenERP SA', + ], + 'author': 'OpenERP SA', 'category': 'Marketing', 'description': """ This module provides leads automation through marketing campaigns (campaigns can in fact be defined on any resource, not just CRM Leads). @@ -64,15 +64,11 @@ input segments, workflow. 'security/marketing_campaign_security.xml', 'security/ir.model.access.csv' ], - 'demo': [ - 'marketing_campaign_demo.xml', - ], - 'test': [ - 'test/marketing_campaign.yml', - ], + 'demo': ['marketing_campaign_demo.xml'], + 'test': ['test/marketing_campaign.yml'], 'installable': True, 'auto_install': False, - 'certificate' : '00421723279617928365', + 'certificate': '00421723279617928365', 'images': ['images/campaign.png', 'images/campaigns.jpeg','images/email_account.jpeg','images/email_templates.jpeg','images/segments.jpeg'], } # vim:expandtab:smartindent:tabstop=4:softtabstop=4:shiftwidth=4: diff --git a/addons/marketing_campaign_crm_demo/__openerp__.py b/addons/marketing_campaign_crm_demo/__openerp__.py index 558469b00c0..aae0d72e9d0 100644 --- a/addons/marketing_campaign_crm_demo/__openerp__.py +++ b/addons/marketing_campaign_crm_demo/__openerp__.py @@ -21,12 +21,12 @@ { - 'name' : 'Marketing Campaign - Demo', - 'version' : '1.0', - 'depends' : ['marketing_campaign', + 'name': 'Marketing Campaign - Demo', + 'version': '1.0', + 'depends': ['marketing_campaign', 'crm', - ], - 'author' : 'OpenERP SA', + ], + 'author': 'OpenERP SA', 'category': 'Marketing', 'description': """ Demo data for the module marketing_campaign. @@ -36,12 +36,10 @@ Creates demo data like leads, campaigns and segments for the module marketing_ca """, 'website': 'http://www.openerp.com', 'data': [], - 'demo': [ - 'marketing_campaign_demo.xml', - ], + 'demo': ['marketing_campaign_demo.xml'], 'installable': True, 'auto_install': False, - 'certificate' : '001005497972871352957', + 'certificate': '001005497972871352957', 'images': ['images/campaigns.jpeg','images/email_templates.jpeg'], } # vim:expandtab:smartindent:tabstop=4:softtabstop=4:shiftwidth=4: diff --git a/addons/mrp/__openerp__.py b/addons/mrp/__openerp__.py index 87bce75be26..2ecd690a686 100644 --- a/addons/mrp/__openerp__.py +++ b/addons/mrp/__openerp__.py @@ -21,15 +21,15 @@ { - 'name' : 'MRP', - 'version' : '1.1', - 'author' : 'OpenERP SA', - 'website' : 'http://www.openerp.com', - 'category' : 'Manufacturing', + 'name': 'MRP', + 'version': '1.1', + 'author': 'OpenERP SA', + 'website': 'http://www.openerp.com', + 'category': 'Manufacturing', 'sequence': 18, 'summary': 'Manufacturing Orders, Bill of Materials, Routing', - 'images' : ['images/bill_of_materials.jpeg', 'images/manufacturing_order.jpeg', 'images/planning_manufacturing_order.jpeg', 'images/production_analysis.jpeg', 'images/production_dashboard.jpeg','images/routings.jpeg','images/work_centers.jpeg'], - 'depends' : ['procurement', 'stock', 'resource', 'purchase', 'product','process'], + 'images': ['images/bill_of_materials.jpeg', 'images/manufacturing_order.jpeg', 'images/planning_manufacturing_order.jpeg', 'images/production_analysis.jpeg', 'images/production_dashboard.jpeg','images/routings.jpeg','images/work_centers.jpeg'], + 'depends': ['procurement', 'stock', 'resource', 'purchase', 'product','process'], 'description': """ This is the base module to manage the manufacturing process in OpenERP. ======================================================================= @@ -87,9 +87,7 @@ Dashboard provided by this module: 'board_manufacturing_view.xml', 'res_config_view.xml', ], - 'demo': [ - 'mrp_demo.xml', - ], + 'demo': ['mrp_demo.xml'], #TODO: This yml tests are needed to be completely reviewed again because the product wood panel is removed in product demo as it does not suit for new demo context of computer and consultant company # so the ymls are too complex to change at this stage 'test': [ diff --git a/addons/mrp_operations/__openerp__.py b/addons/mrp_operations/__openerp__.py index dbd36a58eb4..a5bda80f924 100644 --- a/addons/mrp_operations/__openerp__.py +++ b/addons/mrp_operations/__openerp__.py @@ -66,9 +66,10 @@ So, that we can compare the theoretic delay and real delay. 'mrp_operations_workflow_instance.xml' ], 'demo': ['mrp_operation_data.xml', - 'mrp_operations_demo.yml'], + 'mrp_operations_demo.yml' + ], 'test': [ -# 'test/workcenter_operations.yml', +# 'test/workcenter_operations.yml', ], 'installable': True, 'auto_install': False, diff --git a/addons/mrp_repair/__openerp__.py b/addons/mrp_repair/__openerp__.py index b52d4bf738a..da4070d6210 100644 --- a/addons/mrp_repair/__openerp__.py +++ b/addons/mrp_repair/__openerp__.py @@ -55,7 +55,8 @@ The following topics should be covered by this module: 'test/test_mrp_repair_b4inv.yml', 'test/test_mrp_repair_afterinv.yml', 'test/test_mrp_repair_cancel.yml', - 'test/mrp_repair_report.yml'], + 'test/mrp_repair_report.yml' + ], 'installable': True, 'auto_install': False, 'certificate': '0060814381277', diff --git a/addons/mrp_subproduct/__openerp__.py b/addons/mrp_subproduct/__openerp__.py index 7f12736dbe6..c45584eb1a9 100644 --- a/addons/mrp_subproduct/__openerp__.py +++ b/addons/mrp_subproduct/__openerp__.py @@ -47,9 +47,7 @@ With this module: 'mrp_subproduct_view.xml' ], 'demo': [], - 'test': [ - 'test/mrp_subproduct.yml' - ], + 'test': ['test/mrp_subproduct.yml'], 'installable': True, 'auto_install': False, 'certificate': '0050060616733', diff --git a/addons/multi_company/__openerp__.py b/addons/multi_company/__openerp__.py index 6001e539d9e..eb882604d22 100644 --- a/addons/multi_company/__openerp__.py +++ b/addons/multi_company/__openerp__.py @@ -37,12 +37,8 @@ This module is the base module for other multi-company modules. 'sale', 'project', ], - 'data': [ - 'res_company_view.xml' - ], - 'demo': [ - 'multi_company_demo.xml' - ], + 'data': ['res_company_view.xml'], + 'demo': ['multi_company_demo.xml'], 'installable': True, 'auto_install': False, 'certificate' : '001115526094673097933', diff --git a/addons/pad/__openerp__.py b/addons/pad/__openerp__.py index a66aa7cc947..620d677a5bf 100644 --- a/addons/pad/__openerp__.py +++ b/addons/pad/__openerp__.py @@ -13,17 +13,13 @@ pads (by default, http://ietherpad.com/). 'author': 'OpenERP SA', 'website': 'http://openerp.com', 'depends': ['base'], - 'data': [ - 'res_company.xml' - ], + 'data': ['res_company.xml'], 'installable': True, 'auto_install': False, 'web': True, 'certificate' : '001183545978470526509', 'js': ['static/src/js/pad.js'], - 'qweb' : [ - 'static/src/xml/*.xml', - ], + 'qweb' : ['static/src/xml/*.xml'], 'images': ['static/src/img/pad_link_companies.jpeg'], 'css': ['static/src/css/etherpad.css',], } diff --git a/addons/plugin/__openerp__.py b/addons/plugin/__openerp__.py index a9008612ca1..7af31450a87 100644 --- a/addons/plugin/__openerp__.py +++ b/addons/plugin/__openerp__.py @@ -30,9 +30,7 @@ The common interface for plug-in. """, 'author': 'OpenERP SA', 'website': 'http://www.openerp.com', - 'depends': [ - 'base', - ], + 'depends': ['base'], 'data': [], 'demo': [], 'test': [], diff --git a/addons/point_of_sale/__openerp__.py b/addons/point_of_sale/__openerp__.py index df717b3d4ff..67f9a0d1fa9 100644 --- a/addons/point_of_sale/__openerp__.py +++ b/addons/point_of_sale/__openerp__.py @@ -81,16 +81,16 @@ Main features: 'application': True, # Web client 'js': [ - 'static/lib/backbone/backbone-0.9.2.js', - 'static/lib/mousewheel/jquery.mousewheel-3.0.6.js', - 'static/src/js/pos_models.js', - 'static/src/js/pos_basewidget.js', - 'static/src/js/pos_keyboard_widget.js', - 'static/src/js/pos_scrollbar_widget.js', - 'static/src/js/pos_widgets.js', - 'static/src/js/pos_devices.js', - 'static/src/js/pos_screens.js', - 'static/src/js/pos_main.js' + 'static/lib/backbone/backbone-0.9.2.js', + 'static/lib/mousewheel/jquery.mousewheel-3.0.6.js', + 'static/src/js/pos_models.js', + 'static/src/js/pos_basewidget.js', + 'static/src/js/pos_keyboard_widget.js', + 'static/src/js/pos_scrollbar_widget.js', + 'static/src/js/pos_widgets.js', + 'static/src/js/pos_devices.js', + 'static/src/js/pos_screens.js', + 'static/src/js/pos_main.js' ], 'css': [ 'static/src/css/pos.css', diff --git a/addons/portal/__openerp__.py b/addons/portal/__openerp__.py index 7e8f05f9b88..30d9cc38c39 100644 --- a/addons/portal/__openerp__.py +++ b/addons/portal/__openerp__.py @@ -21,13 +21,13 @@ { 'name' : 'Portal', - 'version' : '1.0', - 'depends' : [ + 'version': '1.0', + 'depends': [ 'base', 'share', 'auth_anonymous' ], - 'author' : 'OpenERP SA', + 'author': 'OpenERP SA', 'category': 'Portal', 'description': """ Customize access to your OpenERP database to external users by creating portals. @@ -50,9 +50,7 @@ very handy when used in combination with the module 'share'. 'wizard/portal_wizard_view.xml', 'wizard/share_wizard_view.xml', ], - 'demo': [ - 'portal_demo.xml', - ], + 'demo': ['portal_demo.xml'], 'installable': True, } diff --git a/addons/portal_claim/__openerp__.py b/addons/portal_claim/__openerp__.py index 9f9e4b9157c..df9f7a65c96 100644 --- a/addons/portal_claim/__openerp__.py +++ b/addons/portal_claim/__openerp__.py @@ -24,7 +24,7 @@ 'name': 'Portal Claim', 'version': '0.1', 'category': 'Tools', - 'complexity': "easy", + 'complexity': 'easy', 'description': """ This module adds claim menu and features to your portal if claim and portal are installed. ========================================================================================== @@ -37,7 +37,7 @@ This module adds claim menu and features to your portal if claim and portal are 'security/portal_security.xml', ], 'installable': True, - 'auto_install':True, - 'category':'Hidden', + 'auto_install': True, + 'category': 'Hidden', } # vim:expandtab:smartindent:tabstop=4:softtabstop=4:shiftwidth=4: diff --git a/addons/portal_crm/__openerp__.py b/addons/portal_crm/__openerp__.py index 6af5f490b2a..81b6815b942 100644 --- a/addons/portal_crm/__openerp__.py +++ b/addons/portal_crm/__openerp__.py @@ -31,15 +31,10 @@ This module adds a contact page (with a contact form creating a lead when submit """, 'author': 'OpenERP SA', 'depends': ['crm','portal'], - 'data': [ - 'wizard/contact_view.xml', - ], - 'installable': True -, 'auto_install':True, - 'category':'Hidden', - 'css': [ - 'static/src/css/portal_crm.css', - ], - + 'data': ['wizard/contact_view.xml'], + 'installable': True, + 'auto_install': True, + 'category': 'Hidden', + 'css': ['static/src/css/portal_crm.css'], } # vim:expandtab:smartindent:tabstop=4:softtabstop=4:shiftwidth=4: diff --git a/addons/portal_event/__openerp__.py b/addons/portal_event/__openerp__.py index 438b7b5e46e..f97ad81efd9 100644 --- a/addons/portal_event/__openerp__.py +++ b/addons/portal_event/__openerp__.py @@ -38,7 +38,7 @@ This module adds event menu and features to your portal if event and portal are 'security/ir.model.access.csv', ], 'installable': True, - 'auto_install':True, - 'category':'Hidden', + 'auto_install': True, + 'category': 'Hidden', } # vim:expandtab:smartindent:tabstop=4:softtabstop=4:shiftwidth=4: diff --git a/addons/portal_hr_employees/__openerp__.py b/addons/portal_hr_employees/__openerp__.py index 9b0c3cc2324..7dacfa6688b 100644 --- a/addons/portal_hr_employees/__openerp__.py +++ b/addons/portal_hr_employees/__openerp__.py @@ -36,11 +36,8 @@ This module adds a list of employees to your portal's contact page if hr and por 'security/ir.model.access.csv', ], 'installable': True, - 'auto_install':True, - 'category':'Hidden', - 'css': [ - 'static/src/css/portal_hr_employees.css', - ], - + 'auto_install': True, + 'category': 'Hidden', + 'css': ['static/src/css/portal_hr_employees.css'], } # vim:expandtab:smartindent:tabstop=4:softtabstop=4:shiftwidth=4: diff --git a/addons/portal_project/__openerp__.py b/addons/portal_project/__openerp__.py index 330c063ac73..d502d278c38 100644 --- a/addons/portal_project/__openerp__.py +++ b/addons/portal_project/__openerp__.py @@ -37,7 +37,7 @@ This module adds project menu and features (tasks) to your portal if project and 'portal_project_view.xml', ], 'installable': True, - 'auto_install':True, - 'category':'Hidden', + 'auto_install': True, + 'category': 'Hidden', } # vim:expandtab:smartindent:tabstop=4:softtabstop=4:shiftwidth=4: diff --git a/addons/portal_project_issue/__openerp__.py b/addons/portal_project_issue/__openerp__.py index 33502ba11c2..cef01c52364 100644 --- a/addons/portal_project_issue/__openerp__.py +++ b/addons/portal_project_issue/__openerp__.py @@ -37,10 +37,8 @@ This module adds issue menu and features to your portal if project_issue and por 'portal_project_issue_view.xml', ], 'installable': True, - 'auto_install':True, - 'category':'Hidden', - 'css': [ - 'static/src/css/portal_project_issue.css', - ], + 'auto_install': True, + 'category': 'Hidden', + 'css': ['static/src/css/portal_project_issue.css'], } # vim:expandtab:smartindent:tabstop=4:softtabstop=4:shiftwidth=4: diff --git a/addons/portal_sale/__openerp__.py b/addons/portal_sale/__openerp__.py index 18f2b43cb12..764eb7b938d 100644 --- a/addons/portal_sale/__openerp__.py +++ b/addons/portal_sale/__openerp__.py @@ -37,7 +37,7 @@ This module adds sale menu and features to your portal if sale and portal are in 'security/ir.model.access.csv', ], 'installable': True, - 'auto_install':True, - 'category':'Hidden', + 'auto_install': True, + 'category': 'Hidden', } # vim:expandtab:smartindent:tabstop=4:softtabstop=4:shiftwidth=4: diff --git a/addons/process/__openerp__.py b/addons/process/__openerp__.py index 85083d2dc9e..ef554fe7226 100644 --- a/addons/process/__openerp__.py +++ b/addons/process/__openerp__.py @@ -37,8 +37,8 @@ This module shows the basic processes involved in the selected modules and in th 'website': 'http://www.openerp.com', 'depends': ['base'], 'data': [ - 'security/ir.model.access.csv', - 'process_view.xml' + 'security/ir.model.access.csv', + 'process_view.xml' ], 'demo': [], 'installable': True, diff --git a/addons/product/__openerp__.py b/addons/product/__openerp__.py index 840804e03a6..0c14b999e99 100644 --- a/addons/product/__openerp__.py +++ b/addons/product/__openerp__.py @@ -21,12 +21,12 @@ { - 'name' : 'Products & Pricelists', - 'version' : '1.1', - 'author' : 'OpenERP SA', + 'name': 'Products & Pricelists', + 'version': '1.1', + 'author': 'OpenERP SA', 'category': 'Sales Management', - 'depends' : ['base', 'process', 'decimal_precision', 'mail'], - 'demo' : ['product_demo.xml', 'product_image_demo.xml'], + 'depends': ['base', 'process', 'decimal_precision', 'mail'], + 'demo': ['product_demo.xml', 'product_image_demo.xml'], 'description': """ This is the base module for managing products and pricelists in OpenERP. ======================================================================== diff --git a/addons/product_manufacturer/__openerp__.py b/addons/product_manufacturer/__openerp__.py index de2b3e5a391..8e24f8476f0 100644 --- a/addons/product_manufacturer/__openerp__.py +++ b/addons/product_manufacturer/__openerp__.py @@ -18,12 +18,12 @@ # ############################################################################## { - 'name' : 'Products Manufacturers', - 'version' : '1.0', - 'author' : 'OpenERP SA', + 'name': 'Products Manufacturers', + 'version': '1.0', + 'author': 'OpenERP SA', 'category': 'Purchase Management', - 'depends' : ['stock'], - 'demo' : [], + 'depends': ['stock'], + 'demo': [], 'description': """ A module that adds manufacturers and attributes on the product form. ==================================================================== @@ -35,13 +35,13 @@ You can now define the following for a product: * Manufacturer Product Code * Product Attributes """, - 'data' : [ + 'data': [ 'security/ir.model.access.csv', 'product_manufacturer_view.xml' ], 'auto_install': False, 'installable': True, - 'certificate' : '00720153953662760781', + 'certificate': '00720153953662760781', 'images': ['images/products_manufacturer.jpeg'], } # vim:expandtab:smartindent:tabstop=4:softtabstop=4:shiftwidth=4: diff --git a/addons/product_margin/__openerp__.py b/addons/product_margin/__openerp__.py index c0af2bf56f4..76e4d3964b1 100644 --- a/addons/product_margin/__openerp__.py +++ b/addons/product_margin/__openerp__.py @@ -33,9 +33,9 @@ The wizard to launch the report has several options to help you get the data you 'author': 'OpenERP SA', 'depends': ['account'], 'data': [ - 'security/ir.model.access.csv', - 'wizard/product_margin_view.xml', - 'product_margin_view.xml' + 'security/ir.model.access.csv', + 'wizard/product_margin_view.xml', + 'product_margin_view.xml' ], 'test':['test/product_margin.yml'], 'demo': [], diff --git a/addons/project/__openerp__.py b/addons/project/__openerp__.py index a65497c311e..7d3c85e96ad 100644 --- a/addons/project/__openerp__.py +++ b/addons/project/__openerp__.py @@ -70,10 +70,8 @@ Dashboard for project management that includes: 'board_project_view.xml', 'res_config_view.xml', ], - 'demo': [ - 'project_demo.xml', - ], - 'test':[ + 'demo': ['project_demo.xml'], + 'test': [ 'test/project_demo.yml', 'test/project_process.yml', 'test/task_process.yml', diff --git a/addons/project_gtd/__openerp__.py b/addons/project_gtd/__openerp__.py index baa3200df08..116a063b77d 100644 --- a/addons/project_gtd/__openerp__.py +++ b/addons/project_gtd/__openerp__.py @@ -56,9 +56,7 @@ performing those tasks. 'wizard/project_gtd_fill_view.xml', ], 'demo': ['project_gtd_demo.xml'], - 'test':[ - 'test/task_timebox.yml' - ], + 'test':['test/task_timebox.yml'], 'installable': True, 'application': True, 'auto_install': False, diff --git a/addons/project_issue/__openerp__.py b/addons/project_issue/__openerp__.py index 71c40fc3f39..07e453af885 100644 --- a/addons/project_issue/__openerp__.py +++ b/addons/project_issue/__openerp__.py @@ -55,18 +55,16 @@ and decide on their status as they evolve. ], 'demo': ['project_issue_demo.xml'], 'test': [ - 'test/subscribe_issue.yml', - 'test/issue_process.yml', - 'test/cancel_issue.yml', - 'test/issue_demo.yml' + 'test/subscribe_issue.yml', + 'test/issue_process.yml', + 'test/cancel_issue.yml', + 'test/issue_demo.yml' ], 'installable': True, 'auto_install': False, 'application': True, - 'certificate' : '001236490750848623845', - 'js': [ - 'static/src/js/project_issue.js', - ], + 'certificate': '001236490750848623845', + 'js': ['static/src/js/project_issue.js'], } # vim:expandtab:smartindent:tabstop=4:softtabstop=4:shiftwidth=4: diff --git a/addons/project_retro_planning/__openerp__.py b/addons/project_retro_planning/__openerp__.py index 17889ddf9a1..e3e7a444676 100644 --- a/addons/project_retro_planning/__openerp__.py +++ b/addons/project_retro_planning/__openerp__.py @@ -34,9 +34,7 @@ the tasks will change accordingly. 'depends': ['base', 'project'], 'data': [], 'demo': [], - 'test' : [ - 'test/deadline_change.yml' - ], + 'test': ['test/deadline_change.yml'], 'installable': True, 'auto_install': False, 'certificate': '0057235475485', diff --git a/addons/purchase_analytic_plans/__openerp__.py b/addons/purchase_analytic_plans/__openerp__.py index 9a0220a028e..801551c7a07 100644 --- a/addons/purchase_analytic_plans/__openerp__.py +++ b/addons/purchase_analytic_plans/__openerp__.py @@ -33,7 +33,7 @@ on a supplier purchase order into several accounts and analytic plans. """, 'author': 'OpenERP SA', 'website': 'http://www.openerp.com', - 'images' : ['images/purchase_analytic_distribution.jpeg'], + 'images': ['images/purchase_analytic_distribution.jpeg'], 'depends': ['purchase', 'account_analytic_plans'], 'data': ['purchase_analytic_plans_view.xml'], 'demo': [], diff --git a/addons/purchase_requisition/__openerp__.py b/addons/purchase_requisition/__openerp__.py index 64b449cc5d8..f2492b207c0 100644 --- a/addons/purchase_requisition/__openerp__.py +++ b/addons/purchase_requisition/__openerp__.py @@ -18,12 +18,12 @@ # ############################################################################## { - 'name' : 'Purchase Requisitions', - 'version' : '0.1', - 'author' : 'OpenERP SA', - 'category' : 'Purchase Management', - 'images' : ['images/purchase_requisitions.jpeg'], - 'website' : 'http://www.openerp.com', + 'name': 'Purchase Requisitions', + 'version': '0.1', + 'author': 'OpenERP SA', + 'category': 'Purchase Management', + 'images': ['images/purchase_requisitions.jpeg'], + 'website': 'http://www.openerp.com', 'description': """ This module allows you to manage your Purchase Requisition. =========================================================== @@ -33,22 +33,22 @@ related requisition. This new object will regroup and will allow you to easily keep track and order all your purchase orders. """, 'depends' : ['purchase','mrp'], - 'demo' : ['purchase_requisition_demo.xml'], - 'data' : ['security/purchase_tender.xml', - 'wizard/purchase_requisition_partner_view.xml', - 'purchase_requisition_data.xml', - 'purchase_requisition_view.xml', - 'purchase_requisition_report.xml', - 'security/ir.model.access.csv','purchase_requisition_sequence.xml' + 'demo': ['purchase_requisition_demo.xml'], + 'data': ['security/purchase_tender.xml', + 'wizard/purchase_requisition_partner_view.xml', + 'purchase_requisition_data.xml', + 'purchase_requisition_view.xml', + 'purchase_requisition_report.xml', + 'security/ir.model.access.csv','purchase_requisition_sequence.xml' ], 'auto_install': False, - 'test':[ - 'test/purchase_requisition_demo.yml', - 'test/purchase_requisition.yml', - 'test/cancel_purchase_requisition.yml', - ], + 'test': [ + 'test/purchase_requisition_demo.yml', + 'test/purchase_requisition.yml', + 'test/cancel_purchase_requisition.yml', + ], 'installable': True, - 'certificate' : '001023264099823179629', + 'certificate': '001023264099823179629', } # vim:expandtab:smartindent:tabstop=4:softtabstop=4:shiftwidth=4: diff --git a/addons/report_designer/__openerp__.py b/addons/report_designer/__openerp__.py index 78d699eabef..3a2b9e95ea5 100644 --- a/addons/report_designer/__openerp__.py +++ b/addons/report_designer/__openerp__.py @@ -34,9 +34,7 @@ Makes the Reporting Hidden Configuration available from where you can install modules like base_report_designer and base_report_creator. """, 'website': 'http://www.openerp.com', - 'data': [ - 'security/ir.model.access.csv', - ], + 'data': ['security/ir.model.access.csv'], 'demo': [], 'installable': True, 'auto_install': False, diff --git a/addons/report_webkit_sample/__openerp__.py b/addons/report_webkit_sample/__openerp__.py index 2f2b8947eaf..d10c336609e 100644 --- a/addons/report_webkit_sample/__openerp__.py +++ b/addons/report_webkit_sample/__openerp__.py @@ -46,9 +46,7 @@ You have to create the print buttons by calling the wizard. For more details see 'category': 'Reporting', 'author': 'Camptocamp SA - NBessi', 'url': 'http://www.camptocamp.com/', - 'data': ['report_webkit_html_view.xml', - - ], + 'data': ['report_webkit_html_view.xml'], 'installable': True, 'auto_install': False, 'certificate': '00436592682591421981', diff --git a/addons/resource/__openerp__.py b/addons/resource/__openerp__.py index e893cf35fc2..94c55105c2a 100644 --- a/addons/resource/__openerp__.py +++ b/addons/resource/__openerp__.py @@ -40,8 +40,7 @@ associated to every resource. It also manages the leaves of every resource. 'security/ir.model.access.csv', 'resource_view.xml', ], - 'demo': ['resource_demo.xml' - ], + 'demo': ['resource_demo.xml'], 'test': [ 'test/resource.yml', 'test/duplicate_resource.yml', diff --git a/addons/sale_crm/__openerp__.py b/addons/sale_crm/__openerp__.py index 5df824b4d90..31523868d29 100644 --- a/addons/sale_crm/__openerp__.py +++ b/addons/sale_crm/__openerp__.py @@ -38,12 +38,13 @@ modules. 'website': 'http://www.openerp.com', 'images': ['images/crm_statistics_dashboard.jpeg', 'images/opportunity_to_quote.jpeg'], 'depends': ['sale', 'crm'], - 'data': ['wizard/crm_make_sale_view.xml', - 'sale_crm_view.xml', - 'process/sale_crm_process.xml', - 'security/sale_crm_security.xml', - 'security/ir.model.access.csv' - ], + 'data': [ + 'wizard/crm_make_sale_view.xml', + 'sale_crm_view.xml', + 'process/sale_crm_process.xml', + 'security/sale_crm_security.xml', + 'security/ir.model.access.csv' + ], 'demo': [], 'test': ['test/sale_crm.yml'], 'installable': True, diff --git a/addons/sale_order_dates/__openerp__.py b/addons/sale_order_dates/__openerp__.py index a91221b273d..4964aa61be4 100644 --- a/addons/sale_order_dates/__openerp__.py +++ b/addons/sale_order_dates/__openerp__.py @@ -38,9 +38,7 @@ You can add the following additional dates to a sale order: 'website': 'http://www.openerp.com', 'images': ['images/sale_order_dates.jpeg'], 'depends': ['sale'], - 'data': [ - 'sale_order_dates_view.xml', - ], + 'data': ['sale_order_dates_view.xml'], 'demo': [], 'test': [], 'installable': True, diff --git a/addons/share/__openerp__.py b/addons/share/__openerp__.py index f4083cb1794..87a2f68bb04 100644 --- a/addons/share/__openerp__.py +++ b/addons/share/__openerp__.py @@ -53,9 +53,7 @@ synchronization with other companies. 'certificate' : '001301246528927038493', 'js': ['static/src/js/share.js'], 'css': ['static/src/css/share.css'], - 'qweb' : [ - 'static/src/xml/*.xml', - ], + 'qweb' : ['static/src/xml/*.xml'], 'images': ['images/share_wizard.jpeg','images/sharing_wizard_step1.jpeg', 'images/sharing_wizard_step2.jpeg'], } diff --git a/addons/stock/__openerp__.py b/addons/stock/__openerp__.py index edde60815d5..bc01c2a1b56 100644 --- a/addons/stock/__openerp__.py +++ b/addons/stock/__openerp__.py @@ -20,9 +20,9 @@ ############################################################################## { - 'name' : 'Warehouse Management', - 'version' : '1.1', - 'author' : 'OpenERP SA', + 'name': 'Warehouse Management', + 'version': '1.1', + 'author': 'OpenERP SA', 'summary': 'Inventory, Logistic, Storage', 'description' : """ OpenERP Inventory Management module can manage multi-warehouses, multi and structured stock locations. @@ -46,16 +46,16 @@ Dashboard for warehouse that includes: * Graph : Products to receive in delay (date <= today) * Graph : Products to send in delay (date <= today) """, - 'website' : 'http://www.openerp.com', - 'images' : ['images/stock_forecast_report.png', 'images/delivery_orders.jpeg', 'images/inventory_analysis.jpeg','images/location.jpeg','images/moves_analysis.jpeg','images/physical_inventories.jpeg','images/warehouse_dashboard.jpeg'], - 'depends' : ['product', 'account'], - 'category' : 'Warehouse Management', + 'website': 'http://www.openerp.com', + 'images': ['images/stock_forecast_report.png', 'images/delivery_orders.jpeg', 'images/inventory_analysis.jpeg','images/location.jpeg','images/moves_analysis.jpeg','images/physical_inventories.jpeg','images/warehouse_dashboard.jpeg'], + 'depends': ['product', 'account'], + 'category': 'Warehouse Management', 'sequence': 16, - 'demo' : [ + 'demo': [ 'stock_demo.xml', # 'stock_demo.yml', ], - 'data' : [ + 'data': [ 'security/stock_security.xml', 'security/ir.model.access.csv', 'stock_data.xml', diff --git a/addons/stock_location/__openerp__.py b/addons/stock_location/__openerp__.py index 5696365cec9..8cc1790e7de 100644 --- a/addons/stock_location/__openerp__.py +++ b/addons/stock_location/__openerp__.py @@ -102,9 +102,9 @@ You can use the demo data as follow: 'stock_location_demo_cpu3.yml', ], 'installable': True, - 'test':[ - 'test/stock_location_pull_flow.yml', - 'test/stock_location_push_flow.yml', + 'test': [ + 'test/stock_location_pull_flow.yml', + 'test/stock_location_push_flow.yml', ], 'auto_install': False, 'certificate': '0046505115101', diff --git a/addons/survey/__openerp__.py b/addons/survey/__openerp__.py index 101dfba0811..1470754cb03 100644 --- a/addons/survey/__openerp__.py +++ b/addons/survey/__openerp__.py @@ -35,18 +35,20 @@ user name and password for the invitation of the survey. """, 'author': 'OpenERP SA', 'depends': ['base_tools', 'mail'], - 'data': ['survey_report.xml', - 'survey_data.xml', - 'wizard/survey_selection.xml', - 'wizard/survey_answer.xml', - 'security/survey_security.xml', - 'security/ir.model.access.csv', - 'survey_view.xml', - 'wizard/survey_print_statistics.xml', - 'wizard/survey_print_answer.xml', - 'wizard/survey_browse_answer.xml', - 'wizard/survey_print.xml', - 'wizard/survey_send_invitation.xml'], + 'data': [ + 'survey_report.xml', + 'survey_data.xml', + 'wizard/survey_selection.xml', + 'wizard/survey_answer.xml', + 'security/survey_security.xml', + 'security/ir.model.access.csv', + 'survey_view.xml', + 'wizard/survey_print_statistics.xml', + 'wizard/survey_print_answer.xml', + 'wizard/survey_browse_answer.xml', + 'wizard/survey_print.xml', + 'wizard/survey_send_invitation.xml' + ], 'demo': ['survey_demo.xml'], 'test': [ 'test/draft2open2close_survey.yml', diff --git a/addons/web_linkedin/__openerp__.py b/addons/web_linkedin/__openerp__.py index a81f91b0d8a..0e9503ac579 100644 --- a/addons/web_linkedin/__openerp__.py +++ b/addons/web_linkedin/__openerp__.py @@ -9,19 +9,11 @@ OpenERP Web LinkedIn module. ============================ This module provides the Integration of the LinkedIn with OpenERP. """, - 'data': [ - 'web_linkedin_view.xml', - ], + 'data': ['web_linkedin_view.xml'], 'depends' : ['base'], - 'js': [ - 'static/src/js/*.js' - ], - 'css': [ - 'static/src/css/*.css' - ], - 'qweb': [ - 'static/src/xml/*.xml' - ], + 'js': ['static/src/js/*.js'], + 'css': ['static/src/css/*.css'], + 'qweb': ['static/src/xml/*.xml'], 'installable': True, 'auto_install': False, } diff --git a/addons/web_shortcuts/__openerp__.py b/addons/web_shortcuts/__openerp__.py index 25323735e7f..aa23ed2bfa6 100644 --- a/addons/web_shortcuts/__openerp__.py +++ b/addons/web_shortcuts/__openerp__.py @@ -34,15 +34,9 @@ Add a Shortcut icon besides the views title in order to add/remove a shortcut. 'website': 'http://openerp.com', 'depends': ['base'], 'data': [], - 'js' : [ - 'static/src/js/web_shortcuts.js', - ], - 'css' : [ - 'static/src/css/web_shortcuts.css', - ], - 'qweb' : [ - 'static/src/xml/*.xml', - ], + 'js' : ['static/src/js/web_shortcuts.js'], + 'css' : ['static/src/css/web_shortcuts.css'], + 'qweb' : ['static/src/xml/*.xml'], 'installable': True, 'auto_install': False, }