0

我正在尝试使用不同的文件夹名称从 OpenErp 安装购买应用程序模块,以便将代码视图编辑为不同的应用程序而不修改现有的应用程序。

Client Traceback (most recent call last): 
File "C:\Program Files\OpenERP 7.0-20130321-002353\Server\server\openerp\addons\web\http.py", line 203, in dispatch
File "C:\Program Files\OpenERP 7.0-20130321-002353\Server\server\openerp\addons\web\controllers\main.py", line 1133, in call_button
File "C:\Program Files\OpenERP 7.0-20130321-002353\Server\server\openerp\addons\web\controllers\main.py", line 1121, in _call_kw
File "C:\Program Files\OpenERP 7.0-20130321-002353\Server\server\openerp\addons\web\session.py", line 43, in proxy
File "C:\Program Files\OpenERP 7.0-20130321-002353\Server\server\openerp\addons\web\session.py", line 31, in proxy_method
File "C:\Program Files\OpenERP 7.0-20130321-002353\Server\server\openerp\addons\web\session.py", line 104, in send


Server Traceback (most recent call last):
File "C:\Program Files\OpenERP 7.0-20130321-002353\Server\server\openerp\addons\web\session.py", line 90, in send
File "C:\Program Files\OpenERP 7.0-20130321-002353\Server\server\.\openerp\netsvc.py", line 293, in dispatch_rpc
File "C:\Program Files\OpenERP 7.0-20130321-002353\Server\server\.\openerp\service\web_services.py", line 626, in dispatch
File "C:\Program Files\OpenERP 7.0-20130321-002353\Server\server\.\openerp\osv\osv.py", line 188, in execute_kw
File "C:\Program Files\OpenERP 7.0-20130321-002353\Server\server\.\openerp\osv\osv.py", line 131, in wrapper
File "C:\Program Files\OpenERP 7.0-20130321-002353\Server\server\.\openerp\osv\osv.py", line 197, in execute
File "C:\Program Files\OpenERP 7.0-20130321-002353\Server\server\.\openerp\osv\osv.py", line 185, in execute_cr
File "C:\Program Files\OpenERP 7.0-20130321-002353\Server\server\openerp\addons\base\module\module.py", line 424, in button_immediate_install
File "C:\Program Files\OpenERP 7.0-20130321-002353\Server\server\openerp\addons\base\module\module.py", line 475, in _button_immediate_function
File "C:\Program Files\OpenERP 7.0-20130321-002353\Server\server\.\openerp\pooler.py", line 39, in restart_pool
File "C:\Program Files\OpenERP 7.0-20130321-002353\Server\server\.\openerp\modules\registry.py", line 218, in new
File "C:\Program Files\OpenERP 7.0-20130321-002353\Server\server\.\openerp\modules\loading.py", line 348, in load_modules
File "C:\Program Files\OpenERP 7.0-20130321-002353\Server\server\.\openerp\modules\loading.py", line 259, in load_marked_modules
File "C:\Program Files\OpenERP 7.0-20130321-002353\Server\server\.\openerp\modules\loading.py", line 162, in load_module_graph
File "C:\Program Files\OpenERP 7.0-20130321-002353\Server\server\.\openerp\modules\module.py", line 405, in load_openerp_module
File "C:\Program Files\OpenERP 7.0-20130321-002353\Server\server\.\openerp\modules\module.py", line 133, in load_module
File "C:\Program Files\OpenERP 7.0-20130321-002353\Server\server\openerp\addons\compra\__init__.py", line 26, in <module>
File "C:\Program Files\OpenERP 7.0-20130321-002353\Server\server\openerp\addons\compra\report\__init__.py", line 22, in <module>
File "C:\Program Files\OpenERP 7.0-20130321-002353\Server\server\openerp\addons\compra\report\order.py", line 32, in <module>
File "C:\Program Files\OpenERP 7.0-20130321-002353\Server\server\.\openerp\report\report_sxw.py", line 392, in __init__
File "C:\Program Files\OpenERP 7.0-20130321-002353\Server\server\.\openerp\report\interface.py", line 65, in __init__
File "C:\Program Files\OpenERP 7.0-20130321-002353\Server\server\.\openerp\report\interface.py", line 45, in __init__
AssertionError: The report "report.purchase.order" already exists!

它向我抛出了这个错误,如果没有安装现有的购买应用程序将其安装为另一个,就不可能只更改文件夹名称并创建新数据库吗?

4

1 回答 1

1

这不是定制的好方法。如果你这样做 OpenERP 会给你关于报告已经存在的错误。您应该制作自己的模块以进行自定义。

如果您真的不想制作自己的模块,那么您应该删除删除所有报告,或者您也应该更改 py 和 xml 中的报告名称。

这将解决您的错误。

谢谢你。

于 2013-04-09T03:44:55.760 回答