[Erp5-report] r35569 jerome - in /erp5/trunk/bt5/erp5_accounting: ActionTemplateItem/portal...

nobody at svn.erp5.org nobody at svn.erp5.org
Mon May 24 15:42:22 CEST 2010


Author: jerome
Date: Mon May 24 15:42:19 2010
New Revision: 35569

URL: http://svn.erp5.org?rev=35569&view=rev
Log:
Type and view for internal invoice transactions.
This is partial work, for now the form is not present and they are not available as allowed content types in accounting module.

Added:
    erp5/trunk/bt5/erp5_accounting/ActionTemplateItem/portal_types/Internal%20Invoice%20Transaction/
    erp5/trunk/bt5/erp5_accounting/ActionTemplateItem/portal_types/Internal%20Invoice%20Transaction%20Line/
    erp5/trunk/bt5/erp5_accounting/ActionTemplateItem/portal_types/Internal%20Invoice%20Transaction%20Line/view.xml
    erp5/trunk/bt5/erp5_accounting/ActionTemplateItem/portal_types/Internal%20Invoice%20Transaction/add_internal_invoice_transaction_line.xml
    erp5/trunk/bt5/erp5_accounting/ActionTemplateItem/portal_types/Internal%20Invoice%20Transaction/convert_destination_price.xml
    erp5/trunk/bt5/erp5_accounting/ActionTemplateItem/portal_types/Internal%20Invoice%20Transaction/convert_source_price.xml
    erp5/trunk/bt5/erp5_accounting/ActionTemplateItem/portal_types/Internal%20Invoice%20Transaction/create_new_file.xml
    erp5/trunk/bt5/erp5_accounting/ActionTemplateItem/portal_types/Internal%20Invoice%20Transaction/create_reversal.xml
    erp5/trunk/bt5/erp5_accounting/ActionTemplateItem/portal_types/Internal%20Invoice%20Transaction/destination_asset.xml
    erp5/trunk/bt5/erp5_accounting/ActionTemplateItem/portal_types/Internal%20Invoice%20Transaction/document_list.xml
    erp5/trunk/bt5/erp5_accounting/ActionTemplateItem/portal_types/Internal%20Invoice%20Transaction/jump_related_payment.xml
    erp5/trunk/bt5/erp5_accounting/ActionTemplateItem/portal_types/Internal%20Invoice%20Transaction/profile_view.xml
    erp5/trunk/bt5/erp5_accounting/ActionTemplateItem/portal_types/Internal%20Invoice%20Transaction/source_asset.xml
    erp5/trunk/bt5/erp5_accounting/ActionTemplateItem/portal_types/Internal%20Invoice%20Transaction/view.xml
    erp5/trunk/bt5/erp5_accounting/PortalTypeTemplateItem/portal_types/Internal%20Invoice%20Transaction%20Line.xml
    erp5/trunk/bt5/erp5_accounting/PortalTypeTemplateItem/portal_types/Internal%20Invoice%20Transaction.xml
Modified:
    erp5/trunk/bt5/erp5_accounting/PortalTypeAllowedContentTypeTemplateItem/allowed_content_types.xml
    erp5/trunk/bt5/erp5_accounting/PortalTypeBaseCategoryTemplateItem/base_category_list.xml
    erp5/trunk/bt5/erp5_accounting/PortalTypePropertySheetTemplateItem/property_sheet_list.xml
    erp5/trunk/bt5/erp5_accounting/PortalTypeWorkflowChainTemplateItem/workflow_chain_type.xml
    erp5/trunk/bt5/erp5_accounting/bt/revision
    erp5/trunk/bt5/erp5_accounting/bt/template_action_path_list
    erp5/trunk/bt5/erp5_accounting/bt/template_portal_type_allowed_content_type_list
    erp5/trunk/bt5/erp5_accounting/bt/template_portal_type_base_category_list
    erp5/trunk/bt5/erp5_accounting/bt/template_portal_type_id_list
    erp5/trunk/bt5/erp5_accounting/bt/template_portal_type_property_sheet_list
    erp5/trunk/bt5/erp5_accounting/bt/template_portal_type_workflow_chain_list

Added: erp5/trunk/bt5/erp5_accounting/ActionTemplateItem/portal_types/Internal%20Invoice%20Transaction%20Line/view.xml
URL: http://svn.erp5.org/erp5/trunk/bt5/erp5_accounting/ActionTemplateItem/portal_types/Internal%2520Invoice%2520Transaction%2520Line/view.xml?rev=35569&view=auto
==============================================================================
--- erp5/trunk/bt5/erp5_accounting/ActionTemplateItem/portal_types/Internal%20Invoice%20Transaction%20Line/view.xml (added)
+++ erp5/trunk/bt5/erp5_accounting/ActionTemplateItem/portal_types/Internal%20Invoice%20Transaction%20Line/view.xml [utf8] Mon May 24 15:42:19 2010
@@ -1,0 +1,85 @@
+<?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}/InternalInvoiceTransactionLine_view</string> </value>
+        </item>
+      </dictionary>
+    </pickle>
+  </record>
+</ZopeData>

