← Back to team overview

c2c-oerpscenario team mailing list archive

[Bug 686033] [NEW] problem with VAT field in res.partner

 

Public bug reported:

The VAT number - GB416674925 - cannot be entered.  This VAT number is
valid and correct, I have checked this with our supplier.

I have tested 30 other UK based VAT numbers and they all work fine.

When I enter this number I get the following error (from openerp client):
Traceback (most recent call last):
  File "/home/openerp/openobject-server/bin/netsvc.py", line 489, in dispatch
    result = ExportService.getService(service_name).dispatch(method, auth, params)
  File "/home/openerp/openobject-server/bin/service/web_services.py", line 596, in dispatch
    res = fn(db, uid, *params)
  File "/home/openerp/openobject-server/bin/osv/osv.py", line 119, in wrapper
    return f(self, dbname, *args, **kwargs)
  File "/home/openerp/openobject-server/bin/osv/osv.py", line 203, in execute
    res = pool.execute_cr(cr, uid, obj, method, *args, **kw)
  File "/home/openerp/openobject-server/bin/osv/osv.py", line 193, in execute_cr
    return getattr(object, method)(cr, uid, *args, **kw)
  File "/home/openerp/openobject-server/bin/osv/orm.py", line 3505, in write
    self._validate(cr, user, ids, context)
  File "/home/openerp/openobject-server/bin/osv/orm.py", line 1059, in _validate
    tmp_msg = msg(self, cr, uid, ids, context=context)
TypeError: _construct_constraint_msg() got an unexpected keyword argument 'context'

** Affects: openobject-addons
     Importance: Undecided
         Status: New

-- 
You received this bug notification because you are a member of C2C
OERPScenario, which is subscribed to the OpenERP Project Group.
https://bugs.launchpad.net/bugs/686033

Title:
  problem with VAT field in res.partner

Status in OpenObject Addons Modules:
  New

Bug description:
  The VAT number - GB416674925 - cannot be entered.  This VAT number is valid and correct, I have checked this with our supplier.

I have tested 30 other UK based VAT numbers and they all work fine.

When I enter this number I get the following error (from openerp client):
Traceback (most recent call last):
  File "/home/openerp/openobject-server/bin/netsvc.py", line 489, in dispatch
    result = ExportService.getService(service_name).dispatch(method, auth, params)
  File "/home/openerp/openobject-server/bin/service/web_services.py", line 596, in dispatch
    res = fn(db, uid, *params)
  File "/home/openerp/openobject-server/bin/osv/osv.py", line 119, in wrapper
    return f(self, dbname, *args, **kwargs)
  File "/home/openerp/openobject-server/bin/osv/osv.py", line 203, in execute
    res = pool.execute_cr(cr, uid, obj, method, *args, **kw)
  File "/home/openerp/openobject-server/bin/osv/osv.py", line 193, in execute_cr
    return getattr(object, method)(cr, uid, *args, **kw)
  File "/home/openerp/openobject-server/bin/osv/orm.py", line 3505, in write
    self._validate(cr, user, ids, context)
  File "/home/openerp/openobject-server/bin/osv/orm.py", line 1059, in _validate
    tmp_msg = msg(self, cr, uid, ids, context=context)
TypeError: _construct_constraint_msg() got an unexpected keyword argument 'context'





Follow ups

References