From fe05f0f44e6c6bfbde2b7e71a6824ca37764df0e Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?C=C3=A9dric=20Krier?= Date: Mon, 15 Dec 2014 17:05:48 +0100 Subject: [PATCH] Use Move company field instead of fiscalyear Move has a company field now, so it is better to use it in domain instead of joining with fiscalyear. --- move.xml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/move.xml b/move.xml index dd4dd2992e..f3fb477476 100644 --- a/move.xml +++ b/move.xml @@ -16,7 +16,7 @@ this repository contains the full copyright notices and license terms. --> Account Moves account.move - [('period.fiscalyear.company.id', '=', Eval('context', {}).get('company', -1))] + [('company', '=', Eval('context', {}).get('company', -1))] [('create_date', '>=', DateTime(hour=0, minute=0, second=0, microsecond=0, delta_years=-1))]