Route Day will appear on Quoation, even when removed.

Bug #1374081 reported by E.R. Spada II
6
This bug affects 1 person
Affects Status Importance Assigned to Milestone
coffeeopenerp
Critical
Jigar A.

Bug Description

Route Day will appear in Delivery Order, and Sales Order

Revision history for this message
E.R. Spada II (er-k) wrote :

Another bug related, if you try to convert an opportunuty to a quote it with throw an exception.

Server Traceback (most recent call last):
  File "/opt/openerp/v7/web/addons/web/session.py", line 89, in send
    return openerp.netsvc.dispatch_rpc(service_name, method, args)
  File "/opt/openerp/v7/server/openerp/netsvc.py", line 296, in dispatch_rpc
    result = ExportService.getService(service_name).dispatch(method, params)
  File "/opt/openerp/v7/server/openerp/service/web_services.py", line 626, in dispatch
    res = fn(db, uid, *params)
  File "/opt/openerp/v7/server/openerp/osv/osv.py", line 190, in execute_kw
    return self.execute(db, uid, obj, method, *args, **kw or {})
  File "/opt/openerp/v7/server/openerp/osv/osv.py", line 132, in wrapper
    return f(self, dbname, *args, **kwargs)
  File "/opt/openerp/v7/server/openerp/osv/osv.py", line 199, in execute
    res = self.execute_cr(cr, uid, obj, method, *args, **kw)
  File "/opt/openerp/v7/addons/audittrail/audittrail.py", line 532, in execute_cr
    return fct_src(cr, uid, model, method, *args, **kw)
  File "/opt/openerp/v7/server/openerp/osv/osv.py", line 187, in execute_cr
    return getattr(object, method)(cr, uid, *args, **kw)
  File "/opt/openerp/v7/addons/sale_crm/wizard/crm_make_sale.py", line 109, in makeOrder
    new_id = sale_obj.create(cr, uid, vals, context=context)
  File "/opt/openerp/v7/chris_coffee/ccoffee_delivery/sale.py", line 128, in create
    value_route = self.onchange_route(cr, uid, [], vals['timeslot_parent_id'], vals['timeslot_id'], False, context)['value']
KeyError: 'timeslot_id'

Changed in coffeeopenerp:
importance: Undecided → Critical
Revision history for this message
E.R. Spada II (er-k) wrote :

The Route Day will not go away, you can delete, but it will reappear, it takes two times at least to get rid of.

Revision history for this message
E.R. Spada II (er-k) wrote :
To post a comment you must log in.
This report contains Public information  Edit
Everyone can see this information.

Other bug subscribers