Skip to Content
Menu
This question has been flagged
2 Replies
5220 Views

OpenERP

OpenERP Server Error

Traceback (most recent call last):
  File "/opt/odoo/v8/server/openerp/http.py", line 470, in dispatch
    result = self._call_function(**self.params)
  File "/opt/odoo/v8/server/openerp/http.py", line 294, in _call_function
    return checked_call(self.db, *args, **kwargs)
  File "/opt/odoo/v8/server/openerp/service/model.py", line 113, in wrapper
    return f(dbname, *args, **kwargs)
  File "/opt/odoo/v8/server/openerp/http.py", line 291, in checked_call
    return self.endpoint(*a, **kw)
  File "/opt/odoo/v8/server/openerp/http.py", line 638, in __call__
    return self.method(*args, **kw)
  File "/opt/odoo/v8/server/openerp/http.py", line 337, in response_wrap
    response = f(*args, **kw)
  File "/opt/odoo/v8/web/addons/web/controllers/main.py", line 1248, in call_button
    action = self._call_kw(model, method, args, {})
  File "/opt/odoo/v8/web/addons/web/controllers/main.py", line 1236, in _call_kw
    return getattr(request.registry.get(model), method)(request.cr, request.uid, *args, **kwargs)
  File "/opt/odoo/v8/server/openerp/addons/base/module/module.py", line 428, in button_immediate_install
    return self._button_immediate_function(cr, uid, ids, self.button_install, context=context)
  File "/opt/odoo/v8/server/openerp/addons/base/module/module.py", line 479, in _button_immediate_function
    registry = openerp.modules.registry.RegistryManager.new(cr.dbname, update_module=True)
  File "/opt/odoo/v8/server/openerp/modules/registry.py", line 299, in new
    openerp.modules.load_modules(registry._db, force_demo, status, update_module)
  File "/opt/odoo/v8/server/openerp/modules/loading.py", line 343, in load_modules
    loaded_modules, update_module)
  File "/opt/odoo/v8/server/openerp/modules/loading.py", line 247, in load_marked_modules
    loaded, processed = load_module_graph(cr, graph, progressdict, report=report, skip_modules=loaded_modules, perform_checks=perform_checks)
  File "/opt/odoo/v8/server/openerp/modules/loading.py", line 155, in load_module_graph
    init_module_models(cr, package.name, models)
  File "/opt/odoo/v8/server/openerp/modules/module.py", line 241, in init_module_models
    obj.init(cr)
  File "/opt/odoo/v8/addons/report/models/report_paperformat.py", line 132, in init
    company.write({'paperformat_id': paperformat_id})
  File "/opt/odoo/v8/server/openerp/osv/orm.py", line 378, in function_proxy
    return attr(self._cr, self._uid, [self._id], *args, **kwargs)
  File "/opt/odoo/v8/server/openerp/addons/base/res/res_company.py", line 287, in write
    return super(res_company, self).write(cr, uid, ids, values, context=context)
  File "/opt/odoo/v8/server/openerp/osv/orm.py", line 4038, in write
    self.pool[model_name]._store_set_values(cr, user, todo, fields_to_recompute, context)
  File "/opt/odoo/v8/server/openerp/osv/orm.py", line 4420, in _store_set_values
    result = self._columns[f].get(cr, self, ids, f, SUPERUSER_ID, context=context)
  File "/opt/odoo/v8/server/openerp/osv/fields.py", line 1264, in get
    result = self._fnct(obj, cr, uid, ids, name, self._arg, context)
  File "/opt/odoo/v8/server/openerp/osv/fields.py", line 1339, in _fnct_read
    value = value[field] or False
  File "/opt/odoo/v8/server/openerp/osv/orm.py", line 408, in __getitem__
    field_values = self._table.read(self._cr, self._uid, ids, field_names, context=self._context, load="_classic_write")
  File "/opt/odoo/v8/server/openerp/osv/orm.py", line 3347, in read
    result = self._read_flat(cr, user, select, fields, context, load)
  File "/opt/odoo/v8/server/openerp/osv/orm.py", line 3394, in _read_flat
    cr.execute(query, [tuple(sub_ids)] + rule_params)
  File "/opt/odoo/v8/server/openerp/sql_db.py", line 156, in wrapper
    return f(self, *args, **kwargs)
  File "/opt/odoo/v8/server/openerp/sql_db.py", line 221, in execute
    res = self._obj.execute(query, params)
