I do run into this bug with a new database w/o demo data. This was not a fix. You will trigger the error either if you first install sale_journal and then magentoerpconnect or try to update the magentoerpconnect module with sale_journal being installed.
Here's my error log:
Environment Information :
System : Windows-Vista-6.1.7600
OS Name : nt
Operating System Release : Vista
Operating System Version : 6.1.7600
Operating System Architecture : 32bit
Operating System Locale : de_DE.cp1252
Python Version : 2.5.2
OpenERP-Client Version : 5.0.12
Last revision No. & ID :Bazaar Package not Found !Traceback (most recent call last):
File "/home/thomdrei/workspace/server/bin/netsvc.py", line 247, in dispatch
result = LocalService(service_name)(method, *params)
File "/home/thomdrei/workspace/server/bin/netsvc.py", line 76, in __call__
return getattr(self, method)(*params)
File "/home/thomdrei/workspace/server/bin/service/web_services.py", line 633, in execute
return self._execute(db, uid, wiz_id, datas, action, context)
File "/home/thomdrei/workspace/server/bin/service/web_services.py", line 613, in _execute
return wiz.execute(db, uid, self.wiz_datas[wiz_id], action, context)
File "/home/thomdrei/workspace/server/bin/wizard/__init__.py", line 178, in execute
res = self.execute_cr(cr, uid, data, state, context)
File "/home/thomdrei/workspace/server/bin/wizard/__init__.py", line 73, in execute_cr
action_res = action(self, cr, uid, data, context)
File "/home/thomdrei/workspace/server/bin/addons/base/module/wizard/wizard_module_upgrade.py", line 92, in _upgrade_module
db, pool = pooler.restart_pool(cr.dbname, update_module=True)
File "/home/thomdrei/workspace/server/bin/pooler.py", line 62, in restart_pool
return get_db_and_pool(db_name, force_demo, status, update_module=update_module)
File "/home/thomdrei/workspace/server/bin/pooler.py", line 40, in get_db_and_pool
addons.load_modules(db, force_demo, status, update_module)
File "/home/thomdrei/workspace/server/bin/addons/__init__.py", line 741, in load_modules
r = load_module_graph(cr, graph, status, report=report)
File "/home/thomdrei/workspace/server/bin/addons/__init__.py", line 584, in load_module_graph
init_module_objects(cr, package.name, modules)
File "/home/thomdrei/workspace/server/bin/addons/__init__.py", line 367, in init_module_objects
result = obj._auto_init(cr, {'module': module_name})
File "/home/thomdrei/workspace/addons/magentoerpconnect/sale.py", line 239, in _auto_init
cr.execute("ALTER TABLE sale_order_line ALTER COLUMN discount TYPE numeric(16,6);")
File "/home/thomdrei/workspace/server/bin/sql_db.py", line 77, in wrapper
return f(self, *args, **kwargs)
File "/home/thomdrei/workspace/server/bin/sql_db.py", line 122, in execute
res = self._obj.execute(query, params)
NotSupportedError: FEHLER: Typ einer Spalte, die von einer Sicht oder Regel verwendet wird, kann nicht geändert werden
DETAIL: Regel _RETURN für Sicht sale_journal_picking_stats hängt von Spalte »discount« ab
I do run into this bug with a new database w/o demo data. This was not a fix. You will trigger the error either if you first install sale_journal and then magentoerpconnect or try to update the magentoerpconnect module with sale_journal being installed.
Here's my error log:
Environment Information : Vista-6. 1.7600 thomdrei/ workspace/ server/ bin/netsvc. py", line 247, in dispatch service_ name)(method, *params) thomdrei/ workspace/ server/ bin/netsvc. py", line 76, in __call__ thomdrei/ workspace/ server/ bin/service/ web_services. py", line 633, in execute thomdrei/ workspace/ server/ bin/service/ web_services. py", line 613, in _execute datas[wiz_ id], action, context) thomdrei/ workspace/ server/ bin/wizard/ __init_ _.py", line 178, in execute thomdrei/ workspace/ server/ bin/wizard/ __init_ _.py", line 73, in execute_cr thomdrei/ workspace/ server/ bin/addons/ base/module/ wizard/ wizard_ module_ upgrade. py", line 92, in _upgrade_module restart_ pool(cr. dbname, update_module=True) thomdrei/ workspace/ server/ bin/pooler. py", line 62, in restart_pool and_pool( db_name, force_demo, status, update_ module= update_ module) thomdrei/ workspace/ server/ bin/pooler. py", line 40, in get_db_and_pool load_modules( db, force_demo, status, update_module) thomdrei/ workspace/ server/ bin/addons/ __init_ _.py", line 741, in load_modules graph(cr, graph, status, report=report) thomdrei/ workspace/ server/ bin/addons/ __init_ _.py", line 584, in load_module_graph module_ objects( cr, package.name, modules) thomdrei/ workspace/ server/ bin/addons/ __init_ _.py", line 367, in init_module_objects thomdrei/ workspace/ addons/ magentoerpconne ct/sale. py", line 239, in _auto_init execute( "ALTER TABLE sale_order_line ALTER COLUMN discount TYPE numeric(16,6);") thomdrei/ workspace/ server/ bin/sql_ db.py", line 77, in wrapper thomdrei/ workspace/ server/ bin/sql_ db.py", line 122, in execute execute( query, params) picking_ stats hängt von Spalte »discount« ab
System : Windows-
OS Name : nt
Operating System Release : Vista
Operating System Version : 6.1.7600
Operating System Architecture : 32bit
Operating System Locale : de_DE.cp1252
Python Version : 2.5.2
OpenERP-Client Version : 5.0.12
Last revision No. & ID :Bazaar Package not Found !Traceback (most recent call last):
File "/home/
result = LocalService(
File "/home/
return getattr(self, method)(*params)
File "/home/
return self._execute(db, uid, wiz_id, datas, action, context)
File "/home/
return wiz.execute(db, uid, self.wiz_
File "/home/
res = self.execute_cr(cr, uid, data, state, context)
File "/home/
action_res = action(self, cr, uid, data, context)
File "/home/
db, pool = pooler.
File "/home/
return get_db_
File "/home/
addons.
File "/home/
r = load_module_
File "/home/
init_
File "/home/
result = obj._auto_init(cr, {'module': module_name})
File "/home/
cr.
File "/home/
return f(self, *args, **kwargs)
File "/home/
res = self._obj.
NotSupportedError: FEHLER: Typ einer Spalte, die von einer Sicht oder Regel verwendet wird, kann nicht geändert werden
DETAIL: Regel _RETURN für Sicht sale_journal_