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.

46 lines
1.6KB

  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. "*": {
  7. "base.group_configuration": "base.group_system",
  8. "base.group_sale_salesman": "sales_team.group_sale_salesman",
  9. "base.group_sale_salesman_all_leads":
  10. "sales_team.group_sale_salesman_all_leads",
  11. "base.group_sale_manager": "sales_team.group_sale_manager",
  12. },
  13. }
  14. _DEPRECATED_MODULES = [
  15. ("account_extra_reports", "removed"),
  16. ("account_full_reconcile", "removed"),
  17. ("account_tax_adjustments", "removed"),
  18. ("account_tax_exigible", "removed"),
  19. ("claim_from_delivery", "removed"),
  20. ("crm_claim", "removed"),
  21. ("crm_partner_assign", "removed"),
  22. ("im_odoo_support", "merged", "im_livechat"),
  23. ("mail_tip", "merged", "mail"),
  24. ("marketing", "merged", "marketing_campaign"),
  25. ("mrp_operations", "merged", "mrp"),
  26. ("product_uos", "removed"),
  27. ("product_visible_discount", "removed"),
  28. ("project_timesheet", "merged", "hr_timesheet"),
  29. ("report_webkit", "removed"),
  30. ("sale_layout", "merged", "sale"),
  31. ("sale_service", "merged", "sale_timesheet"),
  32. ("warning", "removed"),
  33. ("web_analytics", "removed"),
  34. ("web_tip", "removed"),
  35. ("web_view_editor", "removed"),
  36. ("website_crm_claim", "removed"),
  37. ]
  38. class MigrationScript(BaseMigrationScript):
  39. _TEXT_REPLACES = _TEXT_REPLACES
  40. _DEPRECATED_MODULES = _DEPRECATED_MODULES
上海开阖软件有限公司 沪ICP备12045867号-1