Commit ac607cb6 authored by Lucas Carvalho's avatar Lucas Carvalho

2011-03-31 lucas

* Since r44521 the default preferences from core are not disabled anymore., hence the preferences created by configurator has low priority.

git-svn-id: https://svn.erp5.org/repos/public/erp5/trunk@44946 20353a03-c40f-0410-a6d1-a30d3c3de9de
parent 05c6df7a
......@@ -739,11 +739,14 @@ class TestStandardConfiguratorWorkflow(TestLiveConfiguratorWorkflowMixin):
organisation_id = organisation_list[0].getId()
# ui
self.assertEquals('dmy', preference_tool.getPreferredDateOrder())
# The default preferences are not disabled anymore, there is no reason to
# assert such properties.
#self.assertEquals('dmy', preference_tool.getPreferredDateOrder())
#self.assertTrue(preference_tool.getPreferredHtmlStyleAccessTab())
self.assertEquals('ODT', preference_tool.getPreferredReportStyle())
self.assertEquals('pdf', preference_tool.getPreferredReportFormat())
self.assertEquals(10, preference_tool.getPreferredMoneyQuantityFieldWidth())
self.assertTrue(preference_tool.getPreferredHtmlStyleAccessTab())
# on Business Configuration
#self.assertEquals('localhost', preference_tool.getPreferredOoodocServerAddress())
#self.assertEquals(8011, preference_tool.getPreferredOoodocServerPortNumber())
......@@ -761,7 +764,7 @@ class TestStandardConfiguratorWorkflow(TestLiveConfiguratorWorkflowMixin):
'group/my_group')
self.assertEquals('organisation_module/%s' % organisation_id,
preference_tool.getPreferredSection())
self.assertEquals(['delivered', 'stopped'],
self.assertSameSet(['delivered', 'stopped'],
preference_tool.getPreferredAccountingTransactionSimulationStateList())
# trade
......
2011-03-31 lucas
* Since r44521 the default preferences from core are not disabled anymore., hence the preferences created by configurator has low priority.
2011-03-31 lucas
* Added a new script with business process informations.
......
TODO:
- Fix the preferences object priority (copy some properties can solve the problem)
\ No newline at end of file
588
\ No newline at end of file
589
\ No newline at end of file
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