Please check the object you had defind by using self.pool.get('object.object') It must be in your basket.

It means whatever the object variable you are trying to define that object must be exist in your current database check the dependency in openerp file
You might forgot to install that module in which that model available, for that you are defining variable.

Hi,
I think the error is from the mexican localization module installed in your db l10n_mx_facturae_lib. There is a bug reported for this in launchpad and there is solution for this in launchpad. https://bugs.launchpad.net/openerp-mexico-localization/+bug/1249403 (Bug #1249403)