[FIX] correct various date issues in reporting
[odoo/odoo.git] / addons / account_voucher / report / account_voucher_sales_receipt_view.xml
index a6e1535..78af9d2 100644 (file)
@@ -1,34 +1,7 @@
 <?xml version="1.0" encoding="UTF-8"?>
 <openerp>
     <data> 
-   
-<!--    <record id="view_sale_receipt_report_tree" model="ir.ui.view">
-        <field name="name">sale.receipt.report.tree</field>
-        <field name="model">sale.receipt.report</field>
-        <field name="arch" type="xml">
-            <tree colors="blue:state == 'draft';gray:state in ('cancel','paid');black:state in ('proforma','proforma2')" create="false"  string="Sales Receipts Analysis">
-                <field name="date" invisible="1"/>
-                <field name="user_id" invisible="1"/>
-                <field name="year" invisible="1"/>
-                <field name="day" invisible="1"/>
-                <field name="month" invisible="1"/>
-                <field name="type" invisible="1"/>
-                <field name="company_id" invisible="1"/>
-                <field name="partner_id" invisible="1"/>
-                <field name="state" invisible="1"/>
-                <field name="currency_id" invisible="1"/>
-                <field name="journal_id" invisible="1"/>
-                <field name="date_due" invisible="1"/>
-                <field name="account_id" invisible="1"/>
-                <field name="nbr" sum="# of Voucher Lines"/>
-                <field name="price_total" sum="Total Without Tax"/>
-                <field name="price_total_tax" sum="Total With Tax"/>
-                <field name="due_delay"  sum="Avg. Due Delay"/>
-                <field name="delay_to_pay"  sum="Avg. Delay To Pay"/>
-            </tree>
-        </field>
-    </record>
- -->
+
     <record id="view_sale_receipt_report_graph" model="ir.ui.view">
          <field name="name">sale.receipt.report.graph</field>
          <field name="model">sale.receipt.report</field>
@@ -65,9 +38,7 @@
                     <filter string="Journal" icon="terp-folder-orange" context="{'group_by':'journal_id'}"/>
                     <filter string="Due Month" icon="terp-go-today" context="{'group_by':'date_due'}"/>
                     <filter string="Company" icon="terp-go-home" context="{'group_by':'company_id'}" groups="base.group_multi_company"/>
-                    <filter string="Day" name="day" icon="terp-go-today" context="{'group_by':'day'}" help="Group by Invoice Date"/>
-                    <filter string="Month" name="month" icon="terp-go-month" context="{'group_by':'month'}" help="Group by month of Invoice Date"/>
-                    <filter string="Year" name="year" icon="terp-go-year" context="{'group_by':'year'}" help="Group by year of Invoice Date"/>
+                    <filter string="Invoice Date" name="month" icon="terp-go-month" context="{'group_by':'date'}" help="Group by month of Invoice Date"/>
                 </group>
             </search>
         </field>