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

16 lines
330B

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