pycharm-odoo icon indicating copy to clipboard operation
pycharm-odoo copied to clipboard

Support JS Environment

Open trinhanhngoc opened this issue 2 years ago • 0 comments

Documentation: https://www.odoo.com/documentation/16.0/developer/reference/frontend/framework_overview.html#environment

Environment is defined in makeEnv(): https://github.com/odoo/odoo/blob/509bda2202df9f0f582fd020d96e8e1310b9abc7/addons/web/static/src/env.js#L30

  • [ ] Type inference for Component.env.
  • [ ] Type inference for useEnv() hook.
  • [ ] Type inference for function's env argument.
  • [ ] Type inference for env.services.
  • [ ] Service reference for env.services[...] and env.services.[...].

trinhanhngoc avatar Dec 20 '22 16:12 trinhanhngoc