Added: erp5/trunk/bt5/erp5_accounting/ActionTemplateItem/portal_types/Internal%20Invoice%20Transaction/add_internal_invoice_transaction_line.xml
URL: http://svn.erp5.org/erp5/trunk/bt5/erp5_accounting/ActionTemplateItem/portal_types/Internal%2520Invoice%2520Transaction/add_internal_invoice_transaction_line.xml?rev=35569&view=auto
==============================================================================
--- erp5/trunk/bt5/erp5_accounting/ActionTemplateItem/portal_types/Internal%20Invoice%20Transaction/add_internal_invoice_transaction_line.xml (added)
+++ erp5/trunk/bt5/erp5_accounting/ActionTemplateItem/portal_types/Internal%20Invoice%20Transaction/add_internal_invoice_transaction_line.xml [utf8] Mon May 24 15:42:19 2010
@@ -1,0 +1,87 @@
+<?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_action</string>
+              </tuple>
+            </value>
+        </item>
+        <item>
+            <key> <string>category</string> </key>
+            <value> <string>object_action</string> </value>
+        </item>
+        <item>
+            <key> <string>condition</string> </key>
+            <value> <string></string> </value>
+        </item>
+        <item>
+            <key> <string>description</string> </key>
+            <value>
+              <none/>
+            </value>
+        </item>
+        <item>
+            <key> <string>icon</string> </key>
+            <value> <string></string> </value>
+        </item>
+        <item>
+            <key> <string>id</string> </key>
+            <value> <string>add_internal_invoice_transaction_line</string> </value>
+        </item>
+        <item>
+            <key> <string>permissions</string> </key>
+            <value>
+              <tuple>
+                <string>Add portal content</string>
+              </tuple>
+            </value>
+        </item>
+        <item>
+            <key> <string>priority</string> </key>
+            <value> <float>11.0</float> </value>
+        </item>
+        <item>
+            <key> <string>title</string> </key>
+            <value> <string>Add Accounting Transaction Lines</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}/AccountingTransaction_viewAddAccountingTransactionLineDialog?portal_type=Internal+Invoice+Transaction+Line</string> </value>
+        </item>
+      </dictionary>
+    </pickle>
+  </record>
+</ZopeData>

Added: erp5/trunk/bt5/erp5_accounting/ActionTemplateItem/portal_types/Internal%20Invoice%20Transaction/convert_destination_price.xml
URL: http://svn.erp5.org/erp5/trunk/bt5/erp5_accounting/ActionTemplateItem/portal_types/Internal%2520Invoice%2520Transaction/convert_destination_price.xml?rev=35569&view=auto
==============================================================================
--- erp5/trunk/bt5/erp5_accounting/ActionTemplateItem/portal_types/Internal%20Invoice%20Transaction/convert_destination_price.xml (added)
+++ erp5/trunk/bt5/erp5_accounting/ActionTemplateItem/portal_types/Internal%20Invoice%20Transaction/convert_destination_price.xml [utf8] Mon May 24 15:42:19 2010
@@ -1,0 +1,103 @@
+<?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_action</string>
+              </tuple>
+            </value>
+        </item>
+        <item>
+            <key> <string>category</string> </key>
+            <value> <string>object_action</string> </value>
+        </item>
+        <item>
+            <key> <string>condition</string> </key>
+            <value>
+              <persistent> <string encoding="base64">AAAAAAAAAAM=</string> </persistent>
+            </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>convert_destination_price</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>15.0</float> </value>
+        </item>
+        <item>
+            <key> <string>title</string> </key>
+            <value> <string>Convert Destination Price</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}/AccountingTransaction_viewConvertDestinationPriceDialog</string> </value>
+        </item>
+      </dictionary>
+    </pickle>
+  </record>
+  <record id="3" aka="AAAAAAAAAAM=">
+    <pickle>
+      <tuple>
+        <global name="Expression" module="Products.CMFCore.Expression"/>
+        <tuple/>
+      </tuple>
+    </pickle>
+    <pickle>
+      <dictionary>
+        <item>
+            <key> <string>text</string> </key>
+            <value> <string>python:object.AccountingTransaction_isDestinationCurrencyConvertible()</string> </value>
+        </item>
+      </dictionary>
+    </pickle>
+  </record>
+</ZopeData>

