Commit aa754a27 authored by Kazuhiko Shiozaki's avatar Kazuhiko Shiozaki

add Invoice Root Simulation Rule portal type.

git-svn-id: https://svn.erp5.org/repos/public/erp5/trunk@32888 20353a03-c40f-0410-a6d1-a30d3c3de9de
parent aac8fb56
<?xml version="1.0"?>
<ZopeData>
<record id="1" aka="AAAAAAAAAAE=">
<pickle>
<tuple>
<global name="ActionInformation" module="Products.CMFCore.ActionInformation"/>
<tuple/>
</tuple>
</pickle>
<pickle>
<dictionary>
<item>
<key> <string>action</string> </key>
<value>
<persistent> <string encoding="base64">AAAAAAAAAAI=</string> </persistent>
</value>
</item>
<item>
<key> <string>categories</string> </key>
<value>
<tuple>
<string>action_type/object_view</string>
</tuple>
</value>
</item>
<item>
<key> <string>category</string> </key>
<value> <string>object_view</string> </value>
</item>
<item>
<key> <string>condition</string> </key>
<value> <string></string> </value>
</item>
<item>
<key> <string>description</string> </key>
<value> <string></string> </value>
</item>
<item>
<key> <string>icon</string> </key>
<value> <string></string> </value>
</item>
<item>
<key> <string>id</string> </key>
<value> <string>view</string> </value>
</item>
<item>
<key> <string>permissions</string> </key>
<value>
<tuple>
<string>View</string>
</tuple>
</value>
</item>
<item>
<key> <string>priority</string> </key>
<value> <float>1.0</float> </value>
</item>
<item>
<key> <string>title</string> </key>
<value> <string>View</string> </value>
</item>
<item>
<key> <string>visible</string> </key>
<value> <int>1</int> </value>
</item>
</dictionary>
</pickle>
</record>
<record id="2" aka="AAAAAAAAAAI=">
<pickle>
<tuple>
<global name="Expression" module="Products.CMFCore.Expression"/>
<tuple/>
</tuple>
</pickle>
<pickle>
<dictionary>
<item>
<key> <string>text</string> </key>
<value> <string>string:${object_url}/Rule_view</string> </value>
</item>
</dictionary>
</pickle>
</record>
</ZopeData>
...@@ -24,6 +24,11 @@ ...@@ -24,6 +24,11 @@
<portal_type id="Balance Transaction"> <portal_type id="Balance Transaction">
<item>Balance Transaction Line</item> <item>Balance Transaction Line</item>
</portal_type> </portal_type>
<portal_type id="Invoice Root Simulation Rule">
<item>Category Divergence Tester</item>
<item>Property Divergence Tester</item>
<item>Quantity Divergence Tester</item>
</portal_type>
<portal_type id="Invoice Rule"> <portal_type id="Invoice Rule">
<item>Category Divergence Tester</item> <item>Category Divergence Tester</item>
<item>Property Divergence Tester</item> <item>Property Divergence Tester</item>
...@@ -55,6 +60,7 @@ ...@@ -55,6 +60,7 @@
<item>Purchase Invoice Transaction Line</item> <item>Purchase Invoice Transaction Line</item>
</portal_type> </portal_type>
<portal_type id="Rule Tool"> <portal_type id="Rule Tool">
<item>Invoice Root Simulation Rule</item>
<item>Invoice Rule</item> <item>Invoice Rule</item>
<item>Payment Rule</item> <item>Payment Rule</item>
</portal_type> </portal_type>
......
<?xml version="1.0"?>
<ZopeData>
<record id="1" aka="AAAAAAAAAAE=">
<pickle>
<tuple>
<global name="ERP5TypeInformation" module="Products.ERP5Type.ERP5Type"/>
<tuple/>
</tuple>
</pickle>
<pickle>
<dictionary>
<item>
<key> <string>acquire_local_roles</string> </key>
<value> <int>1</int> </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 Invoice Root Simulation Rule</string> </value>
</item>
<item>
<key> <string>description</string> </key>
<value> <string>Invoice Root Simulation Rule object makes sure an Invoice in the simulation is consistent with the real invoice.</string> </value>
</item>
<item>
<key> <string>factory</string> </key>
<value> <string>addInvoiceRootSimulationRule</string> </value>
</item>
<item>
<key> <string>filter_content_types</string> </key>
<value> <int>1</int> </value>
</item>
<item>
<key> <string>group_list</string> </key>
<value>
<tuple>
<string>rule</string>
</tuple>
</value>
</item>
<item>
<key> <string>id</string> </key>
<value> <string>Invoice Root Simulation Rule</string> </value>
</item>
<item>
<key> <string>init_script</string> </key>
<value> <string></string> </value>
</item>
<item>
<key> <string>permission</string> </key>
<value> <string></string> </value>
</item>
<item>
<key> <string>title</string> </key>
<value> <string></string> </value>
</item>
</dictionary>
</pickle>
</record>
</ZopeData>
...@@ -23,6 +23,10 @@ ...@@ -23,6 +23,10 @@
<type>Cash Register</type> <type>Cash Register</type>
<workflow>edit_workflow, validation_workflow</workflow> <workflow>edit_workflow, validation_workflow</workflow>
</chain> </chain>
<chain>
<type>Invoice Root Simulation Rule</type>
<workflow>edit_workflow, rule_validation_workflow</workflow>
</chain>
<chain> <chain>
<type>Invoice Rule</type> <type>Invoice Rule</type>
<workflow>edit_workflow, rule_validation_workflow</workflow> <workflow>edit_workflow, rule_validation_workflow</workflow>
......
...@@ -56,6 +56,7 @@ Cash Register | jump_active_accounting_pref ...@@ -56,6 +56,7 @@ Cash Register | jump_active_accounting_pref
Cash Register | transactions Cash Register | transactions
Cash Register | view Cash Register | view
Credit Card | transactions Credit Card | transactions
Invoice Root Simulation Rule | view
Invoice Rule | view Invoice Rule | view
Organisation | grouping_reference_fast_input Organisation | grouping_reference_fast_input
Organisation | jump_active_accounting_pref Organisation | jump_active_accounting_pref
......
...@@ -11,6 +11,9 @@ Accounting Transaction | Accounting Transaction Line ...@@ -11,6 +11,9 @@ Accounting Transaction | Accounting Transaction Line
Accounting Transaction | File Accounting Transaction | File
Accounting Transaction | Image Accounting Transaction | Image
Balance Transaction | Balance Transaction Line Balance Transaction | Balance Transaction Line
Invoice Root Simulation Rule | Category Divergence Tester
Invoice Root Simulation Rule | Property Divergence Tester
Invoice Root Simulation Rule | Quantity Divergence Tester
Invoice Rule | Category Divergence Tester Invoice Rule | Category Divergence Tester
Invoice Rule | Property Divergence Tester Invoice Rule | Property Divergence Tester
Invoice Rule | Quantity Divergence Tester Invoice Rule | Quantity Divergence Tester
......
...@@ -9,6 +9,7 @@ Accounting Transaction Module ...@@ -9,6 +9,7 @@ Accounting Transaction Module
Balance Transaction Balance Transaction
Balance Transaction Line Balance Transaction Line
Cash Register Cash Register
Invoice Root Simulation Rule
Invoice Rule Invoice Rule
Payment Rule Payment Rule
Payment Transaction Payment Transaction
......
...@@ -11,6 +11,8 @@ Balance Transaction | accounting_workflow ...@@ -11,6 +11,8 @@ Balance Transaction | accounting_workflow
Balance Transaction | edit_workflow Balance Transaction | edit_workflow
Cash Register | edit_workflow Cash Register | edit_workflow
Cash Register | validation_workflow Cash Register | validation_workflow
Invoice Root Simulation Rule | edit_workflow
Invoice Root Simulation Rule | rule_validation_workflow
Invoice Rule | edit_workflow Invoice Rule | edit_workflow
Invoice Rule | rule_validation_workflow Invoice Rule | rule_validation_workflow
Payment Rule | edit_workflow Payment Rule | edit_workflow
......
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