Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Support
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in / Register
Toggle navigation
erp5_fork
Project overview
Project overview
Details
Activity
Releases
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Issues
0
Issues
0
List
Boards
Labels
Milestones
Merge Requests
0
Merge Requests
0
Analytics
Analytics
Repository
Value Stream
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Create a new issue
Commits
Issue Boards
Open sidebar
Eteri
erp5_fork
Commits
add524b6
Commit
add524b6
authored
Dec 08, 2011
by
Vincent Pelletier
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Don't overwrite site properties when present.
Still, don't fail depending on day of week.
parent
d6a1af81
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
1 addition
and
4 deletions
+1
-4
product/ERP5Banking/tests/TestERP5BankingMixin.py
product/ERP5Banking/tests/TestERP5BankingMixin.py
+1
-4
No files found.
product/ERP5Banking/tests/TestERP5BankingMixin.py
View file @
add524b6
...
...
@@ -815,14 +815,11 @@ class TestERP5BankingMixin(ERP5TypeTestCase):
# the default currency for the site
if
not
self
.
portal
.
hasProperty
(
'reference_currency_id'
):
self
.
portal
.
manage_addProperty
(
'reference_currency_id'
,
'EUR'
,
type
=
'string'
)
else
:
self
.
portal
.
_updateProperty
(
'reference_currency_id'
,
"EUR"
)
# not working days
if
not
self
.
portal
.
hasProperty
(
'not_working_days'
):
self
.
portal
.
manage_addProperty
(
'not_working_days'
,
''
,
type
=
'string'
)
else
:
self
.
portal
.
_updateProperty
(
'not_working_days'
,
""
)
self
.
portal
.
not_working_days
=
''
setattr
(
self
.
portal
,
'functionnal_test_mode'
,
1
)
# the person module
self
.
person_module
=
self
.
getPersonModule
()
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment