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.

51 lines
1.8KB

  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. # TODO
  6. # All <label> elements in views must have a for="" attribute.
  7. # All <filter> elements in search views must have a name attribute.
  8. # All <button> elements in a tree view should have a string attribute
  9. # for accessibility.
  10. _TEXT_REPLACES = {
  11. ".py": {
  12. "from odoo.addons.base.res": "from odoo.addons.base.models",
  13. "from odoo.addons.base.ir": "from odoo.addons.base.models",
  14. }
  15. }
  16. _DEPRECATED_MODULES = [
  17. ("account_asset", "oca_moved", "account_asset_management",
  18. "Moved to OCA/account-financial-tools"),
  19. ("account_budget", "removed"),
  20. ("account_cash_basis_base_account", "merged", "account"),
  21. ("account_invoicing", "merged", "account"),
  22. ("anonymization", "removed"),
  23. ("auth_crypt", "merged", "base"),
  24. ("base_vat_autocomplete", "renamed", "partner_autocomplete"),
  25. ("l10n_be_intrastat", "removed"),
  26. ("l10n_be_intrastat_2019", "removed"),
  27. ("mrp_repair", "removed"),
  28. ("pos_data_drinks", "removed"),
  29. ("product_extended", "removed"),
  30. ("rating_project", "removed"),
  31. ("report_intrastat", "removed"),
  32. ("sale_order_dates", "merged", "sale"),
  33. ("sale_payment", "merged", "sale"),
  34. ("sale_service_rating", "merged", "sale_timesheet"),
  35. ("web_planner", "merged", "web"),
  36. ("website_forum_doc", "removed"),
  37. ("website_quote", "merged", "sale_quotation_builder"),
  38. ("website_rating_project", "removed"),
  39. ("website_sale_options", "removed"),
  40. ("website_sale_stock_options", "removed"),
  41. ]
  42. class MigrationScript(BaseMigrationScript):
  43. _TEXT_REPLACES = _TEXT_REPLACES
  44. _DEPRECATED_MODULES = _DEPRECATED_MODULES
上海开阖软件有限公司 沪ICP备12045867号-1