Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Support
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in / Register
Toggle navigation
erp5
Project overview
Project overview
Details
Activity
Releases
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Labels
Merge Requests
0
Merge Requests
0
Analytics
Analytics
Repository
Value Stream
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Commits
Open sidebar
Romain Courteaud
erp5
Commits
bd734d65
Commit
bd734d65
authored
Sep 05, 2011
by
Kazuhiko Shiozaki
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
keep the obsoleted argument for safety.
parent
80d332d4
Changes
1
Show whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
4 additions
and
2 deletions
+4
-2
product/ERP5/mixin/amount_generator.py
product/ERP5/mixin/amount_generator.py
+4
-2
No files found.
product/ERP5/mixin/amount_generator.py
View file @
bd734d65
...
@@ -159,7 +159,8 @@ class AmountGeneratorMixin:
...
@@ -159,7 +159,8 @@ class AmountGeneratorMixin:
security
.
declareProtected
(
Permissions
.
AccessContentsInformation
,
security
.
declareProtected
(
Permissions
.
AccessContentsInformation
,
'getGeneratedAmountList'
)
'getGeneratedAmountList'
)
def
getGeneratedAmountList
(
self
,
amount_list
=
None
,
rounding
=
False
,
def
getGeneratedAmountList
(
self
,
amount_list
=
None
,
rounding
=
False
,
amount_generator_type_list
=
None
):
amount_generator_type_list
=
None
,
generate_empty_amounts
=
True
):
"""
"""
Implementation of a generic transformation algorithm which is
Implementation of a generic transformation algorithm which is
applicable to payroll, tax generation and BOMs. Return the
applicable to payroll, tax generation and BOMs. Return the
...
@@ -374,7 +375,8 @@ class AmountGeneratorMixin:
...
@@ -374,7 +375,8 @@ class AmountGeneratorMixin:
security
.
declareProtected
(
Permissions
.
AccessContentsInformation
,
security
.
declareProtected
(
Permissions
.
AccessContentsInformation
,
'getAggregatedAmountList'
)
'getAggregatedAmountList'
)
def
getAggregatedAmountList
(
self
,
amount_list
=
None
,
rounding
=
False
,
def
getAggregatedAmountList
(
self
,
amount_list
=
None
,
rounding
=
False
,
amount_generator_type_list
=
None
):
amount_generator_type_list
=
None
,
generate_empty_amounts
=
True
):
"""
"""
Implementation of a generic transformation algorith which is
Implementation of a generic transformation algorith which is
applicable to payroll, tax generation and BOMs. Return the
applicable to payroll, tax generation and BOMs. Return the
...
...
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