From 3751379f1e9a4c215fb6eb898b4ccc67659b9ace Mon Sep 17 00:00:00 2001 From: stephanchrst Date: Tue, 10 May 2022 21:51:50 +0700 Subject: initial commit 2 --- .../data/gamification_sale_crm_data.xml | 191 +++++++++++++++++++++ 1 file changed, 191 insertions(+) create mode 100644 addons/gamification_sale_crm/data/gamification_sale_crm_data.xml (limited to 'addons/gamification_sale_crm/data/gamification_sale_crm_data.xml') diff --git a/addons/gamification_sale_crm/data/gamification_sale_crm_data.xml b/addons/gamification_sale_crm/data/gamification_sale_crm_data.xml new file mode 100644 index 00000000..c3216ac7 --- /dev/null +++ b/addons/gamification_sale_crm/data/gamification_sale_crm_data.xml @@ -0,0 +1,191 @@ + + + + + + Total Invoiced + + sum + True + + + + [('state','!=','cancel'),('move_type','=','out_invoice')] + True + + user.id + + + + New Leads + Based on the creation date + count + leads + + + + ['|', ('type', '=', 'lead'), ('type', '=', 'opportunity')] + True + + user.id + + + + Time to Qualify a Lead + The average number of days to open the case (lower than) + sum + lower + days + + + + [('type', '=', 'lead')] + True + + user.id + + + + Days to Close a Deal + The average number of days to close the case (lower than) + sum + lower + days + + + + [] + True + + user.id + + + + + New Opportunities + Based on the opening date + count + opportunities + + + [('type','=','opportunity')] + True + + user.id + + + + New Sales Orders + Based on the creation date + count + orders + + + [('state','not in',('draft', 'sent', 'cancel'))] + True + + user.id + + + + Paid Sales Orders + Based on the invoice date + count + orders + + + [('payment_state','in',('paid', 'in_payment')),('move_type','=','out_invoice')] + True + + user.id + + + Total Paid Sales Orders + Based on the invoice date + count + True + + + + [('payment_state','in',('paid', 'in_payment')),('move_type','=','out_invoice')] + True + + user.id + + + + + Customer Credit Notes + Add credit note to the least customers (lower than) + count + lower + invoices + + + [('state','!=','cancel'),('move_type','=','out_refund')] + True + + user.id + + + Total Customer Credit Notes + The total credit note value is negative. Validated when higher (min credit note value). + sum + higher + True + + + + [('state','!=','cancel'),('move_type','=','out_refund')] + True + + user.id + + + + + + + Monthly Sales Targets + monthly + ranking + + weekly + + + + Lead Acquisition + monthly + ranking + + weekly + + + + + + 20000 + + + + + + + 7 + + 1 + + + + 15 + + 2 + + + + 5 + + 3 + + + -- cgit v1.2.3