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
Issues
0
Issues
0
List
Boards
Labels
Milestones
Merge Requests
0
Merge Requests
0
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Analytics
Analytics
CI / CD
Repository
Value Stream
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
Léo-Paul Géneau
erp5
Commits
78eed6f9
Commit
78eed6f9
authored
Jan 24, 2014
by
Julien Muchembled
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
rule: remove useless methods
parent
fd8eca22
Changes
8
Show whitespace changes
Inline
Side-by-side
Showing
8 changed files
with
0 additions
and
92 deletions
+0
-92
product/ERP5/Document/DeliveryRootSimulationRule.py
product/ERP5/Document/DeliveryRootSimulationRule.py
+0
-12
product/ERP5/Document/DeliverySimulationRule.py
product/ERP5/Document/DeliverySimulationRule.py
+0
-12
product/ERP5/Document/InvoiceSimulationRule.py
product/ERP5/Document/InvoiceSimulationRule.py
+0
-12
product/ERP5/Document/InvoiceTransactionSimulationRule.py
product/ERP5/Document/InvoiceTransactionSimulationRule.py
+0
-12
product/ERP5/Document/OrderRootSimulationRule.py
product/ERP5/Document/OrderRootSimulationRule.py
+0
-12
product/ERP5/Document/PaymentSimulationRule.py
product/ERP5/Document/PaymentSimulationRule.py
+0
-12
product/ERP5/Document/TradeModelSimulationRule.py
product/ERP5/Document/TradeModelSimulationRule.py
+0
-12
product/ERP5/mixin/rule.py
product/ERP5/mixin/rule.py
+0
-8
No files found.
product/ERP5/Document/DeliveryRootSimulationRule.py
View file @
78eed6f9
...
...
@@ -72,18 +72,6 @@ class DeliveryRootSimulationRule(RuleMixin, MovementCollectionUpdaterMixin):
"""
return
DeliveryRuleMovementGenerator
(
applied_rule
=
context
,
rule
=
self
)
def
_getMovementGeneratorContext
(
self
,
context
):
"""
Return the movement generator context to use for expand
"""
return
context
def
_getMovementGeneratorMovementList
(
self
,
context
):
"""
Return the movement lists to provide to the movement generator
"""
return
[]
def
_isProfitAndLossMovement
(
self
,
movement
):
# For a kind of trade rule, a profit and loss movement lacks source
# or destination.
...
...
product/ERP5/Document/DeliverySimulationRule.py
View file @
78eed6f9
...
...
@@ -72,18 +72,6 @@ class DeliverySimulationRule(RuleMixin, MovementCollectionUpdaterMixin):
"""
return
DeliveryRuleMovementGenerator
(
applied_rule
=
context
,
rule
=
self
)
def
_getMovementGeneratorContext
(
self
,
context
):
"""
Return the movement generator context to use for expand
"""
return
context
def
_getMovementGeneratorMovementList
(
self
,
context
):
"""
Return the movement lists to provide to the movement generator
"""
return
[]
def
_isProfitAndLossMovement
(
self
,
movement
):
# For a kind of trade rule, a profit and loss movement lacks source
# or destination.
...
...
product/ERP5/Document/InvoiceSimulationRule.py
View file @
78eed6f9
...
...
@@ -80,18 +80,6 @@ class InvoiceSimulationRule(RuleMixin, MovementCollectionUpdaterMixin):
"""
return
InvoicingRuleMovementGenerator
(
applied_rule
=
context
,
rule
=
self
)
def
_getMovementGeneratorContext
(
self
,
context
):
"""
Return the movement generator context to use for expand
"""
return
context
def
_getMovementGeneratorMovementList
(
self
,
context
,
movement_list
=
None
,
rounding
=
None
):
"""
Return the movement lists to provide to the movement generator
"""
return
[]
def
_isProfitAndLossMovement
(
self
,
movement
):
# For a kind of trade rule, a profit and loss movement lacks source
# or destination.
...
...
product/ERP5/Document/InvoiceTransactionSimulationRule.py
View file @
78eed6f9
...
...
@@ -75,18 +75,6 @@ class InvoiceTransactionSimulationRule(RuleMixin,
"""
return
InvoiceTransactionRuleMovementGenerator
(
applied_rule
=
context
,
rule
=
self
)
def
_getMovementGeneratorContext
(
self
,
context
):
"""
Return the movement generator context to use for expand
"""
return
context
def
_getMovementGeneratorMovementList
(
self
,
context
):
"""
Return the movement lists to provide to the movement generator
"""
return
[]
def
_isProfitAndLossMovement
(
self
,
movement
):
# For a kind of trade rule, a profit and loss movement lacks source
# or destination.
...
...
product/ERP5/Document/OrderRootSimulationRule.py
View file @
78eed6f9
...
...
@@ -82,18 +82,6 @@ class OrderRootSimulationRule(RuleMixin, MovementCollectionUpdaterMixin):
"""
return
OrderRuleMovementGenerator
(
applied_rule
=
context
,
rule
=
self
)
def
_getMovementGeneratorContext
(
self
,
context
):
"""
Return the movement generator context to use for expand
"""
return
context
def
_getMovementGeneratorMovementList
(
self
,
context
):
"""
Return the movement lists to provide to the movement generator
"""
return
[]
def
_isProfitAndLossMovement
(
self
,
movement
):
# For a kind of trade rule, a profit and loss movement lacks source
# or destination.
...
...
product/ERP5/Document/PaymentSimulationRule.py
View file @
78eed6f9
...
...
@@ -70,18 +70,6 @@ class PaymentSimulationRule(RuleMixin, MovementCollectionUpdaterMixin):
"""
return
PaymentRuleMovementGenerator
(
applied_rule
=
context
,
rule
=
self
)
def
_getMovementGeneratorContext
(
self
,
context
):
"""
Return the movement generator context to use for expand
"""
return
context
def
_getMovementGeneratorMovementList
(
self
,
context
):
"""
Return the movement lists to provide to the movement generator
"""
return
[]
def
_isProfitAndLossMovement
(
self
,
movement
):
# For a kind of trade rule, a profit and loss movement lacks source
# or destination.
...
...
product/ERP5/Document/TradeModelSimulationRule.py
View file @
78eed6f9
...
...
@@ -70,18 +70,6 @@ class TradeModelSimulationRule(RuleMixin, MovementCollectionUpdaterMixin):
"""
return
TradeModelRuleMovementGenerator
(
applied_rule
=
context
,
rule
=
self
)
def
_getMovementGeneratorContext
(
self
,
context
):
"""
Return the movement generator context to use for expand
"""
return
context
def
_getMovementGeneratorMovementList
(
self
,
context
):
"""
Return the movement lists to provide to the movement generator
"""
return
[]
def
_isProfitAndLossMovement
(
self
,
movement
):
# For a kind of trade rule, a profit and loss movement lacks source
# or destination.
...
...
product/ERP5/mixin/rule.py
View file @
78eed6f9
...
...
@@ -260,18 +260,10 @@ class RuleMixin(Predicate):
"""
raise
NotImplementedError
def
_getMovementGeneratorContext
(
self
,
applied_rule
):
"""
Return the movement generator context to use for expand
XXX-JPS likely useless
"""
raise
NotImplementedError
def
_getMovementGeneratorMovementList
(
self
,
applied_rule
):
"""
Return the movement lists to provide to the movement generator
"""
raise
NotImplementedError
def
_getDivergenceTesterList
(
self
,
exclude_quantity
=
True
):
"""
...
...
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