diff --git a/journal.xml b/journal.xml
index 54f890b3fa..1ac2a59f58 100644
--- a/journal.xml
+++ b/journal.xml
@@ -56,7 +56,9 @@ this repository contains the full copyright notices and license terms. -->
- [('company', '=', user.company.id if user.company else None)]
+
diff --git a/statement.xml b/statement.xml
index f3ced19cf0..a1ebd97a93 100644
--- a/statement.xml
+++ b/statement.xml
@@ -48,21 +48,21 @@ this repository contains the full copyright notices and license terms. -->
id="act_statement_form_domain_draft">
Draft
- [('state', '=', 'draft')]
+
Validated
- [('state', '=', 'validated')]
+
Posted
- [('state', '=', 'posted')]
+
- [('company', '=', user.company.id if user.company else None)]
+
@@ -119,7 +121,8 @@ this repository contains the full copyright notices and license terms. -->
Statement Lines
account.statement.line
- [('move', 'in', Eval('active_ids'))]
+
form_relate
@@ -130,7 +133,8 @@ this repository contains the full copyright notices and license terms. -->
Statement Lines
account.statement.line
- [('move.lines', 'in', Eval('active_ids'))]
+
form_relate
@@ -143,7 +147,9 @@ this repository contains the full copyright notices and license terms. -->
- [('statement.company', '=', user.company.id if user.company else None)]
+
@@ -293,7 +299,9 @@ this repository contains the full copyright notices and license terms. -->
- [('statement.company', '=', user.company.id if user.company else None)]
+
@@ -332,7 +340,9 @@ this repository contains the full copyright notices and license terms. -->
Move Lines
account.move.line
- [('origin.id', 'in', Eval('active_ids'), 'account.statement')]
+
form_relate
@@ -343,7 +353,9 @@ this repository contains the full copyright notices and license terms. -->
Move Lines
account.move.line
- [('origin.id', 'in', Eval('active_ids'), 'account.statement.line')]
+
form_relate
@@ -354,7 +366,9 @@ this repository contains the full copyright notices and license terms. -->
Moves
account.move
- [('origin.statement.id', 'in', Eval('active_ids'), 'account.statement.line')]
+
form_relate
@@ -365,7 +379,9 @@ this repository contains the full copyright notices and license terms. -->
Moves
account.move
- [('origin.id', 'in', Eval('active_ids'), 'account.statement.line')]
+
form_relate
@@ -376,7 +392,8 @@ this repository contains the full copyright notices and license terms. -->
Line Groups
account.statement.line.group
- [('journal', 'in', Eval('active_ids'))]
+
form_relate