Commit 37c773eb authored by Julien Muchembled's avatar Julien Muchembled

Fix some tests in testTradeModelLinePurchase

Contrary to Sale Invoice Transactions, Purchase Invoice Transactions
are built when Purchase Packing Lists are stopped.

git-svn-id: https://svn.erp5.org/repos/public/erp5/sandbox/amount_generator@38392 20353a03-c40f-0410-a6d1-a30d3c3de9de
parent 832144b8
......@@ -271,6 +271,7 @@ class TestTradeModelLine(TestTradeModelLineMixin):
self.tic()
packing_list.start()
packing_list.stop()
transaction.commit()
self.tic()
......@@ -278,7 +279,6 @@ class TestTradeModelLine(TestTradeModelLineMixin):
portal_type=self.invoice_portal_type)
self.assertEqual(5, len(invoice))
packing_list.stop()
packing_list.deliver()
transaction.commit()
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