Added: erp5/trunk/bt5/erp5_accounting/ActionTemplateItem/portal_types/Internal%20Invoice%20Transaction/convert_source_price.xml
URL: http://svn.erp5.org/erp5/trunk/bt5/erp5_accounting/ActionTemplateItem/portal_types/Internal%2520Invoice%2520Transaction/convert_source_price.xml?rev=35569&view=auto
==============================================================================
--- erp5/trunk/bt5/erp5_accounting/ActionTemplateItem/portal_types/Internal%20Invoice%20Transaction/convert_source_price.xml (added)
+++ erp5/trunk/bt5/erp5_accounting/ActionTemplateItem/portal_types/Internal%20Invoice%20Transaction/convert_source_price.xml [utf8] Mon May 24 15:42:19 2010
@@ -1,0 +1,103 @@
+<?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_action</string>
+              </tuple>
+            </value>
+        </item>
+        <item>
+            <key> <string>category</string> </key>
+            <value> <string>object_action</string> </value>
+        </item>
+        <item>
+            <key> <string>condition</string> </key>
+            <value>
+              <persistent> <string encoding="base64">AAAAAAAAAAM=</string> </persistent>
+            </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>convert_source_price</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>16.0</float> </value>
+        </item>
+        <item>
+            <key> <string>title</string> </key>
+            <value> <string>Convert Source Price</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}/AccountingTransaction_viewConvertSourcePriceDialog</string> </value>
+        </item>
+      </dictionary>
+    </pickle>
+  </record>
+  <record id="3" aka="AAAAAAAAAAM=">
+    <pickle>
+      <tuple>
+        <global name="Expression" module="Products.CMFCore.Expression"/>
+        <tuple/>
+      </tuple>
+    </pickle>
+    <pickle>
+      <dictionary>
+        <item>
+            <key> <string>text</string> </key>
+            <value> <string>python:object.AccountingTransaction_isSourceCurrencyConvertible()</string> </value>
+        </item>
+      </dictionary>
+    </pickle>
+  </record>
+</ZopeData>

Added: erp5/trunk/bt5/erp5_accounting/ActionTemplateItem/portal_types/Internal%20Invoice%20Transaction/create_new_file.xml
URL: http://svn.erp5.org/erp5/trunk/bt5/erp5_accounting/ActionTemplateItem/portal_types/Internal%2520Invoice%2520Transaction/create_new_file.xml?rev=35569&view=auto
==============================================================================
--- erp5/trunk/bt5/erp5_accounting/ActionTemplateItem/portal_types/Internal%20Invoice%20Transaction/create_new_file.xml (added)
+++ erp5/trunk/bt5/erp5_accounting/ActionTemplateItem/portal_types/Internal%20Invoice%20Transaction/create_new_file.xml [utf8] Mon May 24 15:42:19 2010
@@ -1,0 +1,103 @@
+<?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_button</string>
+              </tuple>
+            </value>
+        </item>
+        <item>
+            <key> <string>category</string> </key>
+            <value> <string>object_button</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>
+              <persistent> <string encoding="base64">AAAAAAAAAAM=</string> </persistent>
+            </value>
+        </item>
+        <item>
+            <key> <string>id</string> </key>
+            <value> <string>create_new_file</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>14.0</float> </value>
+        </item>
+        <item>
+            <key> <string>title</string> </key>
+            <value> <string>Attach Document</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}/Base_viewNewFileDialog</string> </value>
+        </item>
+      </dictionary>
+    </pickle>
+  </record>
+  <record id="3" aka="AAAAAAAAAAM=">
+    <pickle>
+      <tuple>
+        <global name="Expression" module="Products.CMFCore.Expression"/>
+        <tuple/>
+      </tuple>
+    </pickle>
+    <pickle>
+      <dictionary>
+        <item>
+            <key> <string>text</string> </key>
+            <value> <string>string:${portal_url}/images/attach.png</string> </value>
+        </item>
+      </dictionary>
+    </pickle>
+  </record>
+</ZopeData>

