← Back to team overview

openerp-india team mailing list archive

[Bug 908875] Re: self.pool.get(model.model).is_transient() - no attribute 'is_transient'

 

Hmm 
I have it today again - trying to open the models

to debug  I changed:

/addons/base/ir/ir_model.py

    def _is_osv_memory(self, cr, uid, ids, field_name, arg, context=None):
        models = self.browse(cr, uid, ids, context=context)
        res = dict.fromkeys(ids)
        for model in models:
          if self.pool.get(model.model):
            res[model.id] = self.pool.get(model.model).is_transient()
          else:
            logger = netsvc.Logger()
            logger.notifyChannel("debug FGF", netsvc.LOG_INFO, 'Missing model %s'%( model.model))

        return res

this shows that a check is made for a model which belongs to a module
which is not installed

-- 
You received this bug notification because you are a member of OpenERP
Indian Team, which is subscribed to OpenERP Server.
https://bugs.launchpad.net/bugs/908875

Title:
  self.pool.get(model.model).is_transient() - no attribute
  'is_transient'

Status in OpenERP Server:
  New

Bug description:
  can not open model

To manage notifications about this bug go to:
https://bugs.launchpad.net/openobject-server/+bug/908875/+subscriptions


References