Revision 49 Causes Validation error on Duplicate
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
coffeeopenerp |
Fix Released
|
Critical
|
Dhara Shah (OpenERP) |
Bug Description
HI,
I updated the latest branch - 8/2/14 and now you get a validation ERROR on Route Day - Order Date, when duplicate a quote normal, master, or run route wizard. I removed the contraint so I could test the other changes.
[8/2/14, 7:04:42 PM] E.R Spada II: HI,
[8/2/14, 7:05:10 PM] E.R Spada II: Cannot duplicates quotation ERRROR: /Aug/2014 23:02:36] "POST /web/dataset/
2014-08-02 23:03:07,461 15718 ERROR Chris_Master_6_4 openerp.netsvc: ValidateError
Error occurred while validating the field(s) date_order, timeslot_parent_id: The Date Order and Route Return Day doesn't match.
Traceback (most recent call last):
File "/opt/openerp/
result = ExportService.
File "/opt/openerp/
res = fn(db, uid, *params)
File "/opt/openerp/
return self.execute(db, uid, obj, method, *args, **kw or {})
File "/opt/openerp/
return f(self, dbname, *args, **kwargs)
File "/opt/openerp/
res = self.execute_cr(cr, uid, obj, method, *args, **kw)
File "/opt/openerp/
return fct_src(cr, uid, model, method, *args, **kw)
File "/opt/openerp/
return getattr(object, method)(cr, uid, *args, **kw)
File "/opt/openerp/
res = super(sale_order, self).copy(cr, uid, ids, default=default, context=context)
File "/opt/openerp/
return super(sale_order, self).copy(cr, uid, id, default=default, context=context)
File "/opt/openerp/
return super(sale_order, self).copy(cr, uid, id, default, context=context)
File "/opt/openerp/
return super(sale_order, self).copy(cr, uid, id, default, context=context)
File "/opt/openerp/
new_id = self.create(cr, uid, data, context)
File "/opt/openerp/
sale_id = super(sale_order, self).create(cr, uid, vals, context=context)
File "/opt/openerp/
sale_id = super(sale_order, self).create(cr, uid, vals, context=context)
File "/opt/openerp/
order = super(sale_order, self).create(cr, uid, vals, context=context)
File "/opt/openerp/
return super(sale_order, self).create(cr, uid, vals, context=context)
File "/opt/openerp/
thread_id = super(mail_thread, self).create(cr, uid, values, context=
File "/opt/openerp/
self.
File "/opt/openerp/
raise except_
except_osv: ('ValidateError', u"Error occurred while validating the field(s) date_order, timeslot_parent_id: The Date Order and Route Return Day doesn't match.")
2014-08-02 23:03:07,463 15718 INFO Chris_Master_6_4 werkzeug: 127.0.0.1 - - [02/Aug/2014 23:03:07] "POST /web/dataset/
2014-08-02 23:03:25,426 15718 ERROR Chris_Master_6_4 openerp.netsvc: ValidateError
Error occurred while validating the field(s) date_order, timeslot_parent_id: The Date Order and Route Return Day doesn't match.
Traceback (most recent call last):
File "/opt/openerp/
result = ExportService.
File "/opt/openerp/
res = fn(db, uid, *params)
File "/opt/openerp/
return self.execute(db, uid, obj, method, *args, **kw or {})
File "/opt/openerp/
return f(self, dbname, *args, **kwargs)
File "/opt/openerp/
res = self.execute_cr(cr, uid, obj, method, *args, **kw)
File "/opt/openerp/
return fct_src(cr, uid, model, method, *args, **kw)
File "/opt/openerp/
return getattr(object, method)(cr, uid, *args, **kw)
File "/opt/openerp/
res = super(sale_order, self).copy(cr, uid, ids, default=default, context=context)
File "/opt/openerp/
return super(sale_order, self).copy(cr, uid, id, default=default, context=context)
File "/opt/openerp/
return super(sale_order, self).copy(cr, uid, id, default, context=context)
File "/opt/openerp/
return super(sale_order, self).copy(cr, uid, id, default, context=context)
File "/opt/openerp/
new_id = self.create(cr, uid, data, context)
File "/opt/openerp/
sale_id = super(sale_order, self).create(cr, uid, vals, context=context)
File "/opt/openerp/
sale_id = super(sale_order, self).create(cr, uid, vals, context=context)
File "/opt/openerp/
order = super(sale_order, self).create(cr, uid, vals, context=context)
File "/opt/openerp/
return super(sale_order, self).create(cr, uid, vals, context=context)
File "/opt/openerp/
thread_id = super(mail_thread, self).create(cr, uid, values, context=
File "/opt/openerp/
self.
File "/opt/openerp/
raise except_
except_osv: ('ValidateError', u"Error occurred while validating the field(s) date_order, timeslot_parent_id: The Date Order and Route Return Day doesn't match.")
2014-08-02 23:03:25,428 15718 INFO Chris_Master_6_4 werkzeug: 127.0.0.1 - - [02/Aug/2014 23:03:25] "POST /web/dataset/
Changed in coffeeopenerp: | |
status: | New → Fix Released |
I had to remove the contraint so I could load test data. But I cannot do anything with it in place.
TX,
ER