[IMP] *: review date type groupbys in search views archs

The parent commit allows to select a specific interval for any
date or datetime field in the groupby menu. This makes some filter
akward, for instance "Order Month".

Accordingly, we have rewritten the string and help attributes in
search views archs and removed groupbys related to the same field
(that would have become redundant).
This commit is contained in:
Mathieu Duckerts-Antoine
2018-06-12 09:22:30 +02:00
committed by Géry Debongnie
parent e1aac71769
commit af999f40dd
41 changed files with 46 additions and 60 deletions
@@ -94,7 +94,7 @@
<filter string="Company" name="company" context="{'group_by':'company_id'}" groups="base.group_multi_company"/>
<separator orientation="vertical" />
<filter string="Date" name="date" context="{'group_by':'date'}"/>
<filter string="Due Month" name="duemonth" context="{'group_by':'date_due:month'}"/>
<filter string="Due Date" name="duemonth" context="{'group_by':'date_due:month'}"/>
<filter string="Analytic Account" name="account_analytic_id" context="{'group_by':'account_analytic_id'}" groups="analytic.group_analytic_accounting" />
</group>
</search>
+1 -1
View File
@@ -1601,7 +1601,7 @@
<filter string="Partner" name="partner" domain="[]" context="{'group_by':'partner_id'}"/>
<filter string="Journal" name="journal" domain="[]" context="{'group_by':'journal_id'}"/>
<filter string="Status" name="status" domain="[]" context="{'group_by':'state'}"/>
<filter string="Date" name="date" domain="[]" context="{'group_by':'date'}" help="Journal Entries by Month"/>
<filter string="Date" name="date" domain="[]" context="{'group_by':'date'}" help="Journal Entries by Date"/>
</group>
</search>
</field>
@@ -303,7 +303,7 @@
<field name="category_id" string="Asset Category"/>
<field name="partner_id" filter_domain="[('partner_id','child_of',self)]"/>
<group expand="0" string="Group By...">
<filter string="Month" name="month" domain="[]" context="{'group_by':'date'}"/>
<filter string="Date" name="month" domain="[]" context="{'group_by':'date'}"/>
<filter string="Asset Category" name="category" domain="[]" context="{'group_by':'category_id'}"/>
</group>
</search>
@@ -306,7 +306,7 @@
<field name="tag_ids" widget="many2many_tags"/>
<group string="Group By..." expand="0" name="groupby">
<filter string="Analytic Account" context="{'group_by':'account_id'}" name="account_id"/>
<filter string="Tasks Month" context="{'group_by':'date'}" name="group_date"/>
<filter string="Tasks Date" context="{'group_by':'date'}" name="group_date"/>
</group>
</search>
</field>
@@ -46,7 +46,7 @@
<filter string="Country" name="country" context="{'group_by':'country_id'}" />
<filter string="Company" name="company" context="{'group_by':'company_id'}" groups="base.group_multi_company"/>
<filter string="Stage" name="stage" context="{'group_by':'stage_id'}"/>
<filter string="Month" context="{'group_by':'date:month'}" name="month"/>
<filter string="Date" context="{'group_by':'date:month'}" name="month"/>
<filter string="Leads" name="group_by_opportunity" context="{'group_by':'lead_id'}" />
</group>
</search>
@@ -126,8 +126,8 @@
<filter string="Company" name="company" context="{'group_by':'company_id'}" groups="base.group_multi_company"/>
<filter string="Stage" name="stage" context="{'group_by':'stage_id'}"/>
<separator orientation="vertical" />
<filter string="Creation Month" context="{'group_by':'create_date:month'}" name="month"/>
<filter string="Expected Closing" context="{'group_by':'date_deadline:month'}" name="date_deadline" help="Expiration Closing Month"/>
<filter string="Creation Date" context="{'group_by':'create_date:month'}" name="month"/>
<filter string="Expected Closing" context="{'group_by':'date_deadline:month'}" name="date_deadline"/>
<filter string="Conversion Date" context="{'group_by':'date_conversion:month'}" name="conversion_date" help="Conversion Date from Lead to Opportunity"/>
<filter string="Lost Reason" name="lostreason" context="{'group_by':'lost_reason'}"/>
</group>
+2 -2
View File
@@ -417,7 +417,7 @@
<filter string="Campaign" name="groupby_campaign" domain="[]" context="{'group_by':'campaign_id'}"/>
<filter string="Source" name="groupby_source" domain="[]" context="{'group_by':'source_id'}"/>
<filter string="Medium" name="groupby_channel" domain="[]" context="{'group_by':'medium_id'}"/>
<filter string="Creation Month" name="groupby_createmonth" domain="[]" context="{'group_by':'create_date'}"/>
<filter string="Creation Date" name="groupby_createmonth" domain="[]" context="{'group_by':'create_date'}"/>
</group>
</search>
</field>
@@ -689,7 +689,7 @@
<filter string="Medium" name="medium" domain="[]" context="{'group_by':'medium_id'}"/>
<filter string="Source" name="source" domain="[]" context="{'group_by':'source_id'}"/>
<separator orientation="vertical" />
<filter string="Creation Month" context="{'group_by':'create_date:month'}" name="month"/>
<filter string="Creation Date" context="{'group_by':'create_date:month'}" name="month"/>
<filter string="Expected Closing Date" name="date_deadline" context="{'group_by':'date_deadline'}"/>
<filter string="Lost Reason" name="lostreason" context="{'group_by':'lost_reason'}"/>
</group>
+2 -3
View File
@@ -383,7 +383,7 @@
<filter string="Responsible" name="responsible" context="{'group_by': 'user_id'}"/>
<filter string="Event Category" name="event_type_id" context="{'group_by':'event_type_id'}"/>
<filter string="Status" name="status" context="{'group_by':'state'}"/>
<filter string="Start Month" name="date_begin" domain="[]" context="{'group_by':'date_begin'}"/>
<filter string="Start Date" name="date_begin" domain="[]" context="{'group_by':'date_begin'}"/>
</group>
</search>
</field>
@@ -539,8 +539,7 @@
<filter string="Partner" name="partner" domain="[]" context="{'group_by':'partner_id'}"/>
<filter string="Event" name="group_event" domain="[]" context="{'group_by':'event_id'}"/>
<filter string="Status" name="status" domain="[]" context="{'group_by':'state'}"/>
<filter string="Registration Day" name="createday" domain="[]" context="{'group_by': 'create_date:day'}"/>
<filter string="Registration Month" name="createmonth" domain="[]" context="{'group_by': 'create_date:month'}"/>
<filter string="Registration Date" name="createmonth" domain="[]" context="{'group_by': 'create_date:month'}"/>
</group>
</search>
</field>
@@ -105,8 +105,7 @@
<filter name="groupby_vehicle_id" context="{'group_by': 'vehicle_id'}" string="Vehicle"/>
<filter name="groupby_parent_id" context="{'group_by': 'parent_id'}" string="Parent"/>
<separator/>
<filter name="groupby_date" context="{'group_by': 'date:month'}" string="Month" help="Vehicle Costs by Month"/>
<filter name="groupby_year" context="{'group_by': 'date:year'}" string="Year"/>
<filter name="groupby_date" context="{'group_by': 'date:month'}" string="Date" help="Vehicle Costs by Date"/>
</group>
</search>
</field>
@@ -77,7 +77,7 @@
<group expand="0" string="Group By">
<filter name="employee" string="Employee" context="{'group_by':'employee_id'}"/>
<separator/>
<filter name="groupby_name" string="Month" context="{'group_by':'check_in'}"/>
<filter name="groupby_name" string="Date" context="{'group_by':'check_in'}"/>
</group>
</search>
</field>
+2 -2
View File
@@ -220,7 +220,7 @@
<filter string="Company" name="company" domain="[]" context="{'group_by': 'company_id'}" groups="base.group_multi_company"/>
<filter string="Product" name="product" domain="[]" context="{'group_by': 'product_id'}"/>
<filter string="Analytic Account" name="analyticacc" domain="[]" context="{'group_by': 'analytic_account_id'}" groups="analytic.group_analytic_accounting"/>
<filter string="Expenses Month" name="expensesmonth" domain="[]" context="{'group_by': 'date'}" help="Expenses by Month"/>
<filter string="Date" name="expensesmonth" domain="[]" context="{'group_by': 'date'}" help="Expense Date"/>
<filter string="Status" name="status" domain="[]" context="{'group_by': 'state'}"/>
</group>
<separator />
@@ -603,7 +603,7 @@
<filter string="Employee" name="employee" domain="[]" context="{'group_by': 'employee_id'}"/>
<filter string="Department" name="department" domain="[]" context="{'group_by': 'department_id'}"/>
<filter string="Company" name="company" domain="[]" context="{'group_by': 'company_id'}" groups="base.group_multi_company"/>
<filter string="Expenses Month" name="expenses_month" domain="[]" context="{'group_by': 'accounting_date'}" help="Expenses by Month"/>
<filter string="Date" name="expenses_month" domain="[]" context="{'group_by': 'accounting_date'}" help="Expenses by Date"/>
<filter string="State" domain="[]" context="{'group_by': 'state'}" name="state"/>
</group>
<separator />
@@ -35,7 +35,7 @@
<filter name="group_category" string="Category" context="{'group_by':'category_id'}"/>
<filter name="group_type" string="Type" context="{'group_by':'holiday_status_id'}"/>
<separator/>
<filter name="group_date_from" string="Start Month" context="{'group_by':'date_from'}"/>
<filter name="group_date_from" string="Start Date" context="{'group_by':'date_from'}"/>
</group>
</search>
</field>
+1 -1
View File
@@ -59,7 +59,7 @@
<filter name="group_second_approver_id" string="Validator" context="{'group_by':'second_approver_id'}"/>
<filter name="group_type" string="Type" context="{'group_by':'holiday_status_id'}"/>
<separator/>
<filter name="group_date_from" string="Start Month" context="{'group_by':'date_from'}"/>
<filter name="group_date_from" string="Start Date" context="{'group_by':'date_from'}"/>
</group>
</search>
</field>
@@ -953,7 +953,7 @@
<filter string="Department" name="department" context="{'group_by':'department_id'}"/>
<filter string="Stage" name="stage" context="{'group_by':'stage_id'}" />
<separator/>
<filter string="Creation Week" name="creation_week" context="{'group_by':'create_date:week'}" help="Creation Week"/>
<filter string="Creation Date" name="creation_week" context="{'group_by':'create_date:week'}" help="Creation Date"/>
</group>
</search>
</field>
@@ -155,7 +155,7 @@
<filter string="Employee" name="groupby_employee" domain="[]" context="{'group_by':'employee_id'}"/>
<filter string="Project" name="groupby_project" domain="[]" context="{'group_by':'project_id'}"/>
<filter string="Task" name="groupby_task" domain="[]" context="{'group_by':'task_id'}"/>
<filter string="Timesheet Month" name="groupby_date" domain="[]" context="{'group_by':'date'}" help="Timesheet by Month"/>
<filter string="Timesheet Date" name="groupby_date" domain="[]" context="{'group_by':'date'}" help="Timesheet by Date"/>
</group>
</search>
</field>
@@ -40,10 +40,7 @@
<filter name="group_by_operator" string="Operator" domain="[('partner_id','!=', False)]" context="{'group_by':'partner_id'}"/>
<separator orientation="vertical" />
<filter name="group_by_hour" string="Creation date (hour)" domain="[]" context="{'group_by':'start_date_hour'}"/>
<filter name="group_by_day" string="Creation date (day)" domain="[]" context="{'group_by':'start_date:day'}"/>
<filter name="group_by_week" string="Creation date (week)" domain="[]" context="{'group_by':'start_date:week'}"/>
<filter name="group_by_month" string="Creation date (month)" domain="[]" context="{'group_by':'start_date:month'}" />
<filter name="group_by_year" string="Creation date (year)" domain="[]" context="{'group_by':'start_date:year'}"/>
<filter name="group_by_month" string="Creation date" domain="[]" context="{'group_by':'start_date:month'}" />
</group>
</search>
</field>
@@ -36,10 +36,7 @@
<filter name="group_by_channel" string="Channel" domain="[]" context="{'group_by':'channel_id'}"/>
<filter name="group_by_operator" string="Operator" domain="[('partner_id','!=', False)]" context="{'group_by':'partner_id'}"/>
<separator orientation="vertical" />
<filter name="group_by_day" string="Creation date (day)" domain="[]" context="{'group_by':'start_date:day'}"/>
<filter name="group_by_week" string="Creation date (week)" domain="[]" context="{'group_by':'start_date:week'}"/>
<filter name="group_by_month" string="Creation date (month)" domain="[]" context="{'group_by':'start_date:month'}" />
<filter name="group_by_year" string="Creation date (year)" domain="[]" context="{'group_by':'start_date:year'}"/>
<filter name="group_by_month" string="Creation date" domain="[]" context="{'group_by':'start_date:month'}" />
</group>
</search>
</field>
@@ -11,10 +11,7 @@
<group expand="0" string="Group By...">
<filter name="group_by_channel" string="Channel" domain="[]" context="{'group_by':'livechat_channel_id'}"/>
<separator orientation="vertical"/>
<filter name="group_by_day" string="Creation date (day)" domain="[]" context="{'group_by':'create_date:day'}"/>
<filter name="group_by_week" string="Creation date (week)" domain="[]" context="{'group_by':'create_date:week'}"/>
<filter name="group_by_month" string="Creation date (month)" domain="[]" context="{'group_by':'create_date:month'}"/>
<filter name="group_by_year" string="Creation date (year)" domain="[]" context="{'group_by':'create_date:year'}"/>
<filter name="group_by_month" string="Creation Date" domain="[]" context="{'group_by':'create_date:month'}"/>
</group>
</search>
</field>
@@ -60,7 +60,7 @@
<separator orientation="vertical"/>
<filter string="Company" name="comapny" groups="base.group_multi_company" context="{'group_by':'company_id'}"/>
<separator orientation="vertical"/>
<filter string="Month" name="order_month" context="{'group_by':'month'}" help="Month of Payment Advices"/>
<filter string="Date" name="order_month" context="{'group_by':'month'}" help="Date of Payment Advices"/>
</group>
</search>
</field>
@@ -58,7 +58,7 @@
<separator orientation="vertical"/>
<filter string="Company" name="company" groups="base.group_multi_company" context="{'group_by':'company_id'}"/>
<separator orientation="vertical"/>
<filter string="Month" name="order_month" context="{'group_by':'month'}" help="Month of Payslip"/>
<filter string="Date" name="order_month" context="{'group_by':'month'}" help="Date of Payslip"/>
</group>
</search>
</field>
+1 -1
View File
@@ -24,7 +24,7 @@
<group expand="0" string="Group By">
<filter name="group_by_order_id" string="By Order" context="{'group_by':'order_id'}"/>
<filter name="group_by_supplier" string="By Vendor" context="{'group_by':'supplier'}"/>
<filter name="group_by_date" string="Order Month" context="{'group_by':'date'}" help="Vendor Orders by Month"/>
<filter name="group_by_date" string="Order Date" context="{'group_by':'date'}" help="Vendor Orders by Date"/>
</group>
</search>
</field>
+1 -1
View File
@@ -109,7 +109,7 @@
<filter string="Status" name="status" domain="[]" context="{'group_by':'state'}"/>
<filter string="Author" name="author" context="{'group_by':'author_id'}"/>
<filter string="Thread" name="thread" domain="[]" context="{'group_by':'message_id'}"/>
<filter string="Month" name="month" help="Creation Month" domain="[]" context="{'group_by':'date'}"/>
<filter string="Date" name="month" help="Creation Date" domain="[]" context="{'group_by':'date'}"/>
</group>
</search>
</field>
+2 -2
View File
@@ -38,8 +38,8 @@
<filter string="Salesperson" name="salesperson" domain="[]" context="{'group_by' : 'user_id'}"/>
<filter string="Associate Member" name = "associate" domain="[]" context="{'group_by':'associate_member'}"/>
<filter string=" Membership State" name="membership_state" domain="[]" context="{'group_by':'membership_state'}"/>
<filter string="Start Month" name="start_month" help="Starting Month Of Membership" domain="[]" context="{'group_by':'membership_start'}"/>
<filter string="End Month" name="end_month" help="Ending Month Of Membership" domain="[]" context="{'group_by':'membership_stop'}"/>
<filter string="Start Date" name="start_month" help="Starting Date Of Membership" domain="[]" context="{'group_by':'membership_start'}"/>
<filter string="End Date" name="end_month" help="Ending Date Of Membership" domain="[]" context="{'group_by':'membership_stop'}"/>
</group>
</search>
</field>
+1 -1
View File
@@ -16,7 +16,7 @@
<field name="categ_id" operator="child_of"/>
<group expand='0' string='Group by...'>
<filter string='Category' name="category" domain="[]" context="{'group_by' : 'categ_id'}"/>
<filter string='From Month' name="from_month" domain="[]" context="{'group_by' : 'membership_date_from'}"/>
<filter string='Start Date' name="from_month" domain="[]" context="{'group_by' : 'membership_date_from'}"/>
</group>
</search>
</field>
+1 -1
View File
@@ -282,7 +282,7 @@
<filter string="Product" name="product" domain="[]" context="{'group_by':'product_id'}"/>
<filter string="Routing" name="routing" domain="[]" context="{'group_by':'routing_id'}"/>
<filter string="Status" name="status" domain="[]" context="{'group_by':'state'}"/>
<filter string="Scheduled Month" name="scheduled_month" domain="[]" context="{'group_by':'date_planned_start'}" help="Scheduled Date by Month"/>
<filter string="Scheduled Date" name="scheduled_month" domain="[]" context="{'group_by':'date_planned_start'}"/>
</group>
</search>
</field>
+1 -1
View File
@@ -267,7 +267,7 @@
<filter string="Work Center" name="work_center" domain="[]" context="{'group_by':'workcenter_id'}"/>
<filter string="Production" name="production" domain="[]" context="{'group_by':'production_id'}"/>
<filter string="Status" name="status" domain="[]" context="{'group_by':'state'}"/>
<filter string="Scheduled Month" name="scheduled_month" domain="[]" context="{'group_by':'date_planned_start'}" help="Scheduled Date by Month"/>
<filter string="Scheduled Date" name="scheduled_month" domain="[]" context="{'group_by':'date_planned_start'}"/>
</group>
</search>
</field>
@@ -46,7 +46,7 @@
<filter string="Product Category" name="product_category" context="{'group_by':'product_categ_id'}"/>
<filter string="Product" name="product" context="{'group_by':'product_id'}"/>
<separator/>
<filter string="Order Month" name="order_month" context="{'group_by':'date:month'}" help="Month of order date"/>
<filter string="Order Date" name="order_month" context="{'group_by':'date:month'}"/>
</group>
</search>
</field>
@@ -294,7 +294,7 @@
<filter string="Salesman" name="salesman" domain="[]" context="{'group_by':'user_id'}"/>
<filter string="Session" name="session" domain="[]" context="{'group_by':'session_id'}"/>
<filter string="Status" name="status" domain="[]" context="{'group_by':'state'}"/>
<filter string="Order Month" name="order_month" domain="[]" context="{'group_by':'date_order'}"/>
<filter string="Order Date" name="order_month" domain="[]" context="{'group_by':'date_order'}"/>
</group>
</search>
</field>
@@ -76,7 +76,7 @@
<filter string="Stage" name="Stage" context="{'group_by':'stage_id'}"/>
<filter string="Company" name="company" context="{'group_by':'company_id'}" groups="base.group_multi_company"/>
<separator/>
<filter string="Assignation Month" name="assignation_month" context="{'group_by':'date_start:month'}" help="Creation Date"/>
<filter string="Assignation Date" name="assignation_month" context="{'group_by':'date_start:month'}"/>
</group>
</search>
</field>
@@ -73,7 +73,7 @@
<filter string="Status" name="status" context="{'group_by':'state'}"/>
<filter string="Company" name="company" context="{'group_by':'company_id'}" groups="base.group_multi_company"/>
<separator/>
<filter string="Order Month" name="order_month" context="{'group_by':'date_order:month'}" help="Order of Day"/>
<filter string="Order Date" name="order_month" context="{'group_by':'date_order:month'}"/>
<filter string="Fiscal Position" name="fiscal_position" context="{'group_by':'fiscal_position_id'}" help="Purchase Order Fiscal Position"/>
</group>
</search>
@@ -292,7 +292,7 @@
<filter string="Source" name="source" domain="[]" context="{'group_by':'origin'}"/>
<filter string="Status" name="status" domain="[]" context="{'group_by':'state'}"/>
<filter string="Ordering Date" name="ordering_date" domain="[]" context="{'group_by':'ordering_date'}"/>
<filter string="End Month" name="end_month" domain="[]" context="{'group_by':'date_end'}"/>
<filter string="End Date" name="end_month" domain="[]" context="{'group_by':'date_end'}"/>
</group>
</search>
</field>
+1 -3
View File
@@ -149,9 +149,7 @@
<filter string="Customer" name="customer" context="{'group_by':'partner_id'}"/>
<filter string="Rating" name="rating_text" context="{'group_by':'rating_text'}"/>
<filter string="Resource" name="resource" context="{'group_by':'res_name'}"/>
<filter string="Day" name="day" context="{'group_by':'create_date:day'}"/>
<filter string="Month" name="month" context="{'group_by':'create_date:month'}"/>
<filter string="Year" name="year" context="{'group_by':'create_date:year'}"/>
<filter string="Date" name="month" context="{'group_by':'create_date:month'}"/>
</group>
</search>
</field>
+1 -1
View File
@@ -255,7 +255,7 @@
<filter string="Partner" name="partner" domain="[]" context="{'group_by':'partner_id'}"/>
<filter string="Product" name="product" domain="[]" context="{'group_by':'product_id'}"/>
<filter string="Status" name="status" domain="[]" context="{'group_by':'state'}"/>
<filter string="Guarantee limit Month" name="guarantee_limit" domain="[]" context="{'group_by':'guarantee_limit'}" help="Guarantee limit by Month"/>
<filter string="Warranty Expiration" name="guarantee_limit" domain="[]" context="{'group_by':'guarantee_limit'}"/>
<filter string="Company" name="company" domain="[]" context="{'group_by':'company_id'}" groups="base.group_multi_company"/>
</group>
</search>
+1 -1
View File
@@ -94,7 +94,7 @@
<group expand="0" string="Group By">
<filter string="Resource" name="resource" domain="[]" context="{'group_by':'resource_id'}"/>
<filter string="Company" name="company" domain="[]" context="{'group_by':'company_id'}" groups="base.group_multi_company"/>
<filter string="Leave Month" name="leave_month" domain="[]" context="{'group_by':'date_from'}" help="Starting Date of Leave by Month"/>
<filter string="Leave Date" name="leave_month" domain="[]" context="{'group_by':'date_from'}" help="Starting Date of Leave"/>
</group>
</search>
</field>
+1 -1
View File
@@ -18,7 +18,7 @@
<field name="model">sale.report</field>
<field name="arch" type="xml">
<graph string="Sales Analysis">
<field name="date" type="row"/>
<field name="date" type="row" interval="day"/>
<field name="price_subtotal" type="measure"/>
</graph>
</field>
+1 -1
View File
@@ -451,7 +451,7 @@
<group expand="0" string="Group By">
<filter string="Salesperson" name="salesperson" domain="[]" context="{'group_by':'user_id'}"/>
<filter name="customer" string="Customer" domain="[]" context="{'group_by':'partner_id'}"/>
<filter string="Order Month" name="order_month" domain="[]" context="{'group_by':'date_order'}"/>
<filter string="Order Date" name="order_month" domain="[]" context="{'group_by':'date_order'}"/>
</group>
</search>
</field>
+1 -1
View File
@@ -59,7 +59,7 @@
<field name="product_id" string="Inventory Product" filter_domain="['|', ('product_id', 'ilike', self), ('line_ids.product_id','ilike',self)]"/>
<group expand="0" string="Group By">
<filter string="Status" name="status" domain="[]" context="{'group_by':'state'}"/>
<filter string="Inventories Month" name="inventories_month" domain="[]" context="{'group_by':'date'}" help="Physical Inventories by Month"/>
<filter string="Inventories Date" name="inventories_month" domain="[]" context="{'group_by':'date'}" help="Physical Inventories by Date"/>
</group>
</search>
@@ -159,7 +159,7 @@
<filter string="Draft" name="draft" domain="[('state','=','draft')]"/>
<filter string="Done" name="done" domain="[('state','=','done')]"/>
<group expand="0" string="Group By">
<filter string="Month" name="group_by_month" context="{'group_by': 'date'}"/>
<filter string="Date" name="group_by_month" context="{'group_by': 'date'}"/>
<filter string="Status" name="status" context="{'group_by': 'state'}"/>
</group>
</search>
@@ -25,7 +25,7 @@
<filter string="Country" name="country" context="{'group_by':'country_id'}" />
<filter string="Company" name="company" context="{'group_by':'company_id'}" />
<separator/>
<filter string="Assign Month" name="assign_month" context="{'group_by':'date_assign:month'}"/>
<filter string="Assign Date" name="assign_month" context="{'group_by':'date_assign:month'}"/>
</group>
</search>
</field>
@@ -79,7 +79,7 @@
<filter name="owner" string="Owner" domain="[]" context="{'group_by':'create_uid'}"/>
<filter string="Type" name="type" domain="[]" context="{'group_by':'type'}" groups="base.group_no_one"/>
<filter string="Company" name="company" domain="[]" context="{'group_by':'company_id'}" groups="base.group_multi_company"/>
<filter string="Creation Month" name="creation_month" domain="[]" context="{'group_by':'create_date'}"/>
<filter string="Creation Date" name="creation_month" domain="[]" context="{'group_by':'create_date'}"/>
<filter string="Attached Document Name" name="attached_document_name" domain="[]" context="{'group_by': 'res_name'}"/>
</group>
</search>
+1 -2
View File
@@ -47,8 +47,7 @@
<filter string="Database" name="database" domain="[]" context="{'group_by': 'dbname'}" />
<filter string="Level" name="group_by_level" domain="[]" context="{'group_by': 'level'}" />
<filter string="Type" name="group_by_type" domain="[]" context="{'group_by': 'type'}" />
<filter string="Month" name="group_by_month" domain="[]" context="{'group_by': 'create_date'}" />
<filter string="Day" name="group_by_day" domain="[]" context="{'group_by': 'create_date:day'}" />
<filter string="Creation Date" name="group_by_month" domain="[]" context="{'group_by': 'create_date'}" />
</group>
</search>
</field>