中国本土应用
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.

20 lines
467B

  1. # -*- coding: utf-8 -*-
  2. from odoo.tools import sql
  3. from . import api
  4. from . import tools
  5. from . import models
  6. from . import controllers
  7. # from odoo import api, SUPERUSER_ID, _
  8. # def post_init_hook(cr, registry):
  9. # # 安装模块后清理 清除所有的记录,并且索引号从0开始
  10. # env = api.Environment(cr, SUPERUSER_ID, {})
  11. # query = """
  12. # TRUNCATE TABLE wecom_app_config RESTART IDENTITY CASCADE;
  13. # """
  14. # env.cr.execute(query)
上海开阖软件有限公司 沪ICP备12045867号-1