← Back to team overview

openerp-india team mailing list archive

[Bug 1050210] Re: sale : view delivery order breaks after transferring partial delivery.

 

** Summary changed:

- sale : view dilivery order after transfering one product
+ sale : view delivery order breaks after transferring partial delivery.

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

Title:
  sale : view delivery order breaks after transferring partial delivery.

Status in OpenERP Addons (modules):
  New

Bug description:
  Hello,

  
           Create one sale order  with 2 order lines ,

           select create invoice -> on delivery order, and conform it.
        
          Click on view delivery order.

          Click on force availability then conform and transfer it.
         
          On transfer wizard remove one product and do the transfer.

          Go to Sale order and open it.

         click on view delivery order.

        gets this trace-back

        2012-09-13 06:03:51,235 1882 ERROR None openerp.addons.web.common.http.JSONRequest.dispatch: An error occured while handling a json request
  Traceback (most recent call last):
    File "/home/nco/workspace/rdtools/openerp-web/trunk/addons/web/common/http.py", line 182, in dispatch
      response["result"] = method(controller, self, **self.params)
    File "/home/nco/workspace/rdtools/openerp-web/trunk/addons/web/controllers/main.py", line 1183, in call_button
      return {'result': clean_action(req, action)}
    File "/home/nco/workspace/rdtools/openerp-web/trunk/addons/web/controllers/main.py", line 425, in clean_action
      return fix_view_modes(action)
    File "/home/nco/workspace/rdtools/openerp-web/trunk/addons/web/controllers/main.py", line 485, in fix_view_modes
      generate_views(action)
    File "/home/nco/workspace/rdtools/openerp-web/trunk/addons/web/controllers/main.py", line 461, in generate_views
      view_modes, view_id, action))
  ValueError: Non-db action dictionaries should provide either multiple view modes or a single view mode and an optional view id.

   Got view modes ['tree', 'form'] and view id 611 for action {'name':
  u'Delivery Order', 'view_type': 'form', 'res_model': 'stock.picking',
  'view_id': 611, 'nodestroy': True, 'view_mode': 'tree,form', 'res_id':
  [9, 10], 'flags': {}, 'context': {'type': 'out'}, 'type':
  'ir.actions.act_window', 'target': 'current'}


  Thanks,
   NCO.

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


References