You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.

71 lines
2.7KB

  1. # Copyright (C) 2019 - Today: GRAP (http://www.grap.coop)
  2. # @author: Sylvain LE GAL (https://twitter.com/legalsylvain)
  3. # License AGPL-3.0 or later (http://www.gnu.org/licenses/agpl.html).
  4. from odoo_module_migrate.base_migration_script import BaseMigrationScript
  5. _TEXT_REPLACES = {
  6. ".py": {"select=True": "index=True"},
  7. }
  8. _DEPRECATED_MODULES = [
  9. ("account_analytic_analysis", "oca_moved", "contract",
  10. "Moved to OCA/contract"),
  11. ("account_analytic_plans", "oca_moved", "account_analytic_distribution",
  12. "Moved to OCA/account_analytic"),
  13. ("account_bank_statement_extensions", "removed"),
  14. ("account_chart", "merged", "account"),
  15. ("account_check_writing", "renamed", "account_check_printing"),
  16. ("account_followup", "removed"),
  17. ("account_payment", "oca_moved", "account_payment_order",
  18. "Moved to OCA/bank-payment"),
  19. ("account_sequence", "removed"),
  20. ("analytic_contract_hr_expense", "removed"),
  21. ("analytic_user_function", "removed"),
  22. ("anglo_saxon_dropshipping", "removed"),
  23. ("auth_openid", "removed"),
  24. ("base_report_designer", "removed"),
  25. ("contacts", "merged", "mail"),
  26. ("crm_helpdesk", "removed"),
  27. ("crm_mass_mailing", "removed"),
  28. ("crm_profiling", "removed"),
  29. ("edi", "removed"),
  30. ("email_template", "merged", "mail_template"),
  31. ("hr_applicant_document", "removed"),
  32. ("hr_timesheet_invoice", "removed"),
  33. ("im_chat", "merged", "mail"),
  34. ("knowledge", "oca_moved", "knowledge", "Moved to OCA/knowledge"),
  35. ("l10n_be_coda", "removed"),
  36. ("l10n_fr_rib", "removed"),
  37. ("marketing_crm", "merged", "crm"),
  38. ("multi_company", "removed"),
  39. ("portal_claim", "renamed", "website_crm_claim"),
  40. ("portal_project", "merged", "project"),
  41. ("portal_project_issue", "merged", "project_issue"),
  42. ("procurement_jit_stock", "merged", "procurement_jit"),
  43. ("purchase_analytic_plans", "oca_moved", "purchase_analytic_distribution",
  44. "Moved to OCA/account-analytic"),
  45. ("purchase_double_validation", "removed"),
  46. ("sale_analytic_plans", "oca_moved", "sale_analytic_distribution",
  47. "Moved to OCA/account-analytic"),
  48. ("sale_journal", "removed"),
  49. ("share", "removed"),
  50. ("stock_invoice_directly", "removed"),
  51. ("web_api", "removed"),
  52. ("web_gantt", "merged", "web"),
  53. ("web_graph", "merged", "web"),
  54. ("web_kanban_sparkline", "merged", "web"),
  55. ("web_tests", "merged", "web"),
  56. ("web_tests_demo", "removed"),
  57. ("website_certification", "removed"),
  58. ("website_instantclick", "removed"),
  59. ("website_mail_group", "renamed", "website_mail_channel"),
  60. ("website_report", "merged", "report"),
  61. ]
  62. class MigrationScript(BaseMigrationScript):
  63. _TEXT_REPLACES = _TEXT_REPLACES
  64. _DEPRECATED_MODULES = _DEPRECATED_MODULES
上海开阖软件有限公司 沪ICP备12045867号-1