← Back to team overview

c2c-oerpscenario team mailing list archive

[Bug 731671] Re: incorrect xml for Annual Listing Of VAT-Subjected Customers

 

wizard now produces a traceback

Traceback (most recent call last):
  File "/usr/local/lib/python2.6/dist-packages/openerp-server/netsvc.py", line 489, in dispatch
    result = ExportService.getService(service_name).dispatch(method, auth, params)
  File "/usr/local/lib/python2.6/dist-packages/openerp-server/service/web_services.py", line 599, in dispatch
    res = fn(db, uid, *params)
  File "/usr/local/lib/python2.6/dist-packages/openerp-server/osv/osv.py", line 122, in wrapper
    return f(self, dbname, *args, **kwargs)
  File "/usr/local/lib/python2.6/dist-packages/openerp-server/osv/osv.py", line 176, in execute
    res = self.execute_cr(cr, uid, obj, method, *args, **kw)
  File "/usr/local/lib/python2.6/dist-packages/openerp-server/osv/osv.py", line 167, in execute_cr
    return getattr(object, method)(cr, uid, *args, **kw)
  File "/usr/local/lib/python2.6/dist-packages/openerp-server/addons/l10n_be/wizard/l10n_be_account_vat_declaration.py", line 74, in create_xml
    ctx['period_id'] = data['period_id'][0] #added context here
TypeError: 'int' object is unsubscriptable

** Changed in: openobject-addons
       Status: Fix Released => Incomplete

-- 
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/731671

Title:
  incorrect xml for       Annual Listing Of VAT-Subjected Customers

Status in OpenERP Modules (addons):
  Incomplete

Bug description:
  the xml of generated by Annual Listing Of VAT-Subjected Customers is
  incorrect.

  - all VAT numbers should be without BE except for main company
  - no closing tag </DeclarantList> @ the end
  - wrong turnover amount for customers ( even <0 in my case so not showing up in the list)
  - suppliers shouldn't be included in the list ( check on customer tag )


References