Commit ad14d590 authored by Łukasz Nowak's avatar Łukasz Nowak

Rule.py

 - update copyrights, fix some typos
 - declare encoding
 - cleanup imports
 - incorporate BPMRule functionality
 - define which helpers are override able, which aren't
BPMRule.py
 - remove, because Rule.py provide same functionality
BPMInvoiceTransactionRule.py
BPMInvoicingRule.py
BPMOrderRule.py
BPMDeliveryRule.py
 - use Rule instead of BPMRule
 - remove not needed disclaimer


git-svn-id: https://svn.erp5.org/repos/public/erp5/trunk@28517 20353a03-c40f-0410-a6d1-a30d3c3de9de
parent 919c56a7
...@@ -31,12 +31,10 @@ ...@@ -31,12 +31,10 @@
from AccessControl import ClassSecurityInfo from AccessControl import ClassSecurityInfo
from Products.ERP5Type import Permissions, PropertySheet from Products.ERP5Type import Permissions, PropertySheet
from Products.ERP5.Document.BPMRule import BPMRule from Products.ERP5.Document.Rule import Rule
class BPMDeliveryRule(BPMRule): class BPMDeliveryRule(Rule):
""" """
DISCLAIMER: Refer to BPMRule docstring disclaimer.
This is BPM enabled Delivery Rule. This is BPM enabled Delivery Rule.
""" """
......
...@@ -30,13 +30,11 @@ ...@@ -30,13 +30,11 @@
from AccessControl import ClassSecurityInfo from AccessControl import ClassSecurityInfo
from Products.ERP5Type import Permissions, PropertySheet from Products.ERP5Type import Permissions, PropertySheet
from Products.ERP5.Document.BPMRule import BPMRule from Products.ERP5.Document.Rule import Rule
from Products.ERP5.Document.PredicateMatrix import PredicateMatrix from Products.ERP5.Document.PredicateMatrix import PredicateMatrix
class BPMInvoiceTransactionRule(BPMRule, PredicateMatrix): class BPMInvoiceTransactionRule(Rule, PredicateMatrix):
""" """
DISCLAIMER: Refer to BPMRule docstring disclaimer.
This is BPM enabled Invoice Transaction Rule. This is BPM enabled Invoice Transaction Rule.
""" """
......
...@@ -32,12 +32,10 @@ ...@@ -32,12 +32,10 @@
from AccessControl import ClassSecurityInfo from AccessControl import ClassSecurityInfo
from Products.ERP5Type import Permissions, PropertySheet from Products.ERP5Type import Permissions, PropertySheet
from Products.ERP5.Document.BPMRule import BPMRule from Products.ERP5.Document.Rule import Rule
class BPMInvoicingRule(BPMRule): class BPMInvoicingRule(Rule):
""" """
DISCLAIMER: Refer to BPMRule docstring disclaimer.
This is BPM enabled Invoicing Rule This is BPM enabled Invoicing Rule
""" """
......
...@@ -35,8 +35,6 @@ from Products.ERP5.Document.BPMDeliveryRule import BPMDeliveryRule ...@@ -35,8 +35,6 @@ from Products.ERP5.Document.BPMDeliveryRule import BPMDeliveryRule
class BPMOrderRule(BPMDeliveryRule): class BPMOrderRule(BPMDeliveryRule):
""" """
DISCLAIMER: Refer to BPMRule docstring disclaimer.
This is BPM enabled Order Rule. This is BPM enabled Order Rule.
""" """
# CMF Type Definition # CMF Type Definition
......
This diff is collapsed.
This diff is collapsed.
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