problem with developing and installing a new module in openerp v6

Asked by shania

Environment Information :
System : Windows-32bit,
Windows 7 Starter
dia version: 0.97.1-1
Python Version : 2.3.5
pycairo-1.0.2-1.win32-py2.3
pygtk-2.8.6-1.win32-py2.3
OpenERP-Client Version : 6.0.1
i ve worked with these tools to develop a new module"Localisation" in Openerp but i get this error and i don't know where is the problem.
following error:
Traceback (most recent call last):
  File "netsvc.pyo", line 489, in dispatch
  File "service\web_services.pyo", line 599, in dispatch
  File "osv\osv.pyo", line 122, in wrapper
  File "osv\osv.pyo", line 176, in execute
  File "osv\osv.pyo", line 167, in execute_cr
  File "C:\Program Files\OpenERP 6.0\Server\addons\base\module\wizard\base_module_upgrade.py", line 98, in upgrade_module
  File "pooler.pyo", line 60, in restart_pool
  File "pooler.pyo", line 39, in get_db_and_pool
  File "addons\__init__.pyo", line 883, in load_modules
  File "addons\__init__.pyo", line 719, in load_module_graph
  File "addons\__init__.pyo", line 414, in init_module_objects
  File "osv\orm.pyo", line 2633, in _auto_init
  File "sql_db.pyo", line 78, in wrapper
  File "sql_db.pyo", line 131, in execute
ProgrammingError: relation "localisation_transporteur" does not exist

plz any ideas how to solve that??!!

Kind regards,

Question information

Language:
English Edit question
Status:
Answered
For:
Odoo Addons (MOVED TO GITHUB) Edit question
Assignee:
No assignee Edit question
Last query:
Last reply:
Revision history for this message
Ana Juaristi Olalde (ajuaristio) said :
#1

It's a very comon error when you include wrong order on import sentences on
init, or you define a clase where a relational field depends on another
classe defined afterwards on same file.

2011/4/4 shania <email address hidden>

> New question #151623 on OpenERP Addons:
> https://answers.launchpad.net/openobject-addons/+question/151623
>
> Environment Information :
> System : Windows-32bit,
> Windows 7 Starter
> dia version: 0.97.1-1
> Python Version : 2.3.5
> pycairo-1.0.2-1.win32-py2.3
> pygtk-2.8.6-1.win32-py2.3
> OpenERP-Client Version : 6.0.1
> i ve worked with these tools to develop a new module"Localisation" in
> Openerp but i get this error and i don't know where is the problem.
> following error:
> Traceback (most recent call last):
> File "netsvc.pyo", line 489, in dispatch
> File "service\web_services.pyo", line 599, in dispatch
> File "osv\osv.pyo", line 122, in wrapper
> File "osv\osv.pyo", line 176, in execute
> File "osv\osv.pyo", line 167, in execute_cr
> File "C:\Program Files\OpenERP
> 6.0\Server\addons\base\module\wizard\base_module_upgrade.py", line 98, in
> upgrade_module
> File "pooler.pyo", line 60, in restart_pool
> File "pooler.pyo", line 39, in get_db_and_pool
> File "addons\__init__.pyo", line 883, in load_modules
> File "addons\__init__.pyo", line 719, in load_module_graph
> File "addons\__init__.pyo", line 414, in init_module_objects
> File "osv\orm.pyo", line 2633, in _auto_init
> File "sql_db.pyo", line 78, in wrapper
> File "sql_db.pyo", line 131, in execute
> ProgrammingError: relation "localisation_transporteur" does not exist
>
> plz any ideas how to solve that??!!
>
> Kind regards,
>
> --
> You received this question notification because you are a member of
> OpenERP Committers, which is an answer contact for OpenERP Addons.
>

--
Ana Juaristi Olalde
Avanzosc, S.L.
Partner OpenERP
www.anajuaristi.com
www.openerpsite.com
www.avanzosc.com
Skype: avanzosc
677 93 42 59 - 943 02 69 02

Can you help with this problem?

Provide an answer of your own, or ask shania for more information if necessary.

To post a message you must log in.