Error create invoive on purchase_partial_invoicing

Bug #1265391 reported by Over Garcia Caballero
6
This bug affects 1 person
Affects Status Importance Assigned to Milestone
Purchase - Workflow and Organization
New
Undecided
Unassigned

Bug Description

Hi
When the module purchase_partial_invoicing is installed the following error when creating the invoice directly from sales order is generated.

please help me with any idea how to fix it.

Thank you very much
<email address hidden>

Traceback (most recent call last):
  File "/home/openerp/erp/v7.0/openerp/osv/osv.py", line 131, in wrapper
    return f(self, dbname, *args, **kwargs)
  File "/home/openerp/erp/v7.0/openerp/osv/osv.py", line 197, in execute
    res = self.execute_cr(cr, uid, obj, method, *args, **kw)
  File "/home/openerp/erp/v7.0/openerp/addons/audittrail/audittrail.py", line 514, in execute_cr
    return fct_src(cr, uid, model, method, *args, **kw)
  File "/home/openerp/erp/v7.0/openerp/osv/osv.py", line 185, in execute_cr
    return getattr(object, method)(cr, uid, *args, **kw)
  File "/home/openerp/erp/v7.0/openerp/addons/purchase/purchase.py", line 344, in view_invoice
    wizard_obj.makeInvoices(cr, uid, [], context=context)
  File "/home/openerp/erp/v7.0/openerp/addons/purchase_partial_invoicing/wizard/po_line_invoice.py", line 57, in makeInvoices
    wizard = self.browse(cr, uid, ids[0], context=context)
IndexError: list index out of range
2014-01-01 23:43:25,318 10433 ERROR Turbo_pruebas openerp.netsvc: list index out of range
Traceback (most recent call last):
  File "/home/openerp/erp/v7.0/openerp/netsvc.py", line 292, in dispatch_rpc
    result = ExportService.getService(service_name).dispatch(method, params)
  File "/home/openerp/erp/v7.0/openerp/service/web_services.py", line 626, in dispatch
    res = fn(db, uid, *params)
  File "/home/openerp/erp/v7.0/openerp/osv/osv.py", line 188, in execute_kw
    return self.execute(db, uid, obj, method, *args, **kw or {})
  File "/home/openerp/erp/v7.0/openerp/osv/osv.py", line 131, in wrapper
    return f(self, dbname, *args, **kwargs)
  File "/home/openerp/erp/v7.0/openerp/osv/osv.py", line 197, in execute
    res = self.execute_cr(cr, uid, obj, method, *args, **kw)
  File "/home/openerp/erp/v7.0/openerp/addons/audittrail/audittrail.py", line 514, in execute_cr
    return fct_src(cr, uid, model, method, *args, **kw)
  File "/home/openerp/erp/v7.0/openerp/osv/osv.py", line 185, in execute_cr
    return getattr(object, method)(cr, uid, *args, **kw)
  File "/home/openerp/erp/v7.0/openerp/addons/purchase/purchase.py", line 344, in view_invoice
    wizard_obj.makeInvoices(cr, uid, [], context=context)
  File "/home/openerp/erp/v7.0/openerp/addons/purchase_partial_invoicing/wizard/po_line_invoice.py", line 57, in makeInvoices
    wizard = self.browse(cr, uid, ids[0], context=context)
IndexError: list index out of range

Revision history for this message
Roger Flores (rogerflores) wrote :

I am having the same problem.

Does anybody know how to fix this problem?

Br
Roger Flores

Revision history for this message
Roger Flores (rogerflores) wrote :

Aparently, this is a data configuration problem.

If i create another database in the same server, the software works ok for the new database.

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.