Added: erp5/trunk/bt5/erp5_accounting/ActionTemplateItem/portal_types/Internal%20Invoice%20Transaction/create_reversal.xml
URL: http://svn.erp5.org/erp5/trunk/bt5/erp5_accounting/ActionTemplateItem/portal_types/Internal%2520Invoice%2520Transaction/create_reversal.xml?rev=35569&view=auto
==============================================================================
--- erp5/trunk/bt5/erp5_accounting/ActionTemplateItem/portal_types/Internal%20Invoice%20Transaction/create_reversal.xml (added)
+++ erp5/trunk/bt5/erp5_accounting/ActionTemplateItem/portal_types/Internal%20Invoice%20Transaction/create_reversal.xml [utf8] Mon May 24 15:42:19 2010
@@ -1,0 +1,103 @@
+<?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_action</string>
+              </tuple>
+            </value>
+        </item>
+        <item>
+            <key> <string>category</string> </key>
+            <value> <string>object_action</string> </value>
+        </item>
+        <item>
+            <key> <string>condition</string> </key>
+            <value>
+              <persistent> <string encoding="base64">AAAAAAAAAAM=</string> </persistent>
+            </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>create_reversal</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>4.0</float> </value>
+        </item>
+        <item>
+            <key> <string>title</string> </key>
+            <value> <string>Create Reversal Transaction</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}/AccountingTransaction_createReversalTransaction</string> </value>
+        </item>
+      </dictionary>
+    </pickle>
+  </record>
+  <record id="3" aka="AAAAAAAAAAM=">
+    <pickle>
+      <tuple>
+        <global name="Expression" module="Products.CMFCore.Expression"/>
+        <tuple/>
+      </tuple>
+    </pickle>
+    <pickle>
+      <dictionary>
+        <item>
+            <key> <string>text</string> </key>
+            <value> <string>python:object.getSimulationState() in (\'delivered\', )</string> </value>
+        </item>
+      </dictionary>
+    </pickle>
+  </record>
+</ZopeData>

Added: erp5/trunk/bt5/erp5_accounting/ActionTemplateItem/portal_types/Internal%20Invoice%20Transaction/destination_asset.xml
URL: http://svn.erp5.org/erp5/trunk/bt5/erp5_accounting/ActionTemplateItem/portal_types/Internal%2520Invoice%2520Transaction/destination_asset.xml?rev=35569&view=auto
==============================================================================
--- erp5/trunk/bt5/erp5_accounting/ActionTemplateItem/portal_types/Internal%20Invoice%20Transaction/destination_asset.xml (added)
+++ erp5/trunk/bt5/erp5_accounting/ActionTemplateItem/portal_types/Internal%20Invoice%20Transaction/destination_asset.xml [utf8] Mon May 24 15:42:19 2010
@@ -1,0 +1,103 @@
+<?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>
+              <persistent> <string encoding="base64">AAAAAAAAAAM=</string> </persistent>
+            </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>destination_asset</string> </value>
+        </item>
+        <item>
+            <key> <string>permissions</string> </key>
+            <value>
+              <tuple>
+                <string>Modify portal content</string>
+              </tuple>
+            </value>
+        </item>
+        <item>
+            <key> <string>priority</string> </key>
+            <value> <float>9.0</float> </value>
+        </item>
+        <item>
+            <key> <string>title</string> </key>
+            <value> <string>Destination Conversion</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}/AccountingTransaction_viewDestinationAsset</string> </value>
+        </item>
+      </dictionary>
+    </pickle>
+  </record>
+  <record id="3" aka="AAAAAAAAAAM=">
+    <pickle>
+      <tuple>
+        <global name="Expression" module="Products.CMFCore.Expression"/>
+        <tuple/>
+      </tuple>
+    </pickle>
+    <pickle>
+      <dictionary>
+        <item>
+            <key> <string>text</string> </key>
+            <value> <string>python:object.AccountingTransaction_isDestinationCurrencyConvertible()</string> </value>
+        </item>
+      </dictionary>
+    </pickle>
+  </record>
+</ZopeData>

Added: erp5/trunk/bt5/erp5_accounting/ActionTemplateItem/portal_types/Internal%20Invoice%20Transaction/document_list.xml
URL: http://svn.erp5.org/erp5/trunk/bt5/erp5_accounting/ActionTemplateItem/portal_types/Internal%2520Invoice%2520Transaction/document_list.xml?rev=35569&view=auto
==============================================================================
--- erp5/trunk/bt5/erp5_accounting/ActionTemplateItem/portal_types/Internal%20Invoice%20Transaction/document_list.xml (added)
+++ erp5/trunk/bt5/erp5_accounting/ActionTemplateItem/portal_types/Internal%20Invoice%20Transaction/document_list.xml [utf8] Mon May 24 15:42:19 2010
@@ -1,0 +1,85 @@
+<?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>document_list</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>13.0</float> </value>
+        </item>
+        <item>
+            <key> <string>title</string> </key>
+            <value> <string>Documents</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}/Base_viewDocumentList</string> </value>
+        </item>
+      </dictionary>
+    </pickle>
+  </record>
+</ZopeData>

Added: erp5/trunk/bt5/erp5_accounting/ActionTemplateItem/portal_types/Internal%20Invoice%20Transaction/jump_related_payment.xml
URL: http://svn.erp5.org/erp5/trunk/bt5/erp5_accounting/ActionTemplateItem/portal_types/Internal%2520Invoice%2520Transaction/jump_related_payment.xml?rev=35569&view=auto
==============================================================================
--- erp5/trunk/bt5/erp5_accounting/ActionTemplateItem/portal_types/Internal%20Invoice%20Transaction/jump_related_payment.xml (added)
+++ erp5/trunk/bt5/erp5_accounting/ActionTemplateItem/portal_types/Internal%20Invoice%20Transaction/jump_related_payment.xml [utf8] Mon May 24 15:42:19 2010
@@ -1,0 +1,89 @@
+<?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_jump</string>
+              </tuple>
+            </value>
+        </item>
+        <item>
+            <key> <string>category</string> </key>
+            <value> <string>object_jump</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>jump_related_payment</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>9.0</float> </value>
+        </item>
+        <item>
+            <key> <string>title</string> </key>
+            <value> <string>Related Payment Transaction</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 encoding="cdata"><![CDATA[
+
+string:${object_url}/Base_jumpToRelatedObject?base_category=causality&portal_type:list=Payment+Transaction
+
+]]></string> </value>
+        </item>
+      </dictionary>
+    </pickle>
+  </record>
+</ZopeData>

