Commit d8a75c08 authored by Jérome Perrin's avatar Jérome Perrin

Fix allowed content types for Rule Tool (Order & Delivery Rule from...

Fix allowed content types for Rule Tool (Order & Delivery Rule from erp5_trade, Invoice, Invoicing & Payment from erp5_accounting)

git-svn-id: https://svn.erp5.org/repos/public/erp5/trunk@6927 20353a03-c40f-0410-a6d1-a30d3c3de9de
parent ad652513
......@@ -46,6 +46,12 @@
<item>Trade Condition</item>
<item>Invoice Line</item>
</portal_type>
<portal_type id="Rule Tool">
<item>Invoice Rule</item>
<item>Invoice Transaction Rule</item>
<item>Invoicing Rule</item>
<item>Payment Rule</item>
</portal_type>
<portal_type id="Sale Invoice Transaction">
<item>Sale Invoice Transaction Line</item>
<item>Trade Condition</item>
......
<?xml version="1.0"?>
<ZopeData>
<record id="1" aka="AAAAAAAAAAE=">
<pickle>
<tuple>
<tuple>
<string>Products.ERP5Type.ERP5Type</string>
<string>ERP5TypeInformation</string>
</tuple>
<none/>
</tuple>
</pickle>
<pickle>
<dictionary>
<item>
<key> <string>__ac_local_roles__</string> </key>
<value>
<none/>
</value>
</item>
<item>
<key> <string>_actions</string> </key>
<value>
<tuple/>
</value>
</item>
<item>
<key> <string>_owner</string> </key>
<value>
<none/>
</value>
</item>
<item>
<key> <string>_roles</string> </key>
<value>
<list/>
</value>
</item>
<item>
<key> <string>allowed_content_types</string> </key>
<value>
<tuple/>
</value>
</item>
<item>
<key> <string>base_category_list</string> </key>
<value>
<tuple/>
</value>
</item>
<item>
<key> <string>content_icon</string> </key>
<value> <string>document.gif</string> </value>
</item>
<item>
<key> <string>content_meta_type</string> </key>
<value> <string>ERP5 Payment Rule</string> </value>
</item>
<item>
<key> <string>description</string> </key>
<value> <string> Payment Rule generates payment simulation movement from invoice transaction simulation movements.</string> </value>
</item>
<item>
<key> <string>factory</string> </key>
<value> <string>addPaymentRule</string> </value>
</item>
<item>
<key> <string>filter_content_types</string> </key>
<value> <int>1</int> </value>
</item>
<item>
<key> <string>hidden_content_type_list</string> </key>
<value>
<tuple/>
</value>
</item>
<item>
<key> <string>id</string> </key>
<value> <string>Payment Rule</string> </value>
</item>
<item>
<key> <string>init_script</string> </key>
<value> <string></string> </value>
</item>
<item>
<key> <string>property_sheet_list</string> </key>
<value>
<tuple/>
</value>
</item>
<item>
<key> <string>title</string> </key>
<value> <string></string> </value>
</item>
</dictionary>
</pickle>
</record>
</ZopeData>
......@@ -21,6 +21,10 @@ Preference | Sale Invoice Transaction
Purchase Invoice Transaction | Invoice Line
Purchase Invoice Transaction | Purchase Invoice Transaction Line
Purchase Invoice Transaction | Trade Condition
Rule Tool | Invoice Rule
Rule Tool | Invoice Transaction Rule
Rule Tool | Invoicing Rule
Rule Tool | Payment Rule
Sale Invoice Transaction | Invoice Line
Sale Invoice Transaction | Sale Invoice Transaction Line
Sale Invoice Transaction | Trade Condition
\ No newline at end of file
......@@ -13,6 +13,7 @@ Invoice Line
Invoice Rule
Invoice Transaction Rule
Invoicing Rule
Payment Rule
Payment Transaction
Purchase Invoice Transaction
Purchase Invoice Transaction Line
......
......@@ -71,6 +71,10 @@
<portal_type id="Returned Sale Packing List Module">
<item>Returned Sale Packing List</item>
</portal_type>
<portal_type id="Rule Tool">
<item>Order Rule</item>
<item>Delivery Rule</item>
</portal_type>
<portal_type id="Sale Order">
<item>Sale Order Line</item>
<item>Discount</item>
......
......@@ -26,6 +26,8 @@ Returned Sale Packing List Line | Returned Sale Packing List Cell
Returned Sale Packing List Module | Returned Sale Packing List
Returned Sale Packing List | Container
Returned Sale Packing List | Returned Sale Packing List Line
Rule Tool | Delivery Rule
Rule Tool | Order Rule
Sale Order Line | Delivery Cell
Sale Order Module | Sale Order
Sale Order | Discount
......
......@@ -36,6 +36,10 @@
<list/>
</value>
</item>
<item>
<key> <string>acquire_local_roles</string> </key>
<value> <int>1</int> </value>
</item>
<item>
<key> <string>allowed_content_types</string> </key>
<value>
......@@ -54,20 +58,25 @@
</item>
<item>
<key> <string>content_meta_type</string> </key>
<value> <string>ERP5 Folder</string> </value>
<value> <string>ERP5 Rule Tool</string> </value>
</item>
<item>
<key> <string>description</string> </key>
<value> <string>Folders allow to store a large number of documents (1,000,000 should not\n
be a problem).</string> </value>
<value> <string>The RulesTool implements portal objects transformation policies.</string> </value>
</item>
<item>
<key> <string>factory</string> </key>
<value> <string>addFolder</string> </value>
<value> <string></string> </value>
</item>
<item>
<key> <string>filter_content_types</string> </key>
<value> <int>0</int> </value>
<value> <int>1</int> </value>
</item>
<item>
<key> <string>group_list</string> </key>
<value>
<tuple/>
</value>
</item>
<item>
<key> <string>hidden_content_type_list</string> </key>
......
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