← Back to team overview

c2c-oerpscenario team mailing list archive

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

 

This occurs because the server is not up-to-date so i'm setting this bug
as invalid. Can you test with latest version and confirm it's working
properly or reopen the bug?

Thanks

** Changed in: openobject-addons
       Status: Confirmed => Invalid

-- 
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:
  Invalid

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'





References