From 2968ad7daf5a33f77d08015b443eef183215ed0d Mon Sep 17 00:00:00 2001 From: Ivan Yelizariev Date: Fri, 30 Jan 2015 17:10:21 +0200 Subject: [PATCH] [IMP] sort record list as daily agenda --- data.xml | 42 ++++++++++++++++++++++++++++++++++++++++++ 1 file changed, 42 insertions(+) diff --git a/data.xml b/data.xml index a9a98b6..8b784c2 100644 --- a/data.xml +++ b/data.xml @@ -230,12 +230,46 @@ else: + + + Next action + + [('user_id', '=', user.id), '|',('date_action','!=',False),('title_action', '!=', False)] + ${record.date_action} - ${record.title_action}]]> + + + + + + list + 10 + priority DESC,probability DESC,planned_revenue DESC + + + + Next action [ALL] + + ['|',('date_action','!=',False),('title_action', '!=', False)] + ${record.date_action} - ${record.title_action}]]> + + + + + + list + 10 + priority DESC,probability DESC,planned_revenue DESC + + + Calls [('user_id', '=', user.id),('state', 'not in', ['cancel'])] ${record.partner_id.name}, ${record.date}]]> + + list 10 date DESC @@ -247,6 +281,8 @@ else: [('state', 'not in', ['cancel'])] ${record.partner_id.name}, ${record.date}]]> + + list 10 date DESC @@ -259,6 +295,8 @@ else: [('partner_ids', 'in', [user.partner_id.id])] + + list 10 start_datetime DESC @@ -271,6 +309,10 @@ else: [] + + + + list 10 start_datetime DESC