diff --git a/statement.xml b/statement.xml index 8c3ae18870..f8609b83b0 100644 --- a/statement.xml +++ b/statement.xml @@ -109,6 +109,23 @@ this repository contains the full copyright notices and license terms. --> statement_line_tree + + Statement Lines + account.statement.line + + + + + + + + + + + + + account.statement.line tree @@ -138,6 +155,15 @@ this repository contains the full copyright notices and license terms. --> + + + + + + [('statement.company', '=', user.company.id if user.company else None)] + + + @@ -248,5 +274,38 @@ 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 + account.statement.line,-1 + + + + + Moves + account.move + [('origin.statement.id', 'in', Eval('active_ids'), 'account.statement.line')] + + + form_relate + account.statement,-1 + + + + + Moves + account.move + [('origin.id', 'in', Eval('active_ids'), 'account.statement.line')] + + + form_relate + account.statement.line,-1 + + +