Error setting company Accounting Options after installing localized Accounting Charts on OpenERP 6 to 7 migrated database
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
OpenUpgrade Addons |
New
|
Undecided
|
Unassigned |
Bug Description
After upgrading my database from OpenERP 6.1 to 7, I needed to install an additional accounting module localization. I selected the Romanian Accounting Charts module, installed it. After the module installation is finished, a form opens, that requires me to introduce the accounting options: VAT type and quantity, the company it applies to, and so on.
But the problem is that while opening the form and trying to select the company for which the accounting chart is to be used, I get the following error:
OpenERP Server Error
Client Traceback (most recent call last):
File "/usr/lib/
response[
File "/usr/lib/
return self._call_kw(req, model, method, args, kwargs)
File "/usr/lib/
return getattr(
File "/usr/lib/
result = self.proxy.
File "/usr/lib/
result = self.session.
File "/usr/lib/
raise xmlrpclib.
Server Traceback (most recent call last):
File "/usr/lib/
return openerp.
File "/usr/lib/
result = ExportService.
File "/usr/lib/
res = fn(db, uid, *params)
File "/usr/lib/
return self.execute(db, uid, obj, method, *args, **kw or {})
File "/usr/lib/
return f(self, dbname, *args, **kwargs)
File "/usr/lib/
res = self.execute_cr(cr, uid, obj, method, *args, **kw)
File "/usr/lib/
return fct_src(cr, uid, model, method, *args, **kw)
File "/usr/lib/
return getattr(object, method)(cr, uid, *args, **kw)
AttributeError: 'wizard.
The field for the company is empty, and everytime I try to switch it, I am getting the error above.
I've checked the views of the upgraded database and a demo OpenERP7 database. Here they are:
The Demo OpenERP 7 piece of the view, regarding companies:
<field name="company_id" widget=
The upgraded database piece of the view for the companies:
<field name="company_id" widget="selection" on_change=
I've tried deleting the part "on_change=
I've tried to add another company in the settings, and it is shown in the "Accounting Options" frame, while the upgraded one does not show.
Tell me please, how can I further check what is wrong with the companies from the upgraded database?
Thank you very much
The 7.0 view is correct. In 7.0, the wizard model has this method but in 6.1 it does not. It appears therefore that you are running your migrated 7.0 database on a (partially?) 6.1 version of OpenERP. I would call the global /usr/lib/ pymodules/ python2. 7/openerp/ addons path suspect in this matter.