summaryrefslogtreecommitdiff
path: root/addons/crm/report
diff options
context:
space:
mode:
authorstd-odoo <std@odoo.com>2020-06-15 06:24:51 +0000
committerstd-odoo <std@odoo.com>2020-06-15 13:36:36 +0000
commit65d89ad132bf41387dcad5902026d84271ff1737 (patch)
tree460d6fab5b347f61b75600c5d599dd4cc3ecde5f /addons/crm/report
parent8df6aec234222e5440c583f7a1e55ef485b5412e (diff)
[IMP] crm: improve CRM views
Purpose ======= Rename "Follow-up" tab into "Extra Information" in the lead form view Remove the create option on the language field in the lead form view. Align vertically the expected revenue with the PLS in the lead form view. Add the "Planned revenue" label in the quick create form. Improve the pipeline activities default filter. Improve the sale team form view. Task-2277242 closes odoo/odoo#52965 Signed-off-by: Thibault Delavallee (tde) <tde@openerp.com>
Diffstat (limited to 'addons/crm/report')
-rw-r--r--addons/crm/report/crm_activity_report_views.xml4
1 files changed, 2 insertions, 2 deletions
diff --git a/addons/crm/report/crm_activity_report_views.xml b/addons/crm/report/crm_activity_report_views.xml
index caba844c3d3..037367391a7 100644
--- a/addons/crm/report/crm_activity_report_views.xml
+++ b/addons/crm/report/crm_activity_report_views.xml
@@ -53,9 +53,9 @@
<separator/>
<filter string="Won" name="won" domain="[('stage_id.is_won', '=', True)]"/>
<separator/>
- <filter string="Completed Last 365 Days" name="completion_date" domain="[
+ <filter string="Trailing 12 months" name="completion_date" domain="[
('date', '>=', (datetime.datetime.combine(context_today() + relativedelta(days=-365), datetime.time(0,0,0)).to_utc()).strftime('%Y-%m-%d %H:%M:%S')),
- ('date', '&lt;', (datetime.datetime.combine(context_today(), datetime.time(0,0,0)).to_utc()).strftime('%Y-%m-%d %H:%M:%S'))]"/>
+ ('date', '>=', (datetime.datetime.combine(context_today(), datetime.time(0,0,0)).to_utc()).strftime('%Y-%m-%d %H:%M:%S'))]"/>
<separator/>
<filter name="filter_date" date="date"/>
<separator/>