← Back to team overview

c2c-oerpscenario team mailing list archive

[Bug 722684] Re: Physical Inventory Export fails when Inventories/ID is included

 

Hello Daniel,
Thanks for the report, but this has been fixed by revision http://bazaar.launchpad.net/~openerp/openobject-server/6.0/revision/3329 already after the release of 6.0.1.

I would like to request you to get an updated code from Launchpad or
usually have to wait for the release of 6.0.2.

Thanks.

** Changed in: openobject-addons
       Status: New => Invalid

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

Title:
  Physical Inventory Export fails when Inventories/ID is included

Status in OpenERP Modules (addons):
  Invalid

Bug description:
  Steps to reproduce:
    1) Navigate to Stock > Inventory Control > Physical Inventories
    2) Click on the Export link in the sidebar.
    3) Add Inventories/ID to the "Fields to export" list.
    4) Click "Export to File".

  Expected behaviour:
    A CSV file.

  Actual behaviour:

  Traceback (most recent call last):
    File "/usr/share/openerp-server/netsvc.py", line 489, in dispatch
      result = ExportService.getService(service_name).dispatch(method, auth, params)
    File "/usr/share/openerp-server/service/web_services.py", line 599, in dispatch
      res = fn(db, uid, *params)
    File "/usr/share/openerp-server/osv/osv.py", line 122, in wrapper
      return f(self, dbname, *args, **kwargs)
    File "/usr/share/openerp-server/osv/osv.py", line 176, in execute
      res = self.execute_cr(cr, uid, obj, method, *args, **kw)
    File "/usr/share/openerp-server/osv/osv.py", line 167, in execute_cr
      return getattr(object, method)(cr, uid, *args, **kw)
    File "/usr/share/openerp-server/osv/orm.py", line 671, in export_data
      datas += self.__export_row(cr, uid, row, fields_to_export, context)
    File "/usr/share/openerp-server/osv/orm.py", line 623, in __export_row
      if isinstance(rr.name, browse_record):
    File "/usr/share/openerp-server/osv/orm.py", line 287, in __getattr__
      raise AttributeError(e)
  AttributeError: "Field 'name' does not exist in object 'browse_record(stock.inventory.line, 1)'"



References