← Back to team overview

openerp-community-reviewer team mailing list archive

Re: [Merge] lp:~therp-nl/ocb-addons/7.0_lp914670_update_picking_date into lp:ocb-addons

 

Review: Approve code review

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.
-- 
https://code.launchpad.net/~therp-nl/ocb-addons/7.0_lp914670_update_picking_date/+merge/223551
Your team OpenERP Community Backports is subscribed to branch lp:ocb-addons.


References