column res_company.auto_currency_up does not exist

Bug #796430 reported by Coco
8
This bug affects 1 person
Affects Status Importance Assigned to Milestone
Odoo Server (MOVED TO GITHUB)
Invalid
Undecided
Unassigned

Bug Description

Trying to add a new Pricelist by clicking the New Button, I've the following error :

column res_company.auto_currency_up does not exist

Here's the full message :

  File "/usr/lib/openerp/trunk/server/openerp/netsvc.py", line 427, in dispatch
    result = ExportService.getService(service_name).dispatch(method, auth, params)
  File "/usr/lib/openerp/trunk/server/openerp/service/web_services.py", line 579, in dispatch
    res = fn(db, uid, *params)
  File "/usr/lib/openerp/trunk/server/openerp/osv/osv.py", line 122, in wrapper
    return f(self, dbname, *args, **kwargs)
  File "/usr/lib/openerp/trunk/server/openerp/osv/osv.py", line 176, in execute
    res = self.execute_cr(cr, uid, obj, method, *args, **kw)
  File "/usr/lib/openerp/trunk/server/openerp/osv/osv.py", line 167, in execute_cr
    return getattr(object, method)(cr, uid, *args, **kw)
  File "/usr/lib/openerp/trunk/server/openerp/osv/orm.py", line 1143, in default_get
    defaults[f] = self._defaults[f](self, cr, uid, context)
  File "/usr/lib/openerp/trunk/addons/product/pricelist.py", line 120, in _get_currency
    return comp.currency_id.id
  File "/usr/lib/openerp/trunk/server/openerp/osv/orm.py", line 325, in __getattr__
    return self[name]
  File "/usr/lib/openerp/trunk/server/openerp/osv/orm.py", line 238, in __getitem__
    field_values = self._table.read(self._cr, self._uid, ids, field_names, context=self._context, load="_classic_write")
  File "/usr/lib/openerp/trunk/server/openerp/osv/orm.py", line 3140, in read
    result = self._read_flat(cr, user, select, fields, context, load)
  File "/usr/lib/openerp/trunk/server/openerp/osv/orm.py", line 3199, in _read_flat
    cr.execute(query, (tuple(sub_ids),))
  File "/usr/lib/openerp/trunk/server/openerp/sql_db.py", line 80, in wrapper
    return f(self, *args, **kwargs)
  File "/usr/lib/openerp/trunk/server/openerp/sql_db.py", line 136, in execute
    res = self._obj.execute(query, params)
ProgrammingError: column res_company.auto_currency_up does not exist
LINE 1: ....timesheet_max_difference,res_company.currency_id,res_compan...
                                                             ^

Revision history for this message
Vinay Rana (OpenERP) (vra-openerp) wrote :

Hello Coco,

I have checked this with latest updated code and did not face any problem while creating a new pricelist.
From the specified traceback I am sure you have installed your end customized module otherwise I have not find any field 'auto_currency_up'.

Would you please elaborate more with installed module list in your created database.
Thanks.

Changed in openobject-server:
status: New → Incomplete
Revision history for this message
Coco (coco-3-5) wrote :

Hello Vinay,

I'm sorry, this is my mistake. You're right, I improperly installed the module currency_rate_update. The issue was fixed by reinstalling it. Sorry to have wasted your time.

Thanks you.

Changed in openobject-server:
status: Incomplete → Invalid
To post a comment you must log in.
This report contains Public information  
Everyone can see this information.

Other bug subscribers

Remote bug watches

Bug watches keep track of this bug in other bug trackers.