openerp connector: fix for cases where same bom consumes the same item twice