[Add] report_sale: add the group by in report
bzr revid: sbh@tinyerp.com-20100203143246-k9we0qe89oar3t9v
This commit is contained in:
@@ -64,6 +64,11 @@
|
||||
<field name="month" select="1"/>
|
||||
<field name="product_id" select="1"/>
|
||||
<field name="state" select="1"/>
|
||||
<group expand="1" string="Group By..." colspan="4" col="20">
|
||||
<filter string="By Year" icon="terp-sale" domain="[]" context="{'group_by'name"/>
|
||||
<filter string="By Month" icon="terp-sale" domain="[]" context="{'group_by':'month"/>
|
||||
<filter string="By State" icon="terp-sale" domain="[]" context="{'group_by':'state'}"/>
|
||||
</group>
|
||||
</group>
|
||||
</search>
|
||||
</field>
|
||||
@@ -145,6 +150,12 @@
|
||||
<field name="month" select="1"/>
|
||||
<field name="category_id" select="1"/>
|
||||
<field name="state" select="1"/>
|
||||
<group expand="1" string="Group By..." colspan="4" col="20">
|
||||
<filter string="By Year" icon="terp-sale" domain="[]" context="{'group_by'name"/>
|
||||
<filter string="By Month" icon="terp-sale" domain="[]" context="{'group_by':'month"/>
|
||||
<filter string="By State" icon="terp-sale" domain="[]" context="{'group_by':'state'}"/>
|
||||
<filter string="By Category" icon="terp-sale" domain="[]" context="{'group_by':'category_id'}"/>
|
||||
</group>
|
||||
</group>
|
||||
</search>
|
||||
</field>
|
||||
|
||||
Reference in New Issue
Block a user