Added: erp5/trunk/bt5/erp5_accounting/ActionTemplateItem/portal_types/Internal%20Invoice%20Transaction/profile_view.xml
URL: http://svn.erp5.org/erp5/trunk/bt5/erp5_accounting/ActionTemplateItem/portal_types/Internal%2520Invoice%2520Transaction/profile_view.xml?rev=35569&view=auto
==============================================================================
--- erp5/trunk/bt5/erp5_accounting/ActionTemplateItem/portal_types/Internal%20Invoice%20Transaction/profile_view.xml (added)
+++ erp5/trunk/bt5/erp5_accounting/ActionTemplateItem/portal_types/Internal%20Invoice%20Transaction/profile_view.xml [utf8] Mon May 24 15:42:19 2010
@@ -1,0 +1,85 @@
+<?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>profile_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>14.0</float> </value>
+        </item>
+        <item>
+            <key> <string>title</string> </key>
+            <value> <string>Profile</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}/PurchaseTradeCondition_viewProfile</string> </value>
+        </item>
+      </dictionary>
+    </pickle>
+  </record>
+</ZopeData>

Added: erp5/trunk/bt5/erp5_accounting/ActionTemplateItem/portal_types/Internal%20Invoice%20Transaction/source_asset.xml
URL: http://svn.erp5.org/erp5/trunk/bt5/erp5_accounting/ActionTemplateItem/portal_types/Internal%2520Invoice%2520Transaction/source_asset.xml?rev=35569&view=auto
==============================================================================
--- erp5/trunk/bt5/erp5_accounting/ActionTemplateItem/portal_types/Internal%20Invoice%20Transaction/source_asset.xml (added)
+++ erp5/trunk/bt5/erp5_accounting/ActionTemplateItem/portal_types/Internal%20Invoice%20Transaction/source_asset.xml [utf8] Mon May 24 15:42:19 2010
@@ -1,0 +1,103 @@
+<?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>
+              <persistent> <string encoding="base64">AAAAAAAAAAM=</string> </persistent>
+            </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>source_asset</string> </value>
+        </item>
+        <item>
+            <key> <string>permissions</string> </key>
+            <value>
+              <tuple>
+                <string>Modify portal content</string>
+              </tuple>
+            </value>
+        </item>
+        <item>
+            <key> <string>priority</string> </key>
+            <value> <float>8.0</float> </value>
+        </item>
+        <item>
+            <key> <string>title</string> </key>
+            <value> <string>Source Conversion</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}/AccountingTransaction_viewSourceAsset</string> </value>
+        </item>
+      </dictionary>
+    </pickle>
+  </record>
+  <record id="3" aka="AAAAAAAAAAM=">
+    <pickle>
+      <tuple>
+        <global name="Expression" module="Products.CMFCore.Expression"/>
+        <tuple/>
+      </tuple>
+    </pickle>
+    <pickle>
+      <dictionary>
+        <item>
+            <key> <string>text</string> </key>
+            <value> <string>python:object.AccountingTransaction_isSourceCurrencyConvertible()</string> </value>
+        </item>
+      </dictionary>
+    </pickle>
+  </record>
+</ZopeData>

Added: erp5/trunk/bt5/erp5_accounting/ActionTemplateItem/portal_types/Internal%20Invoice%20Transaction/view.xml
URL: http://svn.erp5.org/erp5/trunk/bt5/erp5_accounting/ActionTemplateItem/portal_types/Internal%2520Invoice%2520Transaction/view.xml?rev=35569&view=auto
==============================================================================
--- erp5/trunk/bt5/erp5_accounting/ActionTemplateItem/portal_types/Internal%20Invoice%20Transaction/view.xml (added)
+++ erp5/trunk/bt5/erp5_accounting/ActionTemplateItem/portal_types/Internal%20Invoice%20Transaction/view.xml [utf8] Mon May 24 15:42:19 2010
@@ -1,0 +1,85 @@
+<?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>Accounting 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}/InternalInvoiceTransaction_view</string> </value>
+        </item>
+      </dictionary>
+    </pickle>
+  </record>
+</ZopeData>

Modified: erp5/trunk/bt5/erp5_accounting/PortalTypeAllowedContentTypeTemplateItem/allowed_content_types.xml
URL: http://svn.erp5.org/erp5/trunk/bt5/erp5_accounting/PortalTypeAllowedContentTypeTemplateItem/allowed_content_types.xml?rev=35569&r1=35568&r2=35569&view=diff
==============================================================================
--- erp5/trunk/bt5/erp5_accounting/PortalTypeAllowedContentTypeTemplateItem/allowed_content_types.xml [utf8] (original)
+++ erp5/trunk/bt5/erp5_accounting/PortalTypeAllowedContentTypeTemplateItem/allowed_content_types.xml [utf8] Mon May 24 15:42:19 2010
@@ -28,6 +28,9 @@
  </portal_type>
  <portal_type id="Balance Transaction">
   <item>Balance Transaction Line</item>
+ </portal_type>
+ <portal_type id="Internal Invoice Transaction">
+  <item>Internal Invoice Transaction Line</item>
  </portal_type>
  <portal_type id="Invoice Root Simulation Rule">
   <item>Category Divergence Tester</item>

