← Back to team overview

c2c-oerpscenario team mailing list archive

[Bug 732052] [NEW] problem with nan_external_prices

 

Public bug reported:

Hola, he detectado que teniendo instalado el modulo nan_external_prices,
cuando intentas realizar una factura desde el albarán de un pedido de
compra, se produce un error y te impide generar dicha factura.

El error que muestra el servidor es:

Environment Information : 
System : Linux-2.6.32-5-amd64-x86_64-with-debian-6.0
OS Name : posix
Distributor ID:	Debian
Description:	Debian GNU/Linux 6.0 (squeeze)
Release:	6.0
Codename:	squeeze
Operating System Release : 2.6.32-5-amd64
Operating System Version : #1 SMP Wed Jan 12 03:40:32 UTC 2011
Operating System Architecture : 64bit
Operating System Locale : es_ES.UTF8
Python Version : 2.6.6
OpenERP-Client Version : 5.0.15
Last revision No. & ID :Bazaar Package not Found !Traceback (most recent call last):
  File "/home/modesto/nas/openerp/pruebas-server-5.0.15/bin/netsvc.py", line 299, in dispatch
    result = LocalService(service_name)(method, *params)
  File "/home/modesto/nas/openerp/pruebas-server-5.0.15/bin/netsvc.py", line 77, in __call__
    return getattr(self, method)(*params)
  File "/home/modesto/nas/openerp/pruebas-server-5.0.15/bin/service/web_services.py", line 633, in execute
    return self._execute(db, uid, wiz_id, datas, action, context)
  File "/home/modesto/nas/openerp/pruebas-server-5.0.15/bin/service/web_services.py", line 613, in _execute
    return wiz.execute(db, uid, self.wiz_datas[wiz_id], action, context)
  File "/home/modesto/nas/openerp/pruebas-server-5.0.15/bin/wizard/__init__.py", line 178, in execute
    res = self.execute_cr(cr, uid, data, state, context)
  File "/home/modesto/nas/openerp/pruebas-server-5.0.15/bin/wizard/__init__.py", line 82, in execute_cr
    res['action'] = result_def['action'](self, cr, uid, data, context)
  File "/home/modesto/nas/openerp/pruebas-server-5.0.15/bin/addons/stock/wizard/wizard_invoice_onshipping.py", line 104, in _create_invoice
    type=type, context=context)
  File "/home/modesto/nas/openerp/pruebas-server-5.0.15/bin/addons/delivery/stock.py", line 86, in action_invoice_create
    context=context)
  File "/home/modesto/nas/openerp/pruebas-server-5.0.15/bin/addons/sale_payment/sale_payment.py", line 77, in action_invoice_create
    res = super(stock_picking, self).action_invoice_create(cr, uid, ids, journal_id, group, type, context)
  File "/home/modesto/nas/openerp/pruebas-server-5.0.15/bin/addons/nan_external_prices/external_prices.py", line 404, in action_invoice_create
    sale = self.pool.get( 'sale.order' ).browse( cursor, user, pick_order.sale_id.id, context )
  File "/home/modesto/nas/openerp/pruebas-server-5.0.15/bin/osv/orm.py", line 456, in browse
    return browse_record(cr, uid, select, self, cache, context=context, list_class=self._list_class, fields_process=fields_process)
  File "/home/modesto/nas/openerp/pruebas-server-5.0.15/bin/osv/orm.py", line 146, in __init__
    raise BrowseRecordError(_('Wrong ID for the browse record, got %r, expected an integer.') % (id,))
BrowseRecordError: Wrong ID for the browse record, got False, expected an integer.

** Affects: openobject-addons
     Importance: Undecided
         Status: New

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

Title:
  problem with nan_external_prices

Status in OpenERP Modules (addons):
  New

Bug description:
  Hola, he detectado que teniendo instalado el modulo
  nan_external_prices, cuando intentas realizar una factura desde el
  albarán de un pedido de compra, se produce un error y te impide
  generar dicha factura.

  El error que muestra el servidor es:

  Environment Information : 
  System : Linux-2.6.32-5-amd64-x86_64-with-debian-6.0
  OS Name : posix
  Distributor ID:	Debian
  Description:	Debian GNU/Linux 6.0 (squeeze)
  Release:	6.0
  Codename:	squeeze
  Operating System Release : 2.6.32-5-amd64
  Operating System Version : #1 SMP Wed Jan 12 03:40:32 UTC 2011
  Operating System Architecture : 64bit
  Operating System Locale : es_ES.UTF8
  Python Version : 2.6.6
  OpenERP-Client Version : 5.0.15
  Last revision No. & ID :Bazaar Package not Found !Traceback (most recent call last):
    File "/home/modesto/nas/openerp/pruebas-server-5.0.15/bin/netsvc.py", line 299, in dispatch
      result = LocalService(service_name)(method, *params)
    File "/home/modesto/nas/openerp/pruebas-server-5.0.15/bin/netsvc.py", line 77, in __call__
      return getattr(self, method)(*params)
    File "/home/modesto/nas/openerp/pruebas-server-5.0.15/bin/service/web_services.py", line 633, in execute
      return self._execute(db, uid, wiz_id, datas, action, context)
    File "/home/modesto/nas/openerp/pruebas-server-5.0.15/bin/service/web_services.py", line 613, in _execute
      return wiz.execute(db, uid, self.wiz_datas[wiz_id], action, context)
    File "/home/modesto/nas/openerp/pruebas-server-5.0.15/bin/wizard/__init__.py", line 178, in execute
      res = self.execute_cr(cr, uid, data, state, context)
    File "/home/modesto/nas/openerp/pruebas-server-5.0.15/bin/wizard/__init__.py", line 82, in execute_cr
      res['action'] = result_def['action'](self, cr, uid, data, context)
    File "/home/modesto/nas/openerp/pruebas-server-5.0.15/bin/addons/stock/wizard/wizard_invoice_onshipping.py", line 104, in _create_invoice
      type=type, context=context)
    File "/home/modesto/nas/openerp/pruebas-server-5.0.15/bin/addons/delivery/stock.py", line 86, in action_invoice_create
      context=context)
    File "/home/modesto/nas/openerp/pruebas-server-5.0.15/bin/addons/sale_payment/sale_payment.py", line 77, in action_invoice_create
      res = super(stock_picking, self).action_invoice_create(cr, uid, ids, journal_id, group, type, context)
    File "/home/modesto/nas/openerp/pruebas-server-5.0.15/bin/addons/nan_external_prices/external_prices.py", line 404, in action_invoice_create
      sale = self.pool.get( 'sale.order' ).browse( cursor, user, pick_order.sale_id.id, context )
    File "/home/modesto/nas/openerp/pruebas-server-5.0.15/bin/osv/orm.py", line 456, in browse
      return browse_record(cr, uid, select, self, cache, context=context, list_class=self._list_class, fields_process=fields_process)
    File "/home/modesto/nas/openerp/pruebas-server-5.0.15/bin/osv/orm.py", line 146, in __init__
      raise BrowseRecordError(_('Wrong ID for the browse record, got %r, expected an integer.') % (id,))
  BrowseRecordError: Wrong ID for the browse record, got False, expected an integer.



Follow ups

References