You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.

11 lines
1.1 KiB

  1. id,compare_method,description,expression,divider,name,dp,sequence,type,suffix
  2. mis_report_kpi_1,Percentage,chiffre d'affaire,-bal_70,,ca,,1,Numeric,€
  3. mis_report_kpi_2,Percentage,cost,-bal_60 - bal_61,,cost,,2,Numeric,€
  4. mis_report_kpi_3,Percentage,profit,ca - cost,,profit,,3,Numeric,€
  5. mis_report_kpi_4,Difference,margin,profit/ca,,margin,,4,Percentage,%
  6. mis_report_kpi_5,None,couleur,'vert' if profit > 0 else 'rouge',,couleur,,5,String,
  7. mis_report_kpi_6,Percentage,total invoice,len(inv),,total_invoice,,6,Numeric,€
  8. mis_report_phonecall_kpi_1,Percentage,Total phone call,len(phone),,total_phone_call,,1,Numeric,
  9. mis_report_phonecall_kpi_2,Percentage,Average duration phone call,sum([p.duration for p in phone])/total_phone_call,,average_duration_phone_call,2,2,Numeric,
  10. mis_report_phonecall_kpi_3,Percentage,Total converted phone call,sum([p.opportunity_id and 1 or 0 for p in phone]),,phone_call_convert,,3,Numeric,
  11. mis_report_phonecall_kpi_4,Percentage,Average duration converted phone call,sum([p.opportunity_id and p.duration or 0 for p in phone]),,average_convert_duration_phone_c,2,4,Numeric,