← Back to team overview

openerp-community team mailing list archive

Re: Migration Error

 

On 05/03/2012 11:21 PM, SIESA - Miguel Gutiérrez wrote:
> Hello,

Hi Miguel,


>     I have a big problem when I restore my DB on my production server it dont
> work but in my computer does, both openerp are the same, here the bug I have
>
> Server Traceback (most recent call last):
<SNIP>
>   File "/srv/openerp/6.1/src/openobject-server/openerp/addons/base/ir/ir_model.py", line 511, in check
>     if self.pool.get(model_name).is_transient():
> AttributeError: 'NoneType' object has no attribute 'is_transient'

Based on the error it looks like your production server does not have the exact
same version of OpenERP (or exactly the same modules) as the one on which the
database backup was taken.

By the way if you upgrade all your servers to the latest OpenERP 6.1 version
(latest code from the source or latest nightly build) this specific error
should be gone and replaced by a warning in the log telling you which object
seems to be missing.
Note that this will probably only delay the problem and/or hide it, if you
really have differences in your OpenERP installations.


References