Commit 70e532e1 authored by Romain Courteaud's avatar Romain Courteaud

Add Task property sheet to all rules.


git-svn-id: https://svn.erp5.org/repos/public/erp5/trunk@11312 20353a03-c40f-0410-a6d1-a30d3c3de9de
parent 98d319e6
...@@ -65,6 +65,7 @@ class AmortisationRule(Rule): ...@@ -65,6 +65,7 @@ class AmortisationRule(Rule):
, PropertySheet.XMLObject , PropertySheet.XMLObject
, PropertySheet.CategoryCore , PropertySheet.CategoryCore
, PropertySheet.DublinCore , PropertySheet.DublinCore
, PropertySheet.Task
) )
movement_name_dict = { 'immobilisation': { 'immo': 'start_immo', movement_name_dict = { 'immobilisation': { 'immo': 'start_immo',
......
...@@ -56,6 +56,7 @@ class DeliveryRule(Rule): ...@@ -56,6 +56,7 @@ class DeliveryRule(Rule):
, PropertySheet.XMLObject , PropertySheet.XMLObject
, PropertySheet.CategoryCore , PropertySheet.CategoryCore
, PropertySheet.DublinCore , PropertySheet.DublinCore
, PropertySheet.Task
) )
def _test(self, movement): def _test(self, movement):
......
...@@ -59,6 +59,7 @@ class InvoiceRule(DeliveryRule): ...@@ -59,6 +59,7 @@ class InvoiceRule(DeliveryRule):
, PropertySheet.XMLObject , PropertySheet.XMLObject
, PropertySheet.CategoryCore , PropertySheet.CategoryCore
, PropertySheet.DublinCore , PropertySheet.DublinCore
, PropertySheet.Task
) )
security.declareProtected(Permissions.AccessContentsInformation, security.declareProtected(Permissions.AccessContentsInformation,
......
...@@ -60,6 +60,7 @@ class InvoiceTransactionRule(Rule, PredicateMatrix): ...@@ -60,6 +60,7 @@ class InvoiceTransactionRule(Rule, PredicateMatrix):
, PropertySheet.XMLObject , PropertySheet.XMLObject
, PropertySheet.CategoryCore , PropertySheet.CategoryCore
, PropertySheet.DublinCore , PropertySheet.DublinCore
, PropertySheet.Task
) )
def _test(self, movement): def _test(self, movement):
......
...@@ -61,6 +61,7 @@ class InvoicingRule(Rule): ...@@ -61,6 +61,7 @@ class InvoicingRule(Rule):
, PropertySheet.XMLObject , PropertySheet.XMLObject
, PropertySheet.CategoryCore , PropertySheet.CategoryCore
, PropertySheet.DublinCore , PropertySheet.DublinCore
, PropertySheet.Task
) )
security.declareProtected(Permissions.AccessContentsInformation, security.declareProtected(Permissions.AccessContentsInformation,
......
...@@ -56,6 +56,7 @@ class OrderRule(DeliveryRule): ...@@ -56,6 +56,7 @@ class OrderRule(DeliveryRule):
, PropertySheet.XMLObject , PropertySheet.XMLObject
, PropertySheet.CategoryCore , PropertySheet.CategoryCore
, PropertySheet.DublinCore , PropertySheet.DublinCore
, PropertySheet.Task
) )
# Simulation workflow # Simulation workflow
......
...@@ -62,6 +62,7 @@ class PaymentRule(Rule): ...@@ -62,6 +62,7 @@ class PaymentRule(Rule):
, PropertySheet.XMLObject , PropertySheet.XMLObject
, PropertySheet.CategoryCore , PropertySheet.CategoryCore
, PropertySheet.DublinCore , PropertySheet.DublinCore
, PropertySheet.Task
) )
def _test(self, movement): def _test(self, movement):
......
...@@ -57,6 +57,7 @@ class ProductionOrderRule(OrderRule): ...@@ -57,6 +57,7 @@ class ProductionOrderRule(OrderRule):
, PropertySheet.XMLObject , PropertySheet.XMLObject
, PropertySheet.CategoryCore , PropertySheet.CategoryCore
, PropertySheet.DublinCore , PropertySheet.DublinCore
, PropertySheet.Task
) )
# Simulation workflow # Simulation workflow
......
...@@ -80,6 +80,7 @@ class Rule(XMLObject, Predicate): ...@@ -80,6 +80,7 @@ class Rule(XMLObject, Predicate):
, PropertySheet.XMLObject , PropertySheet.XMLObject
, PropertySheet.CategoryCore , PropertySheet.CategoryCore
, PropertySheet.DublinCore , PropertySheet.DublinCore
, PropertySheet.Task
) )
# Portal Type of created children # Portal Type of created children
......
...@@ -58,6 +58,7 @@ class TransformationRule(Rule): ...@@ -58,6 +58,7 @@ class TransformationRule(Rule):
, PropertySheet.XMLObject , PropertySheet.XMLObject
, PropertySheet.CategoryCore , PropertySheet.CategoryCore
, PropertySheet.DublinCore , PropertySheet.DublinCore
, PropertySheet.Task
) )
# Class variable # Class variable
simulation_movement_portal_type = "Simulation Movement" simulation_movement_portal_type = "Simulation Movement"
......
...@@ -141,6 +141,7 @@ class TransformationSourcingRule(Rule): ...@@ -141,6 +141,7 @@ class TransformationSourcingRule(Rule):
, PropertySheet.XMLObject , PropertySheet.XMLObject
, PropertySheet.CategoryCore , PropertySheet.CategoryCore
, PropertySheet.DublinCore , PropertySheet.DublinCore
, PropertySheet.Task
) )
# Class variable # Class variable
simulation_movement_portal_type = "Simulation Movement" simulation_movement_portal_type = "Simulation Movement"
......
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