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

14 lines
264B

  1. # -*- coding: utf-8 -*-
  2. from . import controllers
  3. from . import models
  4. from odoo import api, SUPERUSER_ID
  5. def post_init_hook(cr, registry):
  6. env = api.Environment(cr, SUPERUSER_ID, {})
  7. env['ir.http'].clear_caches()
  8. env['ir.ui.view'].clear_caches()
上海开阖软件有限公司 沪ICP备12045867号-1