ProgrammingError: column res_partner.vat_subjected does not exist
LINE 1: ...est_followup_level_id",res_partner."picking_warn",res_partne...
                                                             

Avatar
Discard
Best Answer

Karolin,  the error message indicates that the column vat_subjected, which is introduced by base_vat addons module res.partner, has gone missing.  First, check whether you have base_vat addons module installed or not (if you couldn't get into the UI, check it in the database in table ir_module_module.  If it is installed, then mark it to be 'to upgrade', if it is not, then mark it to be 'to install'.  Then, check the module that you are trying to install whether it list base_vat as a dependency in it's __openerp__.py, it should.

Avatar
Discard
Author

Hi John, can u please help with this ?

Karolin, how can I be of any help?

Author

Hi John, can you please send me your email address?

Author Best Answer

Hi John, 

I could find the VAT Number Validation module through OpenERP UI, it's status was 'to Uninstall' . I select cancel, and then select 'Install' option. But in every state i face with same error! For any module, the error is same!  In Upgrade, Install, Uninstall . For test, i tried to uninstall marketing module, but no chance!

Avatar
Discard

Try this: Cancel the Uninstall base_vat, then leave it as it is. Then check from Apply Scheduled Upgrade whether you have other installation/upgrade/uninstallation pending. Try to cancel those first before you do any installation/upgarde/uninstallation again.

Author

New error: OpenERP Server Error Traceback (most recent call last): File "/opt/odoo/v8/server/openerp/http.py", line 470, in dispatch result = self._call_function(**self.params) File "/opt/odoo/v8/server/openerp/http.py", line 294, in _call_function return checked_call(self.db, *args, **kwargs) File "/opt/odoo/v8/server/openerp/service/model.py", line 113, in wrapper return f(dbname, *args, **kwargs) File "/opt/odoo/v8/server/openerp/http.py", line 291, in checked_call return self.endpoint(*a, **kw) File "/opt/odoo/v8/server/openerp/http.py", line 638, in __call__ return self.method(*args, **kw) File "/opt/odoo/v8/server/openerp/http.py", line 337, in response_wrap response = f(*args, **kw) File "/opt/odoo/v8/web/addons/web/controllers/main.py", line 1248, in call_button action = self._call_kw(model, method, args, {}) File "/opt/odoo/v8/web/addons/web/controllers/main.py", line 1236, in _call_kw return getattr(request.registry.get(model), method)(request.cr, request.uid, *args, **kwargs) File "/opt/odoo/v8/server/openerp/addons/base/module/wizard/base_module_upgrade.py", line 105, in config return self.pool.get('res.config').next(cr, uid, [], context=context) File "/opt/odoo/v8/server/openerp/addons/base/res/res_config.py", line 118, in next return self._next(cr, uid, context=context) File "/opt/odoo/v8/server/openerp/addons/base/res/res_config.py", line 102, in _next res = next.action_launch(context=context) File "/opt/odoo/v8/server/openerp/osv/orm.py", line 378, in function_proxy return attr(self._cr, self._uid, [self._id], *args, **kwargs) File "/opt/odoo/v8/server/openerp/addons/base/ir/ir_actions.py", line 1070, in action_launch res = self.pool[act_type['type']].read(cr, uid, wizard.action_id.id, [], context=context) TypeError: 'bool' object has no attribute '__getitem__'

Related Posts Replies Views Activity
0
Mar 15
4332
0
May 15
3934
2
Jan 19
5115
0
Mar 17
4177
1
Dec 15
4766