← Back to team overview

c2c-oerpscenario team mailing list archive

[Bug 724441] Re: nan_product_pack causes problems, impossible to delete

 

Hello Kyle,

"nan_product_pack" module is on extra-addons.
Would you please contact with the related author.

Thanks.


** Changed in: openobject-addons
       Status: New => Won't Fix

** Changed in: openobject-addons
     Assignee: (unassigned) => NaN (nan-tic)

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

Title:
  nan_product_pack causes problems, impossible to delete

Status in OpenERP Modules (addons):
  Won't Fix

Bug description:
  I was really interested in nan_product_pack module. So I installed it.
  on a test database when I tried to download orders I get a warning at
  every record and now this

  
  Environment Information : 
  System : Windows-Vista-6.1.7600
  OS Name : nt
  Operating System Release : Vista
  Operating System Version : 6.1.7600
  Operating System Architecture : 32bit
  Operating System Locale : en_US.cp1252
  Python Version : 2.5.2
  OpenERP-Client Version : 6.0.1
  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 "/opt/openerp/addons/base_sale_multichannels/sale.py", line 192, in import_orders
      self.import_shop_orders(cr, uid, shop, defaults, context)
    File "/opt/openerp/addons/magentoerpconnect/sale.py", line 169, in import_shop_orders
      resp = self.pool.get('sale.order').mage_import_base(cr, uid, context.get('conn_obj', False), shop.referential_id.id, defaults=defaults, context={'one_by_one': True, 'ids_or_filter':ids_or_filter})
    File "/opt/openerp/addons/magentoerpconnect/magerp_osv.py", line 236, in mage_import_base
      rec_result = self.ext_import(cr, uid, rec_data, external_referential_id, defaults, context)
    File "/opt/openerp/addons/base_external_referentials/external_osv.py", line 208, in ext_import
      crid = self.oe_create(cr, uid, vals, each_row, external_referential_id, defaults, context)
    File "/opt/openerp/addons/magentoerpconnect/sale.py", line 514, in oe_create
      self.oe_status(cr, uid, order_id, paid, context)
    File "/opt/openerp/addons/base_sale_multichannels/sale.py", line 343, in oe_status
      self.write(cr, uid, order.id, {'need_to_update': True})
    File "/opt/openerp/addons/nan_product_pack/pack.py", line 116, in write
      self.expand_packs(cr, uid, ids, context)
    File "/opt/openerp/addons/nan_product_pack/pack.py", line 123, in expand_packs
      for order in self.browse(cr, uid, ids, context):
    File "/usr/local/lib/python2.6/dist-packages/openerp-server/osv/orm.py", line 189, in __getitem__
      name, self))
  KeyError: "Field '0' does not exist in object 'browse_record(sale.order, 19987)'"

  So now, I cant download orders. If I try to remove the module it
  works, but then when I again attempt to import orders I cant at all
  because it says it violates a not null contraint. So the module has
  effectively ruined my installation and I cant remove it.



References