[Erp5-report] r38927 jerome - /erp5/trunk/products/ERP5/tests/testAccounting.py

nobody at svn.erp5.org nobody at svn.erp5.org
Wed Oct 6 16:31:19 CEST 2010


Author: jerome
Date: Wed Oct  6 16:31:15 2010
New Revision: 38927

URL: http://svn.erp5.org?rev=38927&view=rev
Log:
this was testing unrealistic situation, as user cannot set only a start date on
a purchase invoice.

Modified:
    erp5/trunk/products/ERP5/tests/testAccounting.py

Modified: erp5/trunk/products/ERP5/tests/testAccounting.py
URL: http://svn.erp5.org/erp5/trunk/products/ERP5/tests/testAccounting.py?rev=38927&r1=38926&r2=38927&view=diff
==============================================================================
--- erp5/trunk/products/ERP5/tests/testAccounting.py [utf8] (original)
+++ erp5/trunk/products/ERP5/tests/testAccounting.py [utf8] Wed Oct  6 16:31:15 2010
@@ -810,7 +810,7 @@ class TestTransactionValidation(Accounti
     # asset price but the resource is the same as the accounting resource
     accounting_transaction = self._makeOne(
                portal_type='Purchase Invoice Transaction',
-               start_date=DateTime('2007/01/02'),
+               stop_date=DateTime('2007/01/02'),
                source_section_value=self.organisation_module.client_1,
                lines=(dict(destination_value=self.account_module.payable,
                            destination_debit=500,




More information about the Erp5-report mailing list