官术网_书友最值得收藏!

Creating a new application

Some Odoo modules create new applications, and others add features or modify existing applications. While the technical components involved are about the same, an app is expected to include a few characteristic elements. Since we are creating a new library app, we should include them in our module.

An app should have:

  • An icon, to be presented in the app list.
  • A top-level menu item, under which all the app's menu items will be placed.
  • Security groups for the app, so that it can be enabled only for users that need it, and where access security will be set.

To add an icon, we just need to place an icon.png file in the module's static/description/ subdirectory. This was done in the Adding an icon section.

Next, we will take care of the app's top-level menu.

主站蜘蛛池模板: 青海省| 科技| 加查县| 八宿县| 惠东县| 宜兰市| 景宁| 富锦市| 普安县| 丹东市| 林州市| 利川市| 枣庄市| 竹溪县| 台江县| 孟连| 景洪市| 延长县| 于田县| 全椒县| 大港区| 奉贤区| 延庆县| 临朐县| 西乌| 鹤峰县| 喀喇| 厦门市| 班玛县| 阿城市| 建阳市| 会理县| 肇州县| 苍南县| 株洲县| 枞阳县| 田阳县| 喀喇沁旗| 永济市| 开封县| 甘孜县|