'update reserved_qty_for_production in bins'

def update_reserved_qty_for_production(self, items=None):

    for d in self.required_items:
        if d.source_warehouse:
            stock_bin = get_bin(d.item_code, d.source_warehouse)
            stock_bin.update_reserved_qty_for_production()
