Skip to content

Commit

Permalink
preliminary Odoo 7.0 support
Browse files Browse the repository at this point in the history
  • Loading branch information
sbidoul committed Jul 16, 2016
1 parent dcfb918 commit e39c831
Show file tree
Hide file tree
Showing 2 changed files with 259 additions and 0 deletions.
254 changes: 254 additions & 0 deletions setuptools_odoo/base_addons.py
Original file line number Diff line number Diff line change
Expand Up @@ -5,6 +5,260 @@
They are therefore considered as installed as soon as the 'odoo' dependency
is satisfied. """

odoo7 = {
'account',
'account_accountant',
'account_analytic_analysis',
'account_analytic_default',
'account_analytic_plans',
'account_anglo_saxon',
'account_asset',
'account_bank_statement_extensions',
'account_budget',
'account_cancel',
'account_chart',
'account_check_writing',
'account_followup',
'account_payment',
'account_report_company',
'account_sequence',
'account_test',
'account_voucher',
'analytic',
'analytic_contract_hr_expense',
'analytic_user_function',
'anonymization',
'association',
'audittrail',
'auth_crypt',
'auth_ldap',
'auth_oauth',
'auth_oauth_signup',
'auth_openid',
'auth_signup',
'base_action_rule',
'base_calendar',
'base_gengo',
'base_iban',
'base_import',
'base_report_designer',
'base_setup',
'base_status',
'base_vat',
'board',
'bus',
'calendar',
'claim_from_delivery',
'contacts',
'crm',
'crm_claim',
'crm_helpdesk',
'crm_partner_assign',
'crm_profiling',
'crm_todo',
'decimal_precision',
'delivery',
'document',
'document_ftp',
'document_page',
'document_webdav',
'edi',
'email_template',
'event',
'event_moodle',
'event_sale',
'fetchmail',
'fleet',
'gamification',
'google_base_account',
'google_calendar',
'google_docs',
'google_drive',
'google_spreadsheet',
'hr',
'hr_attendance',
'hr_contract',
'hr_evaluation',
'hr_expense',
'hr_gamification',
'hr_holidays',
'hr_payroll',
'hr_payroll_account',
'hr_recruitment',
'hr_timesheet',
'hr_timesheet_invoice',
'hr_timesheet_sheet',
'hw_proxy',
'idea',
'im_chat',
'im_livechat',
'knowledge',
'l10n_ae',
'l10n_ar',
'l10n_at',
'l10n_be',
'l10n_be_coda',
'l10n_be_hr_payroll',
'l10n_be_hr_payroll_account',
'l10n_be_invoice_bba',
'l10n_bo',
'l10n_br',
'l10n_ca',
'l10n_ch',
'l10n_cl',
'l10n_cn',
'l10n_co',
'l10n_cr',
'l10n_de',
'l10n_ec',
'l10n_es',
'l10n_et',
'l10n_fr',
'l10n_fr_hr_payroll',
'l10n_fr_rib',
'l10n_gr',
'l10n_gt',
'l10n_hn',
'l10n_hr',
'l10n_hu',
'l10n_in',
'l10n_in_hr_payroll',
'l10n_it',
'l10n_lu',
'l10n_ma',
'l10n_multilang',
'l10n_mx',
'l10n_nl',
'l10n_pa',
'l10n_pe',
'l10n_pl',
'l10n_pt',
'l10n_ro',
'l10n_sg',
'l10n_si',
'l10n_syscohada',
'l10n_th',
'l10n_tr',
'l10n_uk',
'l10n_us',
'l10n_uy',
'l10n_ve',
'l10n_vn',
'lunch',
'mail',
'marketing',
'marketing_campaign',
'marketing_campaign_crm_demo',
'mass_mailing',
'membership',
'mrp',
'mrp_byproduct',
'mrp_jit',
'mrp_operations',
'mrp_repair',
'multi_company',
'note',
'note_pad',
'pad',
'pad_project',
'payment',
'payment_adyen',
'payment_buckaroo',
'payment_ogone',
'payment_paypal',
'payment_transfer',
'plugin',
'plugin_outlook',
'plugin_thunderbird',
'point_of_sale',
'portal',
'portal_anonymous',
'portal_claim',
'portal_crm',
'portal_event',
'portal_hr_employees',
'portal_project',
'portal_project_issue',
'portal_project_long_term',
'portal_sale',
'portal_stock',
'process',
'procurement',
'product',
'product_expiry',
'product_manufacturer',
'product_margin',
'product_visible_discount',
'project',
'project_gtd',
'project_issue',
'project_issue_sheet',
'project_long_term',
'project_mrp',
'project_timesheet',
'purchase',
'purchase_analytic_plans',
'purchase_double_validation',
'purchase_requisition',
'report',
'report_intrastat',
'report_webkit',
'resource',
'sale',
'sale_analytic_plans',
'sale_crm',
'sale_journal',
'sale_margin',
'sale_mrp',
'sale_order_dates',
'sales_team',
'sale_stock',
'share',
'stock',
'stock_account',
'stock_invoice_directly',
'stock_location',
'stock_no_autopicking',
'subscription',
'survey',
'warning',
'web',
'web_analytics',
'web_api',
'web_calendar',
'web_diagram',
'web_gantt',
'web_graph',
'web_hello',
'web_kanban',
'web_kanban_gauge',
'web_kanban_sparkline',
'web_linkedin',
'web_shortcuts',
'website',
'website_blog',
'website_crm',
'website_event',
'website_event_sale',
'website_event_track',
'website_forum',
'website_gengo',
'website_google_map',
'website_hr_recruitment',
'website_instantclick',
'website_mail',
'website_mail_group',
'website_payment',
'website_quote',
'website_sale',
'website_sale_delivery',
'website_sale_options',
'website_twitter',
'web_tests',
'web_tests_demo',
'web_view_editor',
}

odoo8 = {
'base',
'account',
Expand Down
5 changes: 5 additions & 0 deletions setuptools_odoo/core.py
Original file line number Diff line number Diff line change
Expand Up @@ -18,6 +18,11 @@
ADDONS_NAMESPACE = 'odoo_addons'

ODOO_VERSION_INFO = {
'7.0': {
'odoo_dep': 'odoo>=7.0a,<8.0a',
'base_addons': base_addons.odoo7,
'addon_dep_version': '>=7.0a,<7.0a',
},
'8.0': {
'odoo_dep': 'odoo>=8.0a,<9.0a',
'base_addons': base_addons.odoo8,
Expand Down

0 comments on commit e39c831

Please sign in to comment.