Modified: erp5/trunk/bt5/erp5_accounting/PortalTypeBaseCategoryTemplateItem/base_category_list.xml
URL: http://svn.erp5.org/erp5/trunk/bt5/erp5_accounting/PortalTypeBaseCategoryTemplateItem/base_category_list.xml?rev=35569&r1=35568&r2=35569&view=diff
==============================================================================
--- erp5/trunk/bt5/erp5_accounting/PortalTypeBaseCategoryTemplateItem/base_category_list.xml [utf8] (original)
+++ erp5/trunk/bt5/erp5_accounting/PortalTypeBaseCategoryTemplateItem/base_category_list.xml [utf8] Mon May 24 15:42:19 2010
@@ -5,4 +5,7 @@
  <portal_type id="Accounting Transaction Module">
   <item>business_application</item>
  </portal_type>
+ <portal_type id="Internal Invoice Transaction">
+  <item>specialise</item>
+ </portal_type>
 </base_category_list>

Modified: erp5/trunk/bt5/erp5_accounting/PortalTypePropertySheetTemplateItem/property_sheet_list.xml
URL: http://svn.erp5.org/erp5/trunk/bt5/erp5_accounting/PortalTypePropertySheetTemplateItem/property_sheet_list.xml?rev=35569&r1=35568&r2=35569&view=diff
==============================================================================
--- erp5/trunk/bt5/erp5_accounting/PortalTypePropertySheetTemplateItem/property_sheet_list.xml [utf8] (original)
+++ erp5/trunk/bt5/erp5_accounting/PortalTypePropertySheetTemplateItem/property_sheet_list.xml [utf8] Mon May 24 15:42:19 2010
@@ -11,6 +11,9 @@
  <portal_type id="Cash Register">
   <item>BankAccount</item>
  </portal_type>
+ <portal_type id="Internal Invoice Transaction">
+  <item>AccountingTransaction</item>
+ </portal_type>
  <portal_type id="Payment Transaction">
   <item>AccountingTransaction</item>
  </portal_type>

Added: erp5/trunk/bt5/erp5_accounting/PortalTypeTemplateItem/portal_types/Internal%20Invoice%20Transaction%20Line.xml
URL: http://svn.erp5.org/erp5/trunk/bt5/erp5_accounting/PortalTypeTemplateItem/portal_types/Internal%2520Invoice%2520Transaction%2520Line.xml?rev=35569&view=auto
==============================================================================
--- erp5/trunk/bt5/erp5_accounting/PortalTypeTemplateItem/portal_types/Internal%20Invoice%20Transaction%20Line.xml (added)
+++ erp5/trunk/bt5/erp5_accounting/PortalTypeTemplateItem/portal_types/Internal%20Invoice%20Transaction%20Line.xml [utf8] Mon May 24 15:42:19 2010
@@ -1,0 +1,68 @@
+<?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>organisation_icon.gif</string> </value>
+        </item>
+        <item>
+            <key> <string>content_meta_type</string> </key>
+            <value> <string>ERP5 Accounting Transaction Line</string> </value>
+        </item>
+        <item>
+            <key> <string>description</string> </key>
+            <value> <string>Those lines belong to Purchase Invoice Transactions and can be generated either when the related Sales Packing List is delivered, or by the accountant manually. Those lines will generate the accounting transaction lines of the accounting transaction.</string> </value>
+        </item>
+        <item>
+            <key> <string>factory</string> </key>
+            <value> <string>addAccountingTransactionLine</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>accounting_movement</string>
+                <string>delivery_movement</string>
+              </tuple>
+            </value>
+        </item>
+        <item>
+            <key> <string>id</string> </key>
+            <value> <string>Internal Invoice Transaction Line</string> </value>
+        </item>
+        <item>
+            <key> <string>init_script</string> </key>
+            <value>
+              <none/>
+            </value>
+        </item>
+        <item>
+            <key> <string>permission</string> </key>
+            <value>
+              <none/>
+            </value>
+        </item>
+        <item>
+            <key> <string>title</string> </key>
+            <value> <string></string> </value>
+        </item>
+      </dictionary>
+    </pickle>
+  </record>
+</ZopeData>

