From dfd0872cc54664199486aafadea984d29767dbd0 Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?=C5=81ukasz=20Nowak?= <luke@nexedi.com>
Date: Wed, 21 Nov 2012 15:46:51 +0100
Subject: [PATCH] Check that movement is in correct invoice.

---
 .../TestTemplateItem/testSlapOSAccountingBuilder.py             | 2 ++
 master/bt5/slapos_accounting/bt/revision                        | 2 +-
 2 files changed, 3 insertions(+), 1 deletion(-)

diff --git a/master/bt5/slapos_accounting/TestTemplateItem/testSlapOSAccountingBuilder.py b/master/bt5/slapos_accounting/TestTemplateItem/testSlapOSAccountingBuilder.py
index 44822b5b3..9d6df6b22 100644
--- a/master/bt5/slapos_accounting/TestTemplateItem/testSlapOSAccountingBuilder.py
+++ b/master/bt5/slapos_accounting/TestTemplateItem/testSlapOSAccountingBuilder.py
@@ -567,6 +567,8 @@ class TestSlapOSSaleInvoiceTransactionBuilder(TestSlapOSSalePackingListBuilder):
 
     self.assertEqual(invoice_1.getRelativeUrl(),
         transaction_line_1_rec.getParentValue().getRelativeUrl())
+    self.assertEqual(invoice_1.getRelativeUrl(),
+        transaction_line_1_rec_bis.getParentValue().getRelativeUrl())
     self.assertEqual(invoice_1.getRelativeUrl(),
         transaction_line_1_sal.getParentValue().getRelativeUrl())
     self.assertEqual(invoice_2.getRelativeUrl(),
diff --git a/master/bt5/slapos_accounting/bt/revision b/master/bt5/slapos_accounting/bt/revision
index d800886d9..a09fd8ad4 100644
--- a/master/bt5/slapos_accounting/bt/revision
+++ b/master/bt5/slapos_accounting/bt/revision
@@ -1 +1 @@
-123
\ No newline at end of file
+124
\ No newline at end of file
-- 
2.30.9