Error creating a DTA

Bug #705675 reported by Open Net Sàrl
10
This bug affects 1 person
Affects Status Importance Assigned to Milestone
Odoo Addons (MOVED TO GITHUB)
Fix Released
Medium
OpenERP R&D Addons Team 3

Bug Description

We encountered the following error with the version 6.0.0 of OpenERP-Server:

Environment Information :
System : Windows-32bit
OS Name : nt
Operating System Release :
Operating System Version : 32bit
Operating System Architecture : 32bit
Operating System Locale : fr_CH.cp1252
Python Version : 2.5.2
OpenERP-Client Version : 6.0.0-rc2
Last revision No. & ID :Bazaar Package not Found !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_ch/wizard/create_dta.py", line 582, in create_dta
    dta_file = _create_dta(self, cr, uid, data, context)
  File "/usr/local/lib/python2.6/dist-packages/openerp-server/addons/l10n_ch/wizard/create_dta.py", line 557, in _create_dta
    payment_obj.set_done(cr, uid, data['id'], context)
  File "/usr/local/lib/python2.6/dist-packages/openerp-server/addons/account_payment/account_payment.py", line 126, in set_done
    wf_service.trg_validate(uid, 'payment.order', ids[0], 'done', cr)
TypeError: 'int' object is unsubscriptable

This happened while confirming that we wanted to create a DTA file using the corresponding wizard in l10n_ch .
This happened with a new payment order to a supplier (bank details: DTA-BVRBANK)
The company's partner which wants to pay is using: "Ordering party DTA

Best regards

Tags: maintenance

Related branches

Revision history for this message
Amit Parik (amit-parik) wrote :

Hello,

I did not able to get your point from this specification.
So please provide me more information or proper steps and what do you mean by DTA?

Thanks.

Changed in openobject-addons:
status: New → Incomplete
Revision history for this message
Open Net Sàrl (openerp-open-net) wrote :
Changed in openobject-addons:
assignee: nobody → OpenERP R&D Addons Team 3 (openerp-dev-addons3)
importance: Undecided → Medium
status: Incomplete → Confirmed
Revision history for this message
Azazahmed Saiyed (OpenERP) (saz-openerp) wrote :

Hello,

Thanks for your reply!

I have checked the issue in stable 6.0 and got the traceback as given in bug specification. So I am confirming this bug.

Steps for reproducing the bug:

1) Create a new db with the accounting application installation and configure the switzerland's chart of account.

2) Go to accounting/Payment/Payment Orders and fill the all required values and make one proper Payment Line and then execute the Create DTA wizard.

3) By clicking on the wizard, traceback occurred as given in bug specification.

Thanks.

Changed in openobject-addons:
status: Confirmed → In Progress
Revision history for this message
Ashvin Rathod (OpenERP) (ara-tinyerp) wrote :

Hello Open Net Sàrl ,

I have fixed the problem in lp:~openerp-commiter/openobject-addons/trunk-dev-addons3-ara branch, It will be merged soon with trunk-dev-addons3.

Revision No: 4676
Revision ID: <email address hidden>

Thank you,
ara

Changed in openobject-addons:
status: In Progress → Fix Committed
Changed in openobject-addons:
status: Fix Committed → Fix Released
Revision history for this message
Nicolas Bessi - Camptocamp (nbessi-c2c-deactivatedaccount) wrote :

hello, Thanks for the fix I will take it back to the localization project.

We have also planned to release a new merge proposal of friday to fix all the comment done by xrg.

Regards

Nicolas

Changed in openobject-addons:
milestone: none → 6.0.2
tags: added: maintenance
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.