Added: erp5/trunk/bt5/erp5_accounting/PortalTypeTemplateItem/portal_types/Internal%20Invoice%20Transaction.xml
URL: http://svn.erp5.org/erp5/trunk/bt5/erp5_accounting/PortalTypeTemplateItem/portal_types/Internal%2520Invoice%2520Transaction.xml?rev=35569&view=auto
==============================================================================
--- erp5/trunk/bt5/erp5_accounting/PortalTypeTemplateItem/portal_types/Internal%20Invoice%20Transaction.xml (added)
+++ erp5/trunk/bt5/erp5_accounting/PortalTypeTemplateItem/portal_types/Internal%20Invoice%20Transaction.xml [utf8] Mon May 24 15:42:19 2010
@@ -1,0 +1,124 @@
+<?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>_property_domain_dict</string> </key>
+            <value>
+              <dictionary>
+                <item>
+                    <key> <string>short_title</string> </key>
+                    <value>
+                      <persistent> <string encoding="base64">AAAAAAAAAAI=</string> </persistent>
+                    </value>
+                </item>
+                <item>
+                    <key> <string>title</string> </key>
+                    <value>
+                      <persistent> <string encoding="base64">AAAAAAAAAAM=</string> </persistent>
+                    </value>
+                </item>
+              </dictionary>
+            </value>
+        </item>
+        <item>
+            <key> <string>acquire_local_roles</string> </key>
+            <value> <int>0</int> </value>
+        </item>
+        <item>
+            <key> <string>content_icon</string> </key>
+            <value> <string>organisation_icon.gif</string> </value>
+        </item>
+        <item>
+            <key> <string>content_meta_type</string> </key>
+            <value> <string>ERP5 Invoice</string> </value>
+        </item>
+        <item>
+            <key> <string>description</string> </key>
+            <value> <string>A Purchase Invoice Transaction combines in the same document a supplier invoice and the accounting transaction deriving from it. Purchase Invoice Transactions are normally generated automatically by ERP5 simulation from delivered Purchase Packing Lists or groups thereof and are set in planned state. Upon reception of a paper invoice, it is the task of the accountant to match it to an expected invoice in planned state or to enter it manually. Accounting transaction lines are generated automatically out of invoice lines through business rules yet can be modified by accountants to fit specific accounting cases.</string> </value>
+        </item>
+        <item>
+            <key> <string>factory</string> </key>
+            <value> <string>addInvoice</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>accounting_transaction</string>
+                <string>delivery</string>
+                <string>invoice</string>
+              </tuple>
+            </value>
+        </item>
+        <item>
+            <key> <string>id</string> </key>
+            <value> <string>Internal Invoice Transaction</string> </value>
+        </item>
+        <item>
+            <key> <string>init_script</string> </key>
+            <value> <string>InternalInvoiceTransaction_init</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>
+  <record id="2" aka="AAAAAAAAAAI=">
+    <pickle>
+      <tuple>
+        <global name="TranslationInformation" module="Products.ERP5Type.TranslationProviderBase"/>
+        <tuple/>
+      </tuple>
+    </pickle>
+    <pickle>
+      <dictionary>
+        <item>
+            <key> <string>domain_name</string> </key>
+            <value> <string>erp5_content</string> </value>
+        </item>
+        <item>
+            <key> <string>property_name</string> </key>
+            <value> <string>short_title</string> </value>
+        </item>
+      </dictionary>
+    </pickle>
+  </record>
+  <record id="3" aka="AAAAAAAAAAM=">
+    <pickle>
+      <tuple>
+        <global name="TranslationInformation" module="Products.ERP5Type.TranslationProviderBase"/>
+        <tuple/>
+      </tuple>
+    </pickle>
+    <pickle>
+      <dictionary>
+        <item>
+            <key> <string>domain_name</string> </key>
+            <value> <string>erp5_content</string> </value>
+        </item>
+        <item>
+            <key> <string>property_name</string> </key>
+            <value> <string>title</string> </value>
+        </item>
+      </dictionary>
+    </pickle>
+  </record>
+</ZopeData>

Modified: erp5/trunk/bt5/erp5_accounting/PortalTypeWorkflowChainTemplateItem/workflow_chain_type.xml
URL: http://svn.erp5.org/erp5/trunk/bt5/erp5_accounting/PortalTypeWorkflowChainTemplateItem/workflow_chain_type.xml?rev=35569&r1=35568&r2=35569&view=diff
==============================================================================
--- erp5/trunk/bt5/erp5_accounting/PortalTypeWorkflowChainTemplateItem/workflow_chain_type.xml [utf8] (original)
+++ erp5/trunk/bt5/erp5_accounting/PortalTypeWorkflowChainTemplateItem/workflow_chain_type.xml [utf8] Mon May 24 15:42:19 2010
@@ -26,6 +26,10 @@
  <chain>
   <type>Cash Register</type>
   <workflow>edit_workflow, validation_workflow</workflow>
+ </chain>
+ <chain>
+  <type>Internal Invoice Transaction</type>
+  <workflow>accounting_workflow</workflow>
  </chain>
  <chain>
   <type>Invoice Root Simulation Rule</type>

Modified: erp5/trunk/bt5/erp5_accounting/bt/revision
URL: http://svn.erp5.org/erp5/trunk/bt5/erp5_accounting/bt/revision?rev=35569&r1=35568&r2=35569&view=diff
==============================================================================
--- erp5/trunk/bt5/erp5_accounting/bt/revision [utf8] (original)
+++ erp5/trunk/bt5/erp5_accounting/bt/revision [utf8] Mon May 24 15:42:19 2010
@@ -1,1 +1,1 @@
-1220
+1221

Modified: erp5/trunk/bt5/erp5_accounting/bt/template_action_path_list
URL: http://svn.erp5.org/erp5/trunk/bt5/erp5_accounting/bt/template_action_path_list?rev=35569&r1=35568&r2=35569&view=diff
==============================================================================
--- erp5/trunk/bt5/erp5_accounting/bt/template_action_path_list [utf8] (original)
+++ erp5/trunk/bt5/erp5_accounting/bt/template_action_path_list [utf8] Mon May 24 15:42:19 2010
@@ -58,6 +58,18 @@
 Cash Register | transactions
 Cash Register | view
 Credit Card | transactions
