Routing 14 DAY only

Bug #1339795 reported by E.R. Spada II
6
This bug affects 1 person
Affects Status Importance Assigned to Milestone
coffeeopenerp
Fix Released
Critical
Dhara Shah (OpenERP)

Bug Description

When an account is 14 day ONLY, the first dialog box comes up " Are you Sure" which is correct, but when you confirm you receive an option to set the return date, 14 day only should NOT.

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

Also when a Master quote is duplicated and placed on a route, the DAY of the week in not enforced like it is in Routing, ie I can use 7/10/14 and use Friday as a delivery date. This should be the same as the partner and Routing.

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

Also when "Need to Call Back" is selected it creates a sales order which can be edited, but it should not, should be a quotation, which will have : "Confirm Sale." Same workflow as "No Response"

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

On Routing, the No Response, In Progress, should have secondary group, "Secondary Salesperson". The field is on the partner file, it should be added to the quoations also. I think we added this when I was in CA.

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

When you create a new quotation the routing information from the partner in not passed. So when it is blank is will crash:
Client Traceback (most recent call last):
  File "/opt/openerp/v7/web/addons/web/http.py", line 204, in dispatch
    response["result"] = method(self, **self.params)
  File "/opt/openerp/v7/web/addons/web/controllers/main.py", line 1128, in call_kw
    return self._call_kw(req, model, method, args, kwargs)
  File "/opt/openerp/v7/web/addons/web/controllers/main.py", line 1120, in _call_kw
    return getattr(req.session.model(model), method)(*args, **kwargs)
  File "/opt/openerp/v7/web/addons/web/session.py", line 42, in proxy
    result = self.proxy.execute_kw(self.session._db, self.session._uid, self.session._password, self.model, method, args, kw)
  File "/opt/openerp/v7/web/addons/web/session.py", line 30, in proxy_method
    result = self.session.send(self.service_name, method, *args)
  File "/opt/openerp/v7/web/addons/web/session.py", line 103, in send
    raise xmlrpclib.Fault(openerp.tools.ustr(e), formatted_info)

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 524, 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/cc_addons/ccoffee_delivery/sale.py", line 72, in create
    vals['timeslot_id'] = value_route['timeslot_id']
KeyError: 'timeslot_id'

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

When "Need to call back " is selected you still cannot create a sales order. I did notice that if I use the red print button and print the sales order with all zeros, then it returns to the correct workflow? Then I am allowed to create and save the sales order.

E.R. Spada II (er-k)
Changed in coffeeopenerp:
status: New → Fix Released
To post a comment you must log in.
This report contains Public information  
Everyone can see this information.

Other bug subscribers

Remote bug watches

Bug watches keep track of this bug in other bug trackers.