请教各位大神,用OE来开发OA会遇到哪些问题,难点哪?
zero1233276
- 
 用OE来做 OA 合不合适?
- 
 先安科技(Shine IT)寻人启事how much? 
- 
 OE7 匯入台灣會科可参考中国会计科目。 
- 
 邀请用户邮件问题(已经解决)请到邮件模板下指定outgoing邮件服务器 
- 
 Openerp Server 自动重启写了一个windows平台检测openerp文件夹内文件改动,服务自动重启的功能。 
 配置改好后,直接运行这个文件就行了。
 可能有些问题,欢迎大家留言!
- 
 Openerp 7.0 windows 下考勤时间修改date.js文件后发现消息模块的时间显示为长串的英文时间+时区的格式。以下方法改为中文时间显示: 
 ( 2013年3月2日 下午1:55:00)
 1.mail模块里的mail.js文件259行后加入
 this.datestring = this.date.toLocaleString();
 2.mail模块里的mail.xml文件281行修改为
 <span t-att-title="widget.datestring"><t t-if="widget.timerelative" t-raw="widget.timerelative"/><t t-if="!widget.timerelative" t-raw="widget.datestring"/></span>
- 
 Openerp 7.0 windows 下考勤时间找到 dates.js 在web\src\static\js下第24行,改为var obj = Date.parseExact(res[1], 'yyyy-MM-dd HH:mm:ss') 
- 
 OE6 update moduledef updateModule(self, cr, uid, ids, context={}): 
 mod_obj = self.pool.get('ir.module.module')
 ids = mod_obj.search(cr, uid, [('name','=',self._module)])
 mod_obj.button_upgrade(cr, uid, ids)
 objs = self.pool.get('base.module.upgrade')
 objs.upgrade_module(cr, uid, ids, context=None)
 return True
 放在开发的模块中,设置一个按钮关联就可以直接更新系统,写xml的时候比较方便。希望高手改进,最好按F5直接刷新。
- 
 6.1中 xml里面的js代码的问题这种写法在ie9里完全不行,不知道有没有什么解决办法。js可以从外部调用。 
- 
 Web_field_style 一个有用模块。:)FIELD STYLE 
 ===========
 OpenERP module that allows to specify different colors or CSS class per field in view definition.
 Three new attributes will be available on the field element of a view::
 -bgcolorfor setting the background color
 -fgcolorfor setting the foreground color (basically the text)
 -ccsclassfor setting a custom CSS class to be applied on the fieldbg/fgcolorare very useful for people that only want to change some field color without
 having to deal with CSS, whilecssclassis useful for assigning the same styles to a group of fields.
 NOTE: you must apply a simple patch to this server's file
 server/openerp/addons/base/rng/view.rng
 Just use the patch provided by this module (see server-view.rng.patch in the root of the package).
- 
 Default_home was not found 解决办法。[size=14pt]今天调了一天终于找到了这个异常解决办法,如出现“default_home was not found ”大部分原因是模块的图片位置,大小等没有设置好导致的。这个异常不太好调试,因为没有具体说明出错原因。对于自己添加的web模块,功能性的直接将'category': 'Hidden',否则就会出现这种错误,或者将该模块的web-icon,web_icon_hover设置清楚。说的不对的请多多指教。Mark:[/size] 
- 
 [已解决]安装模块出错。[quote author=Joshua link=topic=4304.msg11760#msg11760 date=1345082683] 
 [quote author=zero1233276 link=topic=4304.msg11756#msg11756 date=1345014531]
 File "D:\erp\openerp\addons\base\ir\ir_model.py", line 644, in _get_id
 raise ValueError('No such external ID currently defined in the system: %s.%s
 ' % (module, xml_id))
 ValueError: No such external ID currently defined in the system: base.group_tool
 _user
 求助啊。装不了模块了。都是报这个错。
 [/quote]
 估计你有一个模块安装出现问题,其他模块安装的时候你没有取消那个出问题的模块,你执行已安排升级的时候可以看到所有排定安装的模块,你一个个取消,看看问题是出现在哪个模块。
 [/quote]
 谢谢,mrshelly有正解。
- 
 [已解决]安装模块出错。[quote author=mrshelly link=topic=4304.msg11762#msg11762 date=1345095563] 
 安装 subscription 模块...
 或者 某个模块没有 depends 这个 subscription 模块...
 [/quote]
 高手哇。确实是 subscription这个模块的问题。但是不清楚问题在哪/。
- 
 [已解决]安装模块出错。[quote author=Joshua link=topic=4304.msg11758#msg11758 date=1345023152] 
 你安装什么模块呢?(可以模块列表里找出安装的模块)
 [/quote]
 是什么模块都是这个问题装不了,找不到xmlid,和groups_tool_user这个有关。没找到解决办法。
- 
 [已解决]安装模块出错。File "D:\erp\openerp\addons\base\ir\ir_model.py", line 644, in _get_id 
 raise ValueError('No such external ID currently defined in the system: %s.%s
 ' % (module, xml_id))
 ValueError: No such external ID currently defined in the system: base.group_tool
 _user
 求助啊。装不了模块了。都是报这个错。
- 
 关于生成pdf的问题先检查images/图片引用正确,然后看看浏览器配置。 
- 
 求助:如何修改一条记录的ID自问自答:cr.execute("update *** SET ***") 
- 
 求助:如何修改一条记录的ID如题,我想创建特定ID的记录怎么办?