From 4f9e401ff78e94e04b8c9c75e856ceaae24bb1c1 Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?J=C3=A9rome=20Perrin?= <jerome@nexedi.com>
Date: Mon, 17 Aug 2009 15:52:24 +0000
Subject: [PATCH] also select simulation movement below tax rule, for
 compatibility

git-svn-id: https://svn.erp5.org/repos/public/erp5/trunk@28421 20353a03-c40f-0410-a6d1-a30d3c3de9de
---
 .../erp5_invoicing/InvoiceTransaction_selectInvoiceMovement.xml | 2 +-
 bt5/erp5_invoicing/bt/revision                                  | 2 +-
 2 files changed, 2 insertions(+), 2 deletions(-)

diff --git a/bt5/erp5_invoicing/SkinTemplateItem/portal_skins/erp5_invoicing/InvoiceTransaction_selectInvoiceMovement.xml b/bt5/erp5_invoicing/SkinTemplateItem/portal_skins/erp5_invoicing/InvoiceTransaction_selectInvoiceMovement.xml
index f0e61fe50c..53b1a1e8cd 100644
--- a/bt5/erp5_invoicing/SkinTemplateItem/portal_skins/erp5_invoicing/InvoiceTransaction_selectInvoiceMovement.xml
+++ b/bt5/erp5_invoicing/SkinTemplateItem/portal_skins/erp5_invoicing/InvoiceTransaction_selectInvoiceMovement.xml
@@ -61,7 +61,7 @@ and same rule which is children of Trade Model Rule """\n
 # search for normal movements\n
 kw[\'parent_specialise_portal_type\'] = \'Invoice Transaction Rule\'\n
 kw[\'grand_grand_parent_specialise_portal_type\'] = [\n
-                          \'Invoicing Rule\', \'Invoice Rule\']\n
+             \'Invoicing Rule\', \'Invoice Rule\', \'Tax Rule\']\n
 if context.Invoice_isAdvanced():\n
   kw[\'explanation_portal_type\']       = [\'%s Order\' % trade_type,\n
                                          \'%s Invoice\' % trade_type,\n
diff --git a/bt5/erp5_invoicing/bt/revision b/bt5/erp5_invoicing/bt/revision
index c6876402f5..61f9147fdc 100644
--- a/bt5/erp5_invoicing/bt/revision
+++ b/bt5/erp5_invoicing/bt/revision
@@ -1 +1 @@
-278
\ No newline at end of file
+275
\ No newline at end of file
-- 
2.30.9