Cannot install Sale module

Asked by debbie

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 : en_SG.cp1252
Python Version : 2.5.2
OpenERP-Client Version : 5.0.14
Last revision No. & ID :Bazaar Package not Found !Traceback (most recent call last):
  File "netsvc.pyo", line 256, in dispatch
  File "netsvc.pyo", line 76, in __call__
  File "service\web_services.pyo", line 633, in execute
  File "service\web_services.pyo", line 613, in _execute
  File "wizard\__init__.pyo", line 178, in execute
  File "wizard\__init__.pyo", line 73, in execute_cr
  File "C:\Program Files\OpenERP AllInOne\Server\addons\base\module\wizard\wizard_module_upgrade.py", line 92, in _upgrade_module
  File "pooler.pyo", line 62, in restart_pool
  File "pooler.pyo", line 40, in get_db_and_pool
  File "addons\__init__.pyo", line 736, in load_modules
  File "addons\__init__.pyo", line 637, in load_module_graph
  File "tools\convert.pyo", line 877, in convert_xml_import
  File "tools\convert.pyo", line 774, in parse
  File "tools\convert.pyo", line 670, in _tag_assert
Exception: Severe assertion failure

__________________________________________________________________________________________

I was trying to install Sale module to my database.
I have managed to install the other module which i would like to test.
But I encountered this problem while trying to install Sale module to the db.
No matter how many times i tried, i always encountered the same error otherwise it will just prompt me a message "Connection Refused!!" without given any details.

Please kindly help.

Thanks in advance...

Question information

Language:
English Edit question
Status:
Solved
For:
Odoo Addons (MOVED TO GITHUB) Edit question
Assignee:
No assignee Edit question
Solved by:
debbie
Solved:
Last query:
Last reply:
Revision history for this message
OpenBMS JSC (openbmsjsc) said :
#1

You should enable the debug=True, log_debug =debug or debug_sql to see what is going on and identify the cause of the error.

Revision history for this message
debbie (declovey) said :
#2

i am so sorry, but would you mind to elaborate further?

Does that mean i need to install the source code and debug from the source code?

Thank you for your reply.. :)

Revision history for this message
OpenBMS JSC (openbmsjsc) said :
#3

It looks like you've installed from OpenERP AllInOne, which bundles everything, including the source.

Locate file openerp-server.conf (it should be in the same directory with the server executable, e.g. OpenERP AllInOne/Server), find the lines that read below, or change to make it read as below

debug_mode = True
###log_level = debug
log_level = debug_sql

Revision history for this message
debbie (declovey) said :
#4

Thank you so much....

I have tried to upgrade the module then i checked the log file:
this is the message which i can understand:
"[2010-11-12 11:58:58,573][openerp_ch02] ERROR:orm:[12]: Programming error: field 'sale_id' does not exist in object 'stock.picking' !"

Please kindly advice me what should i do next?

Thanks in advance!

Revision history for this message
OpenBMS JSC (openbmsjsc) said :
#5

it looks like some version mis-match between different modules.

What I can suggest: get the latest stable version (e.g. 5.0.x or 6.0.0-RC1) from openerp.com, do a completely clean install, and recreate completely new DB.

If you have access to Linux (e.g. Ubuntu), it's better to try your testbed there. ubuntun can be install as a SW component on Windows (although you can use both Windows and Ubuntu at the same time).

Revision history for this message
debbie (declovey) said :
#6

Thanks a lot phong nguyen.. ^.^

i downloaded the latest version few days ago, i thought this is the most stable version already.

Anyway, thank you so much for your reply.

I appreciate it very much.

Revision history for this message
debbie (declovey) said :
#7

Thanks a lot phong nguyen.. ^.^

i downloaded the latest version few days ago, i thought this is the most stable version already.

Anyway, thank you so much for your reply.

I appreciate it very much.