Code review comment for lp://staging/~therp-nl/ocb-addons/7.0_lp914670_update_picking_date

Revision history for this message
Pedro Manuel Baeza (pedro.baeza) wrote :

I see the code more elegant in this way, but it doesn't really matter:

    picking_ids = set()
    for move_obj in move_pool.browse(cr, uid, ids, context=context):
        if move_obj.picking_id:
            picking_ids.add(move_obj.picking_id.id)
    return list(picking_ids)

Regards.

review: Approve (code review)

« Back to merge proposal