diff --git a/product/ERP5/Document/PaymentCondition.py b/product/ERP5/Document/PaymentCondition.py index 3b0129b2d62c334b259c317fe163e1d02f759976..9d5e929ddc9cf4f70dc014a78665bbd71d12ea2f 100755 --- a/product/ERP5/Document/PaymentCondition.py +++ b/product/ERP5/Document/PaymentCondition.py @@ -52,48 +52,7 @@ class PaymentCondition(XMLObject): , PropertySheet.XMLObject , PropertySheet.CategoryCore , PropertySheet.DublinCore + , PropertySheet.Amount , PropertySheet.PaymentCondition ) - # Factory Type Information - factory_type_information = \ - { 'id' : portal_type - , 'meta_type' : meta_type - , 'description' : """\ -Payment Conditions are used to define all the parameters of a payment.""" - , 'icon' : 'payment_condition_icon.gif' - , 'product' : 'ERP5' - , 'factory' : 'addPaymentCondition' - , 'immediate_view' : 'payment_condition_edit' - , 'actions' : - ( { 'id' : 'view' - , 'name' : 'View' - , 'category' : 'object_view' - , 'action' : 'payment_condition_edit' - , 'permissions' : ( - Permissions.View, ) - } - , { 'id' : 'print' - , 'name' : 'Print' - , 'category' : 'object_print' - , 'action' : 'payment_condition_print' - , 'permissions' : ( - Permissions.View, ) - } - , { 'id' : 'metadata' - , 'name' : 'Metadata' - , 'category' : 'object_edit' - , 'action' : 'metadata_edit' - , 'permissions' : ( - Permissions.View, ) - } - , { 'id' : 'translate' - , 'name' : 'Translate' - , 'category' : 'object_action' - , 'action' : 'translation_template_view' - , 'permissions' : ( - Permissions.TranslateContent, ) - } - ) - } -