[Erp5-report] r43804 jerome - in /erp5/trunk/bt5/erp5_configurator_standard: TestTemplateIt...

nobody at svn.erp5.org nobody at svn.erp5.org
Mon Feb 28 13:32:44 CET 2011


Author: jerome
Date: Mon Feb 28 13:32:44 2011
New Revision: 43804

URL: http://svn.erp5.org?rev=43804&view=rev
Log:
For accounting periods to work properly, they must be created in an
organisation having a group and an accounting currency.

Modified:
    erp5/trunk/bt5/erp5_configurator_standard/TestTemplateItem/testStandardConfigurationWorkflow.py
    erp5/trunk/bt5/erp5_configurator_standard/bt/revision

Modified: erp5/trunk/bt5/erp5_configurator_standard/TestTemplateItem/testStandardConfigurationWorkflow.py
URL: http://svn.erp5.org/erp5/trunk/bt5/erp5_configurator_standard/TestTemplateItem/testStandardConfigurationWorkflow.py?rev=43804&r1=43803&r2=43804&view=diff
==============================================================================
--- erp5/trunk/bt5/erp5_configurator_standard/TestTemplateItem/testStandardConfigurationWorkflow.py [utf8] (original)
+++ erp5/trunk/bt5/erp5_configurator_standard/TestTemplateItem/testStandardConfigurationWorkflow.py [utf8] Mon Feb 28 13:32:44 2011
@@ -1736,7 +1736,9 @@ class TestStandardConfiguratorWorkflow(T
 
   def stepValidatedAccountingPeriods(self, sequence=None, sequence_list=None, **kw):
     organisation = self.portal.organisation_module.newContent(
-                          portal_type='Organisation')
+                          portal_type='Organisation',
+                          price_currency_value=self.portal.currency_module.EUR,
+                          group='my_group')
     accounting_period = organisation.newContent(
                           portal_type='Accounting Period',
                           start_date=DateTime(2001, 01, 01),

Modified: erp5/trunk/bt5/erp5_configurator_standard/bt/revision
URL: http://svn.erp5.org/erp5/trunk/bt5/erp5_configurator_standard/bt/revision?rev=43804&r1=43803&r2=43804&view=diff
==============================================================================
--- erp5/trunk/bt5/erp5_configurator_standard/bt/revision [utf8] (original)
+++ erp5/trunk/bt5/erp5_configurator_standard/bt/revision [utf8] Mon Feb 28 13:32:44 2011
@@ -1 +1 @@
-570
\ No newline at end of file
+571
\ No newline at end of file



More information about the Erp5-report mailing list