[ADD] stock: Add the filter on last month in Moves Analysis report
bzr revid: sbh@tinyerp.com-20100924081153-eahxyf9hpsptclsb
This commit is contained in:
@@ -57,6 +57,11 @@
|
||||
<field name="arch" type="xml">
|
||||
<search string="Moves Analysis">
|
||||
<group>
|
||||
<filter icon="terp-go-month"
|
||||
string="Last Month"
|
||||
separator="1"
|
||||
domain="[('date','<=', (datetime.date (int(time.strftime('%%Y')), datetime.date.today().month, 1) - datetime.timedelta (days = 1)).strftime('%%Y-%%m-%%d')),('date','>',(datetime.date (int(time.strftime('%%Y')), datetime.date.today().month-1, 1)).strftime('%%Y-%%m-%%d'))]"
|
||||
help="Last month"/>
|
||||
<filter icon="terp-go-month"
|
||||
name="month"
|
||||
string="This Month"
|
||||
|
||||
Reference in New Issue
Block a user