Create invoice error
9 posts • Page 1 of 1
Create invoice errorI received the following error when I tried to invoice an analytic line:
Traceback (most recent call last): File "/usr/lib/python2.5/site-packages/openerp-server/netsvc.py", line 231, in dispatch result = LocalService(service_name)(method, *params) File "/usr/lib/python2.5/site-packages/openerp-server/netsvc.py", line 74, in __call__ return getattr(self, method)(*params) File "/usr/lib/python2.5/site-packages/openerp-server/service/web_services.py", line 552, in execute return self._execute(db, uid, wiz_id, datas, action, context) File "/usr/lib/python2.5/site-packages/openerp-server/service/web_services.py", line 532, in _execute return wiz.execute(db, uid, self.wiz_datas[wiz_id], action, context) File "/usr/lib/python2.5/site-packages/openerp-server/wizard/__init__.py", line 178, in execute res = self.execute_cr(cr, uid, data, state, context) File "/usr/lib/python2.5/site-packages/openerp-server/wizard/__init__.py", line 83, in execute_cr res['action'] = result_def['action'](self, cr, uid, data, context) File "/usr/lib/python2.5/site-packages/openerp-server/addons/account_invoice_create.zip/account_invoice_create/wizard/account_invoice_create.py", line 29, in _do_create partner_ids = data['form']['partners'][0][2] TypeError: 'int' object is unsubscriptable Any idea what I may be doing wrong?
Re: Create invoice errorWhat application servers version you have?
Please show screenshot of invoice create wizard form, that we could to see you entry data.
Re: Create invoice errorI am using Open ERP Version 5.0.0.3, PostgreSQL 8.3 found in OpenBIG virtual appliance http://www.openbig.org/open-erp-virtuelle-maschine.html
I go to Financial Management ‣ Entries Encoding ‣ Analytic Entries ‣ Entries Encoding by Line and then click Open Entries, select the Analytic Entry and click "Invoice analytic lines" under actions. The wizard form does display but when I click the "Create Invoices" button I get the error. Last edited by rbanks on Thu Jul 02, 2009 3:00 pm, edited 1 time in total.
Re: Create invoice errorHi,
actually it is very interesting... We have OpenERP ver. 5.0.1 - a bit younger release, so it is probably because of this. Anyway we will have bug fix release for our modules today in a couple of hours, let it be approx. 16...17EET. You may try to upgrade our module. If this does not help, try upgrading server, this may be the reason. Please come back with results... sraps
Re: Create invoice errorsraps,
I was able to get it to work with the client but but not the web browser. Ricardy
Re: Create invoice errorYes they seem a bit different, we have stumbled upon several such errors before. I do not use web browser by myself, as I do not find it ergonomic for daily use. We will look at this error tomorrow and try to make a bug fix release. Anyway in this case it is not critical.
Tomorrow we will push some minor improvements too. So you are up and running, as I see... It would be nice to hear your opinion on this. sraps
Re: Create invoice errorHad to change the code so that I would be able to create invoices for partners with a payment_term defined. Yes another difference between Client and Web mode.
Re: Create invoice error@catinga
Thanks, we will include your fix to next release.
Re: Create invoice erroractually it is very interesting... We have OpenERP ver. 5.0.1 - a bit younger release, so it is probably because of this.
Usman Gee..
9 posts • Page 1 of 1
|
Copyright © 2001 Alistek Ltd., ALL RIGHTS RESERVED