如何激活OpenERP开发人员模式

如何激活OpenERP开发人员模式

本文介绍了如何激活OpenERP开发人员模式的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

在我的OpenERP HR项目中,与其他项目一样,我没有看到或没有访问开发人员模式的链接.请帮我解决这个问题.

In my OpenERP HR Project I can not see or no link for access to developer mode as other projects. Please kindly help me to solve this.

到图像

推荐答案

开发人员模式

Odoo开发人员模式允许您对Odoo数据库进行实质性修改,例如向文档和视图中添加字段.您可以更改操作的默认视图,甚至可以基于模型中的其他字段创建动态表单.

Odoo developer mode allows you to make substantial modifications to the Odoo database such as adding fields to your documents and views. You change the default views of your actions and can even create dynamic forms based on other fields within your models.

优势

虽然Odoo是功能强大的应用程序框架,但是开发周期对于测试对应用程序的更改可能是残酷的.通过使用开发人员模式,您可以测试表达式并解决许多功能问题,而不必一遍又一遍地重新启动服务器以测试简单的更改.

While Odoo is a powerful application framework the development cycle can be brutal to test changes to your application. By utilizing the developer mode you can test expressions and solve many functional problems without having to restart the server over and over to test simple changes.

此外,Odoo开发人员工具非常适合查看表单和视图的体系结构,以查看字段如何与模块,其域,上下文和其他属性绑定在一起.在本视频中,我们精确地探索了如何将这些工具用于修改和创建Odoo应用程序.

Additionally the Odoo developer tool is great for looking at the architecture of forms and views to see how fields are tied to modules, their domains, contexts and other attributes. In this video we explore exactly how we put these tools to use in modifying and creating Odoo applications.

限制

尽管使用开发人员模式对应用程序进行大量更改可能非常诱人,但仍有一些缺点.根据您所做的修改和更改,在将来的模块更新中或在Odoo中安装其他应用程序时,可能会丢失这些更改.对于更改视图尤其如此.

While it can be very tempting to use developer mode to make a great deal of changes to your application there are some drawbacks. Depending on what you modify and change you can lose these changes with future module updates or when you install additional applications into Odoo. This is particularly true for changes to views.

要激活开发人员模式,只需写下

To activate developer mode you just simply write down

对于v7版本

& debug =

在#号之前,您只需添加它即可.

before # sign you just add it.

http://localhost:8069/?db=test_db&debug=#

对于版本> v7

http://localhost:8069/web?debug=

您看不到关于Odoo 菜单,因为可能已安装了odoo商标删除模块.

You can not see About Odoo menu because there is odoo debranding module installed might be.

这篇关于如何激活OpenERP开发人员模式的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持!

08-26 08:21