Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Support
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in / Register
Toggle navigation
E
erp5_rtl_support
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
Romain Courteaud
erp5_rtl_support
Commits
27b0a4c0
Commit
27b0a4c0
authored
Aug 02, 2011
by
Rafael Monnerat
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
ERP5Configurator: Tinny style changes.
parent
f51876bb
Changes
4
Show whitespace changes
Inline
Side-by-side
Showing
4 changed files
with
7 additions
and
11 deletions
+7
-11
product/ERP5Configurator/Document/AccountConfiguratorItem.py
product/ERP5Configurator/Document/AccountConfiguratorItem.py
+1
-2
product/ERP5Configurator/Document/AccountingPeriodConfiguratorItem.py
...Configurator/Document/AccountingPeriodConfiguratorItem.py
+5
-7
product/ERP5Configurator/Document/PermissionConfiguratorItem.py
...t/ERP5Configurator/Document/PermissionConfiguratorItem.py
+1
-1
product/ERP5Configurator/tests/ConfiguratorTestMixin.py
product/ERP5Configurator/tests/ConfiguratorTestMixin.py
+0
-1
No files found.
product/ERP5Configurator/Document/AccountConfiguratorItem.py
View file @
27b0a4c0
...
...
@@ -56,8 +56,7 @@ class AccountConfiguratorItem(ConfiguratorItemMixin, XMLObject):
,
PropertySheet
.
Account
)
def
_build
(
self
,
business_configuration
):
portal
=
self
.
getPortalObject
()
account_module
=
portal
.
account_module
account_module
=
self
.
getPortalObject
().
account_module
extra_kw
=
{}
account_id
=
getattr
(
self
,
'account_id'
,
None
)
...
...
product/ERP5Configurator/Document/AccountingPeriodConfiguratorItem.py
View file @
27b0a4c0
...
...
@@ -60,9 +60,7 @@ class AccountingPeriodConfiguratorItem(ConfiguratorItemMixin, XMLObject):
organisation_id
=
business_configuration
.
\
getGlobalConfigurationAttr
(
'organisation_id'
)
organisation
=
portal
.
organisation_module
.
_getOb
(
organisation_id
)
period
=
organisation
.
newContent
(
portal_type
=
'Accounting Period'
,
organisation
.
newContent
(
portal_type
=
'Accounting Period'
,
start_date
=
self
.
getStartDate
(),
stop_date
=
self
.
getStopDate
(),
short_title
=
self
.
getShortTitle
(),
...
...
product/ERP5Configurator/Document/PermissionConfiguratorItem.py
View file @
27b0a4c0
product/ERP5Configurator/tests/ConfiguratorTestMixin.py
View file @
27b0a4c0
...
...
@@ -532,7 +532,6 @@ class TestLiveConfiguratorWorkflowMixin(SecurityTestCase):
expected_list
=
self
.
standard_bt5_list
+
bt5_tuple
self
.
assertEquals
([
i
for
i
in
expected_list
if
i
not
in
bt5_title_list
],
[])
self
.
assertFalse
(
bc_id
in
bt5_title_list
)
bt
=
business_configuration
.
getSpecialiseValue
(
portal_type
=
"Business Template"
)
...
...
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