Odoo Help

Welcome!

This community is for beginners and experts willing to share their Odoo knowledge. It's not a forum to discuss ideas, but a knowledge base of questions and their answers.

0

cannot install any module into odoo8!!! <<OpenERP Server Error>>

By
Karolin Ar.
on 9/16/14, 5:08 AM 1,962 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...
                                                             

0
Karolin Ar.
On 9/16/14, 6:04 AM

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!

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.

Ivan
on 9/16/14, 6:45 AM

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__'

Karolin Ar.
on 9/16/14, 6:59 AM
0

Ivan

--Ivan--
3210
| 5 3 6
Jakarta, Indonesia
--Ivan--
Ivan
On 9/16/14, 5:49 AM

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.

Hi John, can u please help with this ?

Karolin Ar.
on 9/23/14, 5:23 AM

Karolin, how can I be of any help?

Ivan
on 9/24/14, 6:34 AM

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

Karolin Ar.
on 10/20/14, 8:44 AM

Your Answer

Please try to give a substantial answer. If you wanted to comment on the question or answer, just use the commenting tool. Please remember that you can always revise your answers - no need to answer the same question twice. Also, please don't forget to vote - it really helps to select the best questions and answers!

About This Community

This community is for professionals and enthusiasts of our products and services. Read Guidelines

Question tools

1 follower(s)

Stats

Asked: 9/16/14, 5:08 AM
Seen: 1962 times
Last updated: 3/16/15, 8:10 AM