Commit 7a95ee18 authored by Rafael Monnerat's avatar Rafael Monnerat

slapos_accounting: (test) Ledger has to match

   ledger cannot be changed otherwise the lines aren't grouped automatically like before.
parent 7f0b010c
...@@ -28,8 +28,7 @@ reversal_transaction.edit( ...@@ -28,8 +28,7 @@ reversal_transaction.edit(
title="Reversal Transaction for %s" % context.getTitle(), title="Reversal Transaction for %s" % context.getTitle(),
causality_value=context, causality_value=context,
description="Reversal Transaction for %s" % context.getTitle(), description="Reversal Transaction for %s" % context.getTitle(),
specialise_value=None, specialise_value=None
ledger=None,
) )
for line in reversal_transaction.getMovementList(): for line in reversal_transaction.getMovementList():
......
...@@ -260,7 +260,7 @@ class TestSlapOSAccounting(SlapOSTestCaseMixin): ...@@ -260,7 +260,7 @@ class TestSlapOSAccounting(SlapOSTestCaseMixin):
self.assertTrue(reversale_invoice.SaleInvoiceTransaction_isLettered()) self.assertTrue(reversale_invoice.SaleInvoiceTransaction_isLettered())
self.assertEqual(reversale_invoice.getSpecialise(), None) self.assertEqual(reversale_invoice.getSpecialise(), None)
self.assertEqual(reversale_invoice.getLedger(), None) self.assertEqual(reversale_invoice.getLedger(), 'automated')
self.tic() self.tic()
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment