credativ team mailing list archive
-
credativ team
-
Mailing list archive
-
Message #05009
[Bug 1043234] Re: AttributeError: 'Field name not found in browse_record(ir.module.category, 2)'
Table "public.ir_module_module"
Column | Type | Modifiers
-------------------+-----------------------------+---------------------------------------------------------------
id | integer | not null default nextval('ir_module_module_id_seq'::regclass)
create_uid | integer |
create_date | timestamp without time zone |
write_date | timestamp without time zone |
write_uid | integer |
website | character varying(256) |
name | character varying(128) | not null
author | character varying(128) |
url | character varying(128) |
state | character varying(16) |
latest_version | character varying(64) |
shortdesc | character varying(256) |
category_id | integer |
certificate | character varying(64) |
description | text |
demo | boolean | default false
web | boolean | default false
license | character varying(32) |
menus_by_module | text |
maintainer | character varying(128) |
contributors | text |
views_by_module | text |
published_version | character varying(64) |
reports_by_module | text |
Indexes:
"ir_module_module_pkey" PRIMARY KEY, btree (id)
"ir_module_module_certificate_uniq" UNIQUE, btree (certificate)
"ir_module_module_name_uniq" UNIQUE, btree (name)
"name_uniq" UNIQUE, btree (name)
"ir_module_module_category_id_index" btree (category_id)
"ir_module_module_name_index" btree (name)
"ir_module_module_state_index" btree (state)
>From the 6.0 Database
--
You received this bug notification because you are a member of
OpenUpgrade Committers, which is subscribed to OpenUpgrade Server.
https://bugs.launchpad.net/bugs/1043234
Title:
AttributeError: 'Field name not found in
browse_record(ir.module.category, 2)'
Status in OpenUpgrade Server:
Incomplete
Bug description:
When I run the migration script on my 6.0.4 db to update to 6.1 I get.
Traceback (most recent call last):
File "/opt/openerp/server/openerp-server", line 95, in preload_registry
db, registry = openerp.pooler.get_db_and_pool(dbname, update_module=config['init'] or config['update'], pooljobs=False)
File "/opt/openerp/server/openerp/pooler.py", line 33, in get_db_and_pool
registry = RegistryManager.get(db_name, force_demo, status, update_module, pooljobs)
File "/opt/openerp/server/openerp/modules/registry.py", line 180, in get
update_module, pooljobs)
File "/opt/openerp/server/openerp/modules/registry.py", line 202, in new
openerp.modules.load_modules(registry.db, force_demo, status, update_module)
File "/opt/openerp/server/openerp/modules/loading.py", line 471, in load_modules
modobj.update_list(cr, 1)
File "/opt/openerp/server/openerp/addons/base/module/module.py", line 497, in update_list
self._update_category(cr, uid, mod, terp.get('category', 'Uncategorized'))
File "/opt/openerp/server/openerp/addons/base/module/module.py", line 551, in _update_category
current_category_path.insert(0, current_category.name)
File "/opt/openerp/server/openerp/osv/orm.py", line 478, in __getattr__
raise AttributeError(e)
AttributeError: 'Field name not found in browse_record(ir.module.category, 2)'
To manage notifications about this bug go to:
https://bugs.launchpad.net/openupgrade-server/+bug/1043234/+subscriptions
References