/
for wizard in self:
heading = 'Reporte de Medicinas'
worksheet.write_merge(0, 0, 0, 5, heading, easyxf('font:height 210; align: horiz center;pattern: pattern solid, fore_color black; font: color white; font:bold True;' "borders: top thin,bottom thin"))
stock = self.env['product.product'].search(
[('sale_ok', '=', 'true')])
for stock_id in stock:
worksheet.write(row, 0, stock_id.name, column_cuerpo_style_align_left)
worksheet.write(row, 1, stock_id.med_rs.name, column_cuerpo_style_align_center)
worksheet.write(row, 2, stock_id.man_company.name, column_cuerpo_style_align_center)
worksheet.write(row, 3, stock_id.tit_company, column_cuerpo_style_align_center)
worksheet.write(row, 4, stock_id.qty_available, column_cuerpo_style_align_center)
worksheet.write(row, 5, stock_id.stock_quant_ids.quantity, column_cuerpo_style_align_center)
row += 1