<filter string="本月数据" name="month" domain="[('date','>=', time.strftime('%Y-%m-01')),('date','<', (context_today() + relativedelta(months=1)).strftime('%Y-%m-01') ) ]"/>
本解决方法提供人为 Odoo学习社区“Q”“Q”群(374626408)的上海开阖-Jeff
<filter string="本月数据" name="month" domain="[('date','>=', time.strftime('%Y-%m-01')),('date','<', (context_today() + relativedelta(months=1)).strftime('%Y-%m-01') ) ]"/>
本解决方法提供人为 Odoo学习社区“Q”“Q”群(374626408)的上海开阖-Jeff