← Back to team overview

openerp-india team mailing list archive

[Bug 1082379] Re: clicking "claims" on a delivery order throws context fail

 

Hello Max,

I have checked your issue and I have faced same problem for claims
button. So, I am confirming this issue.

Thanks for reporting..!!!

** Changed in: openobject-addons
   Importance: Undecided => Medium

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

** Changed in: openobject-addons
     Assignee: (unassigned) => OpenERP R&D Addons Team 2 (openerp-dev-addons2)

-- 
You received this bug notification because you are a member of OpenERP
Indian Team, which is subscribed to OpenERP Addons.
https://bugs.launchpad.net/bugs/1082379

Title:
  clicking "claims" on a delivery order throws context fail

Status in OpenERP Addons (modules):
  Confirmed

Bug description:
  On runbot on the xyz_all database logged in as admin, go to Warehoues
  > Delivery Orders > Click on the Agrolait "OUT 00001" record > Click
  the Claims button at the top right and get two errors.

  Error one:
  =========================================

  Context fail, report to xmo
  Error: NameError: name 'str' is not defined
  Source: [{"__ref":"compound_context","__contexts":[{"__ref":"compound_context","__contexts":[{"__ref":"compound_context","__contexts":[{"lang":"en_US","tz":false,"uid":1},{"lang":"en_US","contact_display":"partner_address","tz":false,"uid":1,"default_type":"out"},{}],"__eval_context":null},{"__ref":"compound_context","__contexts":[{}],"__eval_context":{"__ref":"compound_context","__contexts":[{"__ref":"compound_context","__contexts":[{"lang":"en_US","tz":false,"uid":1},{"lang":"en_US","contact_display":"partner_address","tz":false,"uid":1,"default_type":"out"},{}],"__eval_context":null},{"id":6,"state":"confirmed","name":"OUT/00001","partner_id":5,"backorder_id":false,"invoice_state":"2binvoiced","stock_journal_id":1,"date":"2012-11-23 00:00:00","min_date":"2012-11-23 00:00:00","carrier_id":false,"carrier_tracking_ref":false,"number_of_packages":0,"origin":"SO005","move_lines":[[4,45,false],[4,46,false],[4,47,false]],"note":false,"invoice_type_id":false,"move_type":"direct","type":"out","auto_picking":false,"weight":0,"weight_net":0,"company_id":1,"date_done":false,"message_follower_ids":[],"message_ids":[],"active_id":6,"active_ids":[6],"active_model":"stock.picking.out","parent":{}}],"__eval_context":null}}],"__eval_context":null},{"active_id":6,"active_ids":[6],"active_model":"stock.picking.out"},{"__ref":"context","__debug":"{'default_ref': 'stock.picking.out,'+str(context.get('active_id', False))}","__id":"54d6ad1d6c45"}],"__eval_context":null}]

  
  Error Two:
  ============================================
  Domain fail, report to xmo
  Error: NameError: name 'str' is not defined
  Source: [{"__ref":"domain","__debug":"[('ref','=','stock.picking.out,'+str(context.get('active_id',False)))]","__id":"ae6fe9fb21b9"}]

  
  Expected behaviour:
  ============================================
  Show claims attached to the delivery order

To manage notifications about this bug go to:
https://bugs.launchpad.net/openobject-addons/+bug/1082379/+subscriptions


References