+Internal Invoice Transaction Line | view
+Internal Invoice Transaction | add_internal_invoice_transaction_line
+Internal Invoice Transaction | convert_destination_price
+Internal Invoice Transaction | convert_source_price
+Internal Invoice Transaction | create_new_file
+Internal Invoice Transaction | create_reversal
+Internal Invoice Transaction | destination_asset
+Internal Invoice Transaction | document_list
+Internal Invoice Transaction | jump_related_payment
+Internal Invoice Transaction | profile_view
+Internal Invoice Transaction | source_asset
+Internal Invoice Transaction | view
 Invoice Root Simulation Rule | view
 Invoice Rule | view
 Organisation | grouping_reference_fast_input

Modified: erp5/trunk/bt5/erp5_accounting/bt/template_portal_type_allowed_content_type_list
URL: http://svn.erp5.org/erp5/trunk/bt5/erp5_accounting/bt/template_portal_type_allowed_content_type_list?rev=35569&r1=35568&r2=35569&view=diff
==============================================================================
--- erp5/trunk/bt5/erp5_accounting/bt/template_portal_type_allowed_content_type_list [utf8] (original)
+++ erp5/trunk/bt5/erp5_accounting/bt/template_portal_type_allowed_content_type_list [utf8] Mon May 24 15:42:19 2010
@@ -14,6 +14,7 @@
 Accounting Transaction | File
 Accounting Transaction | Image
 Balance Transaction | Balance Transaction Line
+Internal Invoice Transaction | Internal Invoice Transaction Line
 Invoice Root Simulation Rule | Category Divergence Tester
 Invoice Root Simulation Rule | Property Divergence Tester
 Invoice Root Simulation Rule | Quantity Divergence Tester

Modified: erp5/trunk/bt5/erp5_accounting/bt/template_portal_type_base_category_list
URL: http://svn.erp5.org/erp5/trunk/bt5/erp5_accounting/bt/template_portal_type_base_category_list?rev=35569&r1=35568&r2=35569&view=diff
==============================================================================
--- erp5/trunk/bt5/erp5_accounting/bt/template_portal_type_base_category_list [utf8] (original)
+++ erp5/trunk/bt5/erp5_accounting/bt/template_portal_type_base_category_list [utf8] Mon May 24 15:42:19 2010
@@ -1,2 +1,3 @@
 Account Module | business_application
-Accounting Transaction Module | business_application
+Accounting Transaction Module | business_application
+Internal Invoice Transaction | specialise

Modified: erp5/trunk/bt5/erp5_accounting/bt/template_portal_type_id_list
URL: http://svn.erp5.org/erp5/trunk/bt5/erp5_accounting/bt/template_portal_type_id_list?rev=35569&r1=35568&r2=35569&view=diff
==============================================================================
--- erp5/trunk/bt5/erp5_accounting/bt/template_portal_type_id_list [utf8] (original)
+++ erp5/trunk/bt5/erp5_accounting/bt/template_portal_type_id_list [utf8] Mon May 24 15:42:19 2010
@@ -10,6 +10,8 @@
 Balance Transaction
 Balance Transaction Line
 Cash Register
+Internal Invoice Transaction
+Internal Invoice Transaction Line
 Invoice Root Simulation Rule
 Invoice Rule
 Payment Rule

Modified: erp5/trunk/bt5/erp5_accounting/bt/template_portal_type_property_sheet_list
URL: http://svn.erp5.org/erp5/trunk/bt5/erp5_accounting/bt/template_portal_type_property_sheet_list?rev=35569&r1=35568&r2=35569&view=diff
==============================================================================
--- erp5/trunk/bt5/erp5_accounting/bt/template_portal_type_property_sheet_list [utf8] (original)
+++ erp5/trunk/bt5/erp5_accounting/bt/template_portal_type_property_sheet_list [utf8] Mon May 24 15:42:19 2010
@@ -2,6 +2,7 @@
 Accounting Transaction | AccountingTransaction
 Balance Transaction | AccountingTransaction
 Cash Register | BankAccount
+Internal Invoice Transaction | AccountingTransaction
 Payment Transaction | AccountingTransaction
 Purchase Invoice Transaction | AccountingTransaction
 Sale Invoice Transaction | AccountingTransaction

Modified: erp5/trunk/bt5/erp5_accounting/bt/template_portal_type_workflow_chain_list
URL: http://svn.erp5.org/erp5/trunk/bt5/erp5_accounting/bt/template_portal_type_workflow_chain_list?rev=35569&r1=35568&r2=35569&view=diff
==============================================================================
--- erp5/trunk/bt5/erp5_accounting/bt/template_portal_type_workflow_chain_list [utf8] (original)
+++ erp5/trunk/bt5/erp5_accounting/bt/template_portal_type_workflow_chain_list [utf8] Mon May 24 15:42:19 2010
@@ -16,6 +16,7 @@
 Balance Transaction | edit_workflow
 Cash Register | edit_workflow
 Cash Register | validation_workflow
+Internal Invoice Transaction | accounting_workflow
 Invoice Root Simulation Rule | edit_workflow
 Invoice Root Simulation Rule | rule_validation_workflow
 Invoice Rule | edit_workflow




More information about the Erp5-report mailing list