<field name="type">tree</field>
<field name="arch" type="xml">
<tree string="Sale Orders">
<field name="type">tree</field>
<field name="arch" type="xml">
<tree string="Sale Orders">
- <field name="partner_id" invisible="True"/>
+ <field name="name"/>
+ <field name="partner_id"/>
<field name="date_order"/>
<field name="date_order"/>
- <field name="invoiced_rate"/>
- <field name="picked_rate"/>
+ <field name="invoiced_rate" widget="progressbar"/>
+ <field name="picked_rate" widget="progressbar"/>
<field name="amount_untaxed"/>
<field name="amount_tax"/>
<field name="amount_total" sum="Total Amount"/>
<field name="amount_untaxed"/>
<field name="amount_tax"/>
<field name="amount_total" sum="Total Amount"/>
</record>
<record id="action_sale_order_report_all" model="ir.actions.act_window">
</record>
<record id="action_sale_order_report_all" model="ir.actions.act_window">
- <field name="name">Sale Orders By Customer </field>
+ <field name="name">Sale Orders By Partner </field>
<field name="res_model">sale.order</field>
<field name="view_type">form</field>
<field name="view_mode">tree,graph</field>
<field name="res_model">sale.order</field>
<field name="view_type">form</field>
<field name="view_mode">tree,graph</field>
<field name="arch" type="xml">
<tree string="Sale Orders by Product">
<field name="name"/>
<field name="arch" type="xml">
<tree string="Sale Orders by Product">
<field name="name"/>
- <field name="order_id" invisible="True"/>
+ <field name="order_id"/>
<field name="product_uom_qty" />
<field name="product_uos_qty"/>
<field name="product_uos"/>
<field name="product_uom_qty" />
<field name="product_uos_qty"/>
<field name="product_uos"/>
<field name="date_order" select="1"/>
</group>
<group expand="context.get('report',False)" string="Group By..." colspan="4" col="8">
<field name="date_order" select="1"/>
</group>
<group expand="context.get('report',False)" string="Group By..." colspan="4" col="8">
- <filter string="By Customer" icon="terp-sale" domain="[]" default="1" context="{'group_by':'partner_id'}"/>
+ <filter string="By Partner" icon="terp-sale" domain="[]" default="1" context="{'group_by':'partner_id'}"/>
<filter string="By State" icon="terp-sale" domain="[]" context="{'group_by':'state'}"/>
<filter string="By Order Date" icon="terp-sale" domain="[]" context="{'group_by':'date_order'}"/>
</group>
<filter string="By State" icon="terp-sale" domain="[]" context="{'group_by':'state'}"/>
<filter string="By Order Date" icon="terp-sale" domain="[]" context="{'group_by':'date_order'}"/>
</group>