def get_sum_seq(self, cr, uid, ids, name, args=None, context=None):
if not ids: return {}
result={}
for move_id in self.browse(cr,uid,ids,context=None):
search_ids=self.
search(cr,uid,
[('picking_id','=',move_id.picking_id.id),
('cust_order_no','=',move_id.cust_order_no),
('id','<=',move_id.id)])
result[move_id.id]=len(search_ids)
根据左边编号,按要求生成右边的形式的序号