diff --git a/bt5/erp5_banking_cash/ActionTemplateItem/portal_types/Monetary%20Destruction%20Cell/metadata.xml b/bt5/erp5_banking_cash/ActionTemplateItem/portal_types/Monetary%20Destruction%20Cell/metadata.xml new file mode 100644 index 0000000000000000000000000000000000000000..28433ca18ebe5f743f0aacffb611c7210c2190bb --- /dev/null +++ b/bt5/erp5_banking_cash/ActionTemplateItem/portal_types/Monetary%20Destruction%20Cell/metadata.xml @@ -0,0 +1,86 @@ +<?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>__ac_local_roles__</string> </key> + <value> + <none/> + </value> + </item> + <item> + <key> <string>action</string> </key> + <value> + <persistent> <string encoding="base64">AAAAAAAAAAI=</string> </persistent> + </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>metadata</string> </value> + </item> + <item> + <key> <string>permissions</string> </key> + <value> + <tuple> + <string>Manage portal</string> + </tuple> + </value> + </item> + <item> + <key> <string>priority</string> </key> + <value> <float>3.0</float> </value> + </item> + <item> + <key> <string>title</string> </key> + <value> <string>Metadata</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> + <tuple> + <string>Products.CMFCore.Expression</string> + <string>Expression</string> + </tuple> + <none/> + </tuple> + </pickle> + <pickle> + <dictionary> + <item> + <key> <string>text</string> </key> + <value> <string>string:${object_url}/Base_viewMetadata</string> </value> + </item> + </dictionary> + </pickle> + </record> +</ZopeData> diff --git a/bt5/erp5_banking_cash/ActionTemplateItem/portal_types/Monetary%20Destruction%20Cell/view.xml b/bt5/erp5_banking_cash/ActionTemplateItem/portal_types/Monetary%20Destruction%20Cell/view.xml new file mode 100644 index 0000000000000000000000000000000000000000..750ed626d4ef3e5892df2ea7e9b45cca3996c0f5 --- /dev/null +++ b/bt5/erp5_banking_cash/ActionTemplateItem/portal_types/Monetary%20Destruction%20Cell/view.xml @@ -0,0 +1,86 @@ +<?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>__ac_local_roles__</string> </key> + <value> + <none/> + </value> + </item> + <item> + <key> <string>action</string> </key> + <value> + <persistent> <string encoding="base64">AAAAAAAAAAI=</string> </persistent> + </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> + <tuple> + <string>Products.CMFCore.Expression</string> + <string>Expression</string> + </tuple> + <none/> + </tuple> + </pickle> + <pickle> + <dictionary> + <item> + <key> <string>text</string> </key> + <value> <string>string:${object_url}/DeliveryCell_view</string> </value> + </item> + </dictionary> + </pickle> + </record> +</ZopeData> diff --git a/bt5/erp5_banking_cash/ActionTemplateItem/portal_types/Monetary%20Destruction%20Line/metadata.xml b/bt5/erp5_banking_cash/ActionTemplateItem/portal_types/Monetary%20Destruction%20Line/metadata.xml new file mode 100644 index 0000000000000000000000000000000000000000..28433ca18ebe5f743f0aacffb611c7210c2190bb --- /dev/null +++ b/bt5/erp5_banking_cash/ActionTemplateItem/portal_types/Monetary%20Destruction%20Line/metadata.xml @@ -0,0 +1,86 @@ +<?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>__ac_local_roles__</string> </key> + <value> + <none/> + </value> + </item> + <item> + <key> <string>action</string> </key> + <value> + <persistent> <string encoding="base64">AAAAAAAAAAI=</string> </persistent> + </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>metadata</string> </value> + </item> + <item> + <key> <string>permissions</string> </key> + <value> + <tuple> + <string>Manage portal</string> + </tuple> + </value> + </item> + <item> + <key> <string>priority</string> </key> + <value> <float>3.0</float> </value> + </item> + <item> + <key> <string>title</string> </key> + <value> <string>Metadata</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> + <tuple> + <string>Products.CMFCore.Expression</string> + <string>Expression</string> + </tuple> + <none/> + </tuple> + </pickle> + <pickle> + <dictionary> + <item> + <key> <string>text</string> </key> + <value> <string>string:${object_url}/Base_viewMetadata</string> </value> + </item> + </dictionary> + </pickle> + </record> +</ZopeData> diff --git a/bt5/erp5_banking_cash/ActionTemplateItem/portal_types/Monetary%20Destruction%20Line/print.xml b/bt5/erp5_banking_cash/ActionTemplateItem/portal_types/Monetary%20Destruction%20Line/print.xml new file mode 100644 index 0000000000000000000000000000000000000000..2ad1817795f1a8a34d27312fd6309d73e21487d6 --- /dev/null +++ b/bt5/erp5_banking_cash/ActionTemplateItem/portal_types/Monetary%20Destruction%20Line/print.xml @@ -0,0 +1,86 @@ +<?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>__ac_local_roles__</string> </key> + <value> + <none/> + </value> + </item> + <item> + <key> <string>action</string> </key> + <value> + <persistent> <string encoding="base64">AAAAAAAAAAI=</string> </persistent> + </value> + </item> + <item> + <key> <string>category</string> </key> + <value> <string>object_print</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>print</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>2.0</float> </value> + </item> + <item> + <key> <string>title</string> </key> + <value> <string>Print</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> + <tuple> + <string>Products.CMFCore.Expression</string> + <string>Expression</string> + </tuple> + <none/> + </tuple> + </pickle> + <pickle> + <dictionary> + <item> + <key> <string>text</string> </key> + <value> <string>string:${object_url}/Base_printPdf</string> </value> + </item> + </dictionary> + </pickle> + </record> +</ZopeData> diff --git a/bt5/erp5_banking_cash/ActionTemplateItem/portal_types/Monetary%20Destruction%20Line/view.xml b/bt5/erp5_banking_cash/ActionTemplateItem/portal_types/Monetary%20Destruction%20Line/view.xml new file mode 100644 index 0000000000000000000000000000000000000000..6a50da770606bb37b0700f235f481f7214f42d3c --- /dev/null +++ b/bt5/erp5_banking_cash/ActionTemplateItem/portal_types/Monetary%20Destruction%20Line/view.xml @@ -0,0 +1,86 @@ +<?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>__ac_local_roles__</string> </key> + <value> + <none/> + </value> + </item> + <item> + <key> <string>action</string> </key> + <value> + <persistent> <string encoding="base64">AAAAAAAAAAI=</string> </persistent> + </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> + <tuple> + <string>Products.CMFCore.Expression</string> + <string>Expression</string> + </tuple> + <none/> + </tuple> + </pickle> + <pickle> + <dictionary> + <item> + <key> <string>text</string> </key> + <value> <string>string:${object_url}/CashDeliveryLine_view</string> </value> + </item> + </dictionary> + </pickle> + </record> +</ZopeData> diff --git a/bt5/erp5_banking_cash/PortalTypeAllowedContentTypeTemplateItem/allowed_content_types.xml b/bt5/erp5_banking_cash/PortalTypeAllowedContentTypeTemplateItem/allowed_content_types.xml index 97f8ca56d2444b08071c2631a75a3a3fec1a2c28..a76ca777e6667a1dac3340e17575edeb9683a53b 100644 --- a/bt5/erp5_banking_cash/PortalTypeAllowedContentTypeTemplateItem/allowed_content_types.xml +++ b/bt5/erp5_banking_cash/PortalTypeAllowedContentTypeTemplateItem/allowed_content_types.xml @@ -107,7 +107,10 @@ <item>Internal Money Deposit</item> </portal_type> <portal_type id="Monetary Destruction"> - <item>Cash Delivery Line</item> + <item>Monetary Destruction Line</item> + </portal_type> + <portal_type id="Monetary Destruction Line"> + <item>Monetary Destruction Cell</item> </portal_type> <portal_type id="Monetary Destruction Module"> <item>Monetary Destruction</item> diff --git a/bt5/erp5_banking_cash/PortalTypeBaseCategoryTemplateItem/base_category_list.xml b/bt5/erp5_banking_cash/PortalTypeBaseCategoryTemplateItem/base_category_list.xml index 30e3adf2a74b05880f76bcfd75a2fc9e192bdd8c..58f5224ba11e5f0085aa979584d2d2aff82eda27 100644 --- a/bt5/erp5_banking_cash/PortalTypeBaseCategoryTemplateItem/base_category_list.xml +++ b/bt5/erp5_banking_cash/PortalTypeBaseCategoryTemplateItem/base_category_list.xml @@ -27,6 +27,9 @@ <portal_type id="Internal Money Deposit"> <item>external_software</item> </portal_type> + <portal_type id="Monetary Destruction Cell"> + <item>variation</item> + </portal_type> <portal_type id="Monetary Recall Cell"> <item>variation</item> </portal_type> diff --git a/bt5/erp5_banking_cash/PortalTypeHiddenContentTypeTemplateItem/hidden_content_type_list.xml b/bt5/erp5_banking_cash/PortalTypeHiddenContentTypeTemplateItem/hidden_content_type_list.xml index f0c153a4c3bedda2a3c20f41b827657a86d0c200..d73cf9472dd1a09f2e18d37d066ae57eef7572f1 100644 --- a/bt5/erp5_banking_cash/PortalTypeHiddenContentTypeTemplateItem/hidden_content_type_list.xml +++ b/bt5/erp5_banking_cash/PortalTypeHiddenContentTypeTemplateItem/hidden_content_type_list.xml @@ -69,7 +69,10 @@ <item>Banking Operation Line</item> </portal_type> <portal_type id="Monetary Destruction"> - <item>Cash Delivery Line</item> + <item>Monetary Destruction Line</item> + </portal_type> + <portal_type id="Monetary Destruction Line"> + <item>Monetary Destruction Cell</item> </portal_type> <portal_type id="Monetary Issue"> <item>Monetary Issue Container</item> diff --git a/bt5/erp5_banking_cash/PortalTypePropertySheetTemplateItem/property_sheet_list.xml b/bt5/erp5_banking_cash/PortalTypePropertySheetTemplateItem/property_sheet_list.xml index 1af855380b5003493eaca52c23f8ef1a69c1d009..93048631eab088019cb6ae0e258fabfa89f8b4d1 100644 --- a/bt5/erp5_banking_cash/PortalTypePropertySheetTemplateItem/property_sheet_list.xml +++ b/bt5/erp5_banking_cash/PortalTypePropertySheetTemplateItem/property_sheet_list.xml @@ -82,6 +82,12 @@ <item>Price</item> <item>Task</item> </portal_type> + <portal_type id="Monetary Destruction Cell"> + <item>Cash Delivery Line</item> + </portal_type> + <portal_type id="Monetary Destruction Line"> + <item>Cash Delivery Line</item> + </portal_type> <portal_type id="Monetary Issue"> <item>Price</item> <item>Amount</item> diff --git a/bt5/erp5_banking_cash/PortalTypeTemplateItem/portal_types/Monetary%20Destruction%20Cell.xml b/bt5/erp5_banking_cash/PortalTypeTemplateItem/portal_types/Monetary%20Destruction%20Cell.xml new file mode 100644 index 0000000000000000000000000000000000000000..8afea97278389af1c68d871a4b320775de4cd087 --- /dev/null +++ b/bt5/erp5_banking_cash/PortalTypeTemplateItem/portal_types/Monetary%20Destruction%20Cell.xml @@ -0,0 +1,118 @@ +<?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>__ac_local_roles__</string> </key> + <value> + <none/> + </value> + </item> + <item> + <key> <string>_actions</string> </key> + <value> + <tuple/> + </value> + </item> + <item> + <key> <string>_aliases</string> </key> + <value> + <dictionary/> + </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>acquire_local_roles</string> </key> + <value> <int>1</int> </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>order_line_icon.gif</string> </value> + </item> + <item> + <key> <string>content_meta_type</string> </key> + <value> <string>ERP5Banking Cash Delivery Cell</string> </value> + </item> + <item> + <key> <string>description</string> </key> + <value> <string>Une ligne tarifaire.</string> </value> + </item> + <item> + <key> <string>factory</string> </key> + <value> <string>addCashDeliveryCell</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>delivery_movement</string> + <string>order_movement</string> + </tuple> + </value> + </item> + <item> + <key> <string>hidden_content_type_list</string> </key> + <value> + <tuple/> + </value> + </item> + <item> + <key> <string>id</string> </key> + <value> <string>Monetary Destruction Cell</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>property_sheet_list</string> </key> + <value> + <tuple/> + </value> + </item> + <item> + <key> <string>title</string> </key> + <value> <string></string> </value> + </item> + </dictionary> + </pickle> + </record> +</ZopeData> diff --git a/bt5/erp5_banking_cash/PortalTypeTemplateItem/portal_types/Monetary%20Destruction%20Line.xml b/bt5/erp5_banking_cash/PortalTypeTemplateItem/portal_types/Monetary%20Destruction%20Line.xml new file mode 100644 index 0000000000000000000000000000000000000000..3dd84f6f1dd5dade25631393b97ded8b394da48b --- /dev/null +++ b/bt5/erp5_banking_cash/PortalTypeTemplateItem/portal_types/Monetary%20Destruction%20Line.xml @@ -0,0 +1,122 @@ +<?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>__ac_local_roles__</string> </key> + <value> + <none/> + </value> + </item> + <item> + <key> <string>_actions</string> </key> + <value> + <tuple/> + </value> + </item> + <item> + <key> <string>_aliases</string> </key> + <value> + <dictionary/> + </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>acquire_local_roles</string> </key> + <value> <int>1</int> </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>ERP5Banking Cash Delivery Line</string> </value> + </item> + <item> + <key> <string>description</string> </key> + <value> <string> A DeliveryLine object allows to implement lines in\n + Deliveries (packing list, order, invoice, etc.)\n +\n + It may include a price (for insurance, for customs, for invoices,\n + for orders)\n +</string> </value> + </item> + <item> + <key> <string>factory</string> </key> + <value> <string>addCashDeliveryLine</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>delivery_movement</string> + </tuple> + </value> + </item> + <item> + <key> <string>hidden_content_type_list</string> </key> + <value> + <tuple/> + </value> + </item> + <item> + <key> <string>id</string> </key> + <value> <string>Monetary Destruction Line</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>property_sheet_list</string> </key> + <value> + <tuple/> + </value> + </item> + <item> + <key> <string>title</string> </key> + <value> <string></string> </value> + </item> + </dictionary> + </pickle> + </record> +</ZopeData> diff --git a/bt5/erp5_banking_cash/PortalTypeTemplateItem/portal_types/Monetary%20Destruction.xml b/bt5/erp5_banking_cash/PortalTypeTemplateItem/portal_types/Monetary%20Destruction.xml index 71b4cb06dbfd30042cc08e6ac36e332ff447419b..a592d67da21143dab6aad18a99fba17c0ffd5610 100644 --- a/bt5/erp5_banking_cash/PortalTypeTemplateItem/portal_types/Monetary%20Destruction.xml +++ b/bt5/erp5_banking_cash/PortalTypeTemplateItem/portal_types/Monetary%20Destruction.xml @@ -103,6 +103,10 @@ <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>property_sheet_list</string> </key> <value> diff --git a/bt5/erp5_banking_cash/SkinTemplateItem/portal_skins/erp5_banking_cash/MonetaryDestructionCell_getBaobabDestinationVariationText.xml b/bt5/erp5_banking_cash/SkinTemplateItem/portal_skins/erp5_banking_cash/MonetaryDestructionCell_getBaobabDestinationVariationText.xml new file mode 100644 index 0000000000000000000000000000000000000000..6765a8f05062ce5818f4348b756ccc1335ccce10 --- /dev/null +++ b/bt5/erp5_banking_cash/SkinTemplateItem/portal_skins/erp5_banking_cash/MonetaryDestructionCell_getBaobabDestinationVariationText.xml @@ -0,0 +1,152 @@ +<?xml version="1.0"?> +<ZopeData> + <record id="1" aka="AAAAAAAAAAE="> + <pickle> + <tuple> + <global name="PythonScript" module="Products.PythonScripts.PythonScript"/> + <tuple/> + </tuple> + </pickle> + <pickle> + <dictionary> + <item> + <key> <string>Python_magic</string> </key> + <value> + <none/> + </value> + </item> + <item> + <key> <string>Script_magic</string> </key> + <value> <int>3</int> </value> + </item> + <item> + <key> <string>__ac_local_roles__</string> </key> + <value> + <none/> + </value> + </item> + <item> + <key> <string>_bind_names</string> </key> + <value> + <object> + <klass> + <global name="NameAssignments" module="Shared.DC.Scripts.Bindings"/> + </klass> + <tuple/> + <state> + <dictionary> + <item> + <key> <string>_asgns</string> </key> + <value> + <dictionary> + <item> + <key> <string>name_container</string> </key> + <value> <string>container</string> </value> + </item> + <item> + <key> <string>name_context</string> </key> + <value> <string>context</string> </value> + </item> + <item> + <key> <string>name_m_self</string> </key> + <value> <string>script</string> </value> + </item> + <item> + <key> <string>name_subpath</string> </key> + <value> <string>traverse_subpath</string> </value> + </item> + </dictionary> + </value> + </item> + </dictionary> + </state> + </object> + </value> + </item> + <item> + <key> <string>_body</string> </key> + <value> <string>variation = context.getVariationText()\n +result = variation.replace(\'retired\', \'new_not_emitted\')\n +return result\n +</string> </value> + </item> + <item> + <key> <string>_code</string> </key> + <value> + <none/> + </value> + </item> + <item> + <key> <string>_filepath</string> </key> + <value> + <none/> + </value> + </item> + <item> + <key> <string>_owner</string> </key> + <value> + <none/> + </value> + </item> + <item> + <key> <string>_params</string> </key> + <value> <string>*args, **kwd</string> </value> + </item> + <item> + <key> <string>errors</string> </key> + <value> + <tuple/> + </value> + </item> + <item> + <key> <string>func_code</string> </key> + <value> + <object> + <klass> + <global name="FuncCode" module="Shared.DC.Scripts.Signature"/> + </klass> + <tuple/> + <state> + <dictionary> + <item> + <key> <string>co_argcount</string> </key> + <value> <int>0</int> </value> + </item> + <item> + <key> <string>co_varnames</string> </key> + <value> + <tuple> + <string>args</string> + <string>kwd</string> + <string>_getattr_</string> + <string>context</string> + <string>variation</string> + <string>result</string> + </tuple> + </value> + </item> + </dictionary> + </state> + </object> + </value> + </item> + <item> + <key> <string>func_defaults</string> </key> + <value> + <none/> + </value> + </item> + <item> + <key> <string>id</string> </key> + <value> <string>MonetaryDestructionCell_getBaobabDestinationVariationText</string> </value> + </item> + <item> + <key> <string>warnings</string> </key> + <value> + <tuple/> + </value> + </item> + </dictionary> + </pickle> + </record> +</ZopeData> diff --git a/bt5/erp5_banking_cash/SkinTemplateItem/portal_skins/erp5_banking_cash/MonetaryDestructionLine_getBaobabDestination.xml b/bt5/erp5_banking_cash/SkinTemplateItem/portal_skins/erp5_banking_cash/MonetaryDestructionLine_getBaobabDestination.xml new file mode 100644 index 0000000000000000000000000000000000000000..03c1a83b893f25e45a47425a8004ffbc5eef0e1a --- /dev/null +++ b/bt5/erp5_banking_cash/SkinTemplateItem/portal_skins/erp5_banking_cash/MonetaryDestructionLine_getBaobabDestination.xml @@ -0,0 +1,167 @@ +<?xml version="1.0"?> +<ZopeData> + <record id="1" aka="AAAAAAAAAAE="> + <pickle> + <tuple> + <global name="PythonScript" module="Products.PythonScripts.PythonScript"/> + <tuple/> + </tuple> + </pickle> + <pickle> + <dictionary> + <item> + <key> <string>Python_magic</string> </key> + <value> + <none/> + </value> + </item> + <item> + <key> <string>Script_magic</string> </key> + <value> <int>3</int> </value> + </item> + <item> + <key> <string>__ac_local_roles__</string> </key> + <value> + <none/> + </value> + </item> + <item> + <key> <string>_bind_names</string> </key> + <value> + <object> + <klass> + <global name="NameAssignments" module="Shared.DC.Scripts.Bindings"/> + </klass> + <tuple/> + <state> + <dictionary> + <item> + <key> <string>_asgns</string> </key> + <value> + <dictionary> + <item> + <key> <string>name_container</string> </key> + <value> <string>container</string> </value> + </item> + <item> + <key> <string>name_context</string> </key> + <value> <string>context</string> </value> + </item> + <item> + <key> <string>name_m_self</string> </key> + <value> <string>script</string> </value> + </item> + <item> + <key> <string>name_subpath</string> </key> + <value> <string>traverse_subpath</string> </value> + </item> + </dictionary> + </value> + </item> + </dictionary> + </state> + </object> + </value> + </item> + <item> + <key> <string>_body</string> </key> + <value> <string># By default, the destination of a monetary destruction must\n +# be None in order to destroy ressources\n +destination = None\n +\n +if context.getParentValue().isDematerialization() \\\n + and context.getSource() is not None \\\n + and context.getSourceSection() is not None:\n + # We must in this case set the destination to a particular vault\n + site = context.Baobab_getVaultSite(context.getSource())\n + site_relative_url = site.getRelativeUrl()\n + section_id = context.getSourceSectionId()\n + destination = "%s/%s/%s" % (site_relative_url,\n + "caveau/serre/encaisse_des_billets_neufs_non_emis_en_transit_allant_a",\n + section_id)\n +return destination\n +</string> </value> + </item> + <item> + <key> <string>_code</string> </key> + <value> + <none/> + </value> + </item> + <item> + <key> <string>_filepath</string> </key> + <value> + <none/> + </value> + </item> + <item> + <key> <string>_owner</string> </key> + <value> + <none/> + </value> + </item> + <item> + <key> <string>_params</string> </key> + <value> <string>*args, **kw</string> </value> + </item> + <item> + <key> <string>errors</string> </key> + <value> + <tuple/> + </value> + </item> + <item> + <key> <string>func_code</string> </key> + <value> + <object> + <klass> + <global name="FuncCode" module="Shared.DC.Scripts.Signature"/> + </klass> + <tuple/> + <state> + <dictionary> + <item> + <key> <string>co_argcount</string> </key> + <value> <int>0</int> </value> + </item> + <item> + <key> <string>co_varnames</string> </key> + <value> + <tuple> + <string>args</string> + <string>kw</string> + <string>None</string> + <string>destination</string> + <string>_getattr_</string> + <string>context</string> + <string>site</string> + <string>site_relative_url</string> + <string>section_id</string> + </tuple> + </value> + </item> + </dictionary> + </state> + </object> + </value> + </item> + <item> + <key> <string>func_defaults</string> </key> + <value> + <none/> + </value> + </item> + <item> + <key> <string>id</string> </key> + <value> <string>MonetaryDestructionLine_getBaobabDestination</string> </value> + </item> + <item> + <key> <string>warnings</string> </key> + <value> + <tuple/> + </value> + </item> + </dictionary> + </pickle> + </record> +</ZopeData> diff --git a/bt5/erp5_banking_cash/SkinTemplateItem/portal_skins/erp5_banking_cash/MonetaryDestruction_view.xml b/bt5/erp5_banking_cash/SkinTemplateItem/portal_skins/erp5_banking_cash/MonetaryDestruction_view.xml index df71881d23e8f8607262c64b75ad078cb561479e..7fe9c01892b66d083af70adbd2d24ccafff70467 100644 --- a/bt5/erp5_banking_cash/SkinTemplateItem/portal_skins/erp5_banking_cash/MonetaryDestruction_view.xml +++ b/bt5/erp5_banking_cash/SkinTemplateItem/portal_skins/erp5_banking_cash/MonetaryDestruction_view.xml @@ -110,6 +110,7 @@ <string>my_source</string> <string>my_source_section</string> <string>my_source_total_asset_price</string> + <string>my_dematerialization</string> </list> </value> </item> diff --git a/bt5/erp5_banking_cash/SkinTemplateItem/portal_skins/erp5_banking_cash/MonetaryDestruction_view/listbox.xml b/bt5/erp5_banking_cash/SkinTemplateItem/portal_skins/erp5_banking_cash/MonetaryDestruction_view/listbox.xml index dd95e9657e2596907647df06bc6312219b45b1ad..f85c0becd31645f382776e59493b8499898481e6 100644 --- a/bt5/erp5_banking_cash/SkinTemplateItem/portal_skins/erp5_banking_cash/MonetaryDestruction_view/listbox.xml +++ b/bt5/erp5_banking_cash/SkinTemplateItem/portal_skins/erp5_banking_cash/MonetaryDestruction_view/listbox.xml @@ -448,17 +448,21 @@ <list/> </value> </item> + <item> + <key> <string>page_template</string> </key> + <value> <string></string> </value> + </item> <item> <key> <string>portal_types</string> </key> <value> <list> <tuple> - <string>Cash Delivery Line</string> - <string>Cash Delivery Line</string> + <string>Monetary Destruction Line</string> + <string>Monetary Destruction Line</string> </tuple> <tuple> - <string>Cash Delivery Cell</string> - <string>Cash Delivery Cell</string> + <string>Monetary Destruction Cell</string> + <string>Monetary Destruction Cell</string> </tuple> </list> </value> @@ -489,7 +493,7 @@ </item> <item> <key> <string>selection_name</string> </key> - <value> <string>monetary_destruction_selection</string> </value> + <value> <string>monetary_destruction_lin_eselection</string> </value> </item> <item> <key> <string>sort</string> </key> @@ -532,11 +536,8 @@ <record id="2" aka="AAAAAAAAAAI="> <pickle> <tuple> - <tuple> - <string>Products.Formulator.MethodField</string> - <string>Method</string> - </tuple> - <none/> + <global name="Method" module="Products.Formulator.MethodField"/> + <tuple/> </tuple> </pickle> <pickle> diff --git a/bt5/erp5_banking_cash/SkinTemplateItem/portal_skins/erp5_banking_cash/MonetaryDestruction_view/my_dematerialization.xml b/bt5/erp5_banking_cash/SkinTemplateItem/portal_skins/erp5_banking_cash/MonetaryDestruction_view/my_dematerialization.xml new file mode 100644 index 0000000000000000000000000000000000000000..82934fcb6fab1094eb72b08cc8cd394cb991c237 --- /dev/null +++ b/bt5/erp5_banking_cash/SkinTemplateItem/portal_skins/erp5_banking_cash/MonetaryDestruction_view/my_dematerialization.xml @@ -0,0 +1,177 @@ +<?xml version="1.0"?> +<ZopeData> + <record id="1" aka="AAAAAAAAAAE="> + <pickle> + <tuple> + <global name="CheckBoxField" module="Products.Formulator.StandardFields"/> + <tuple/> + </tuple> + </pickle> + <pickle> + <dictionary> + <item> + <key> <string>_owner</string> </key> + <value> + <none/> + </value> + </item> + <item> + <key> <string>id</string> </key> + <value> <string>my_dematerialization</string> </value> + </item> + <item> + <key> <string>message_values</string> </key> + <value> + <dictionary> + <item> + <key> <string>external_validator_failed</string> </key> + <value> <string>The input failed the external validator.</string> </value> + </item> + </dictionary> + </value> + </item> + <item> + <key> <string>overrides</string> </key> + <value> + <dictionary> + <item> + <key> <string>alternate_name</string> </key> + <value> <string></string> </value> + </item> + <item> + <key> <string>css_class</string> </key> + <value> <string></string> </value> + </item> + <item> + <key> <string>default</string> </key> + <value> <string></string> </value> + </item> + <item> + <key> <string>description</string> </key> + <value> <string></string> </value> + </item> + <item> + <key> <string>editable</string> </key> + <value> <string></string> </value> + </item> + <item> + <key> <string>enabled</string> </key> + <value> <string></string> </value> + </item> + <item> + <key> <string>external_validator</string> </key> + <value> <string></string> </value> + </item> + <item> + <key> <string>extra</string> </key> + <value> <string></string> </value> + </item> + <item> + <key> <string>hidden</string> </key> + <value> <string></string> </value> + </item> + <item> + <key> <string>title</string> </key> + <value> <string></string> </value> + </item> + </dictionary> + </value> + </item> + <item> + <key> <string>tales</string> </key> + <value> + <dictionary> + <item> + <key> <string>alternate_name</string> </key> + <value> <string></string> </value> + </item> + <item> + <key> <string>css_class</string> </key> + <value> <string></string> </value> + </item> + <item> + <key> <string>default</string> </key> + <value> <string></string> </value> + </item> + <item> + <key> <string>description</string> </key> + <value> <string></string> </value> + </item> + <item> + <key> <string>editable</string> </key> + <value> <string></string> </value> + </item> + <item> + <key> <string>enabled</string> </key> + <value> <string></string> </value> + </item> + <item> + <key> <string>external_validator</string> </key> + <value> <string></string> </value> + </item> + <item> + <key> <string>extra</string> </key> + <value> <string></string> </value> + </item> + <item> + <key> <string>hidden</string> </key> + <value> <string></string> </value> + </item> + <item> + <key> <string>title</string> </key> + <value> <string></string> </value> + </item> + </dictionary> + </value> + </item> + <item> + <key> <string>values</string> </key> + <value> + <dictionary> + <item> + <key> <string>alternate_name</string> </key> + <value> <string></string> </value> + </item> + <item> + <key> <string>css_class</string> </key> + <value> <string></string> </value> + </item> + <item> + <key> <string>default</string> </key> + <value> <int>0</int> </value> + </item> + <item> + <key> <string>description</string> </key> + <value> <string></string> </value> + </item> + <item> + <key> <string>editable</string> </key> + <value> <int>1</int> </value> + </item> + <item> + <key> <string>enabled</string> </key> + <value> <int>1</int> </value> + </item> + <item> + <key> <string>external_validator</string> </key> + <value> <string></string> </value> + </item> + <item> + <key> <string>extra</string> </key> + <value> <string></string> </value> + </item> + <item> + <key> <string>hidden</string> </key> + <value> <int>0</int> </value> + </item> + <item> + <key> <string>title</string> </key> + <value> <string>Is Dematerialization</string> </value> + </item> + </dictionary> + </value> + </item> + </dictionary> + </pickle> + </record> +</ZopeData> diff --git a/bt5/erp5_banking_cash/SkinTemplateItem/portal_skins/erp5_banking_cash/MonetaryDestruction_viewLineFastInputDialog.xml b/bt5/erp5_banking_cash/SkinTemplateItem/portal_skins/erp5_banking_cash/MonetaryDestruction_viewLineFastInputDialog.xml index b2b5c3a2dcb1145fcc17f56285a701b0712effd4..ca0d3fe60473d326be4f64d703c423cbb9139a8b 100644 --- a/bt5/erp5_banking_cash/SkinTemplateItem/portal_skins/erp5_banking_cash/MonetaryDestruction_viewLineFastInputDialog.xml +++ b/bt5/erp5_banking_cash/SkinTemplateItem/portal_skins/erp5_banking_cash/MonetaryDestruction_viewLineFastInputDialog.xml @@ -98,7 +98,7 @@ else:\n variation = context.Baobab_getResourceVintageList(banknote=1, coin=1)\n \n #, \'emission_letter_list\' : emission_letter A REMETTRE APRES LES TESTS\n -cash_detail_dict = {\'line_portal_type\' : \'Cash Delivery Line\'\n +cash_detail_dict = {\'line_portal_type\' : \'Monetary Destruction Line\'\n , \'operation_currency\' : currency\n , \'cash_status_list\' : cash_status\n , \'emission_letter_list\' : emission_letter\n diff --git a/bt5/erp5_banking_cash/WorkflowTemplateItem/portal_workflow/cash_to_currency_sale_workflow/variables/simulation_assigned.xml b/bt5/erp5_banking_cash/WorkflowTemplateItem/portal_workflow/cash_to_currency_sale_workflow/variables/simulation_assigned.xml deleted file mode 100644 index ead8ca730f2e0cb31e9ebb87f0e0fbd82861aa8d..0000000000000000000000000000000000000000 --- a/bt5/erp5_banking_cash/WorkflowTemplateItem/portal_workflow/cash_to_currency_sale_workflow/variables/simulation_assigned.xml +++ /dev/null @@ -1,63 +0,0 @@ -<?xml version="1.0"?> -<ZopeData> - <record id="1" aka="AAAAAAAAAAE="> - <pickle> - <tuple> - <global name="VariableDefinition" module="Products.DCWorkflow.Variables"/> - <tuple/> - </tuple> - </pickle> - <pickle> - <dictionary> - <item> - <key> <string>__ac_local_roles__</string> </key> - <value> - <none/> - </value> - </item> - <item> - <key> <string>_owner</string> </key> - <value> - <none/> - </value> - </item> - <item> - <key> <string>default_expr</string> </key> - <value> - <none/> - </value> - </item> - <item> - <key> <string>default_value</string> </key> - <value> <string></string> </value> - </item> - <item> - <key> <string>description</string> </key> - <value> <string>If set to yes then assigned to worklist</string> </value> - </item> - <item> - <key> <string>for_catalog</string> </key> - <value> <int>1</int> </value> - </item> - <item> - <key> <string>for_status</string> </key> - <value> <int>1</int> </value> - </item> - <item> - <key> <string>id</string> </key> - <value> <string>simulation_assigned</string> </value> - </item> - <item> - <key> <string>info_guard</string> </key> - <value> - <none/> - </value> - </item> - <item> - <key> <string>update_always</string> </key> - <value> <int>0</int> </value> - </item> - </dictionary> - </pickle> - </record> -</ZopeData> diff --git a/bt5/erp5_banking_cash/WorkflowTemplateItem/portal_workflow/cash_to_currency_sale_workflow/worklists/draft.xml b/bt5/erp5_banking_cash/WorkflowTemplateItem/portal_workflow/cash_to_currency_sale_workflow/worklists/draft.xml index 3086cc642a30bbf1007bee54fe944f09d7db752a..5cb40bcc5885f8ab20b537faa815056b68c84257 100644 --- a/bt5/erp5_banking_cash/WorkflowTemplateItem/portal_workflow/cash_to_currency_sale_workflow/worklists/draft.xml +++ b/bt5/erp5_banking_cash/WorkflowTemplateItem/portal_workflow/cash_to_currency_sale_workflow/worklists/draft.xml @@ -63,11 +63,8 @@ Base_viewWorklist?simulation_state=draft&portal_type=Cash To Currency Sale&reset <record id="2" aka="AAAAAAAAAAI="> <pickle> <tuple> - <tuple> - <string>Products.DCWorkflow.Guard</string> - <string>Guard</string> - </tuple> - <none/> + <global name="Guard" module="Products.DCWorkflow.Guard"/> + <tuple/> </tuple> </pickle> <pickle> @@ -87,17 +84,14 @@ Base_viewWorklist?simulation_state=draft&portal_type=Cash To Currency Sale&reset <record id="3" aka="AAAAAAAAAAM="> <pickle> <tuple> - <tuple> - <string>Persistence</string> - <string>PersistentMapping</string> - </tuple> - <none/> + <global name="PersistentMapping" module="Persistence.mapping"/> + <tuple/> </tuple> </pickle> <pickle> <dictionary> <item> - <key> <string>_container</string> </key> + <key> <string>data</string> </key> <value> <dictionary> <item> @@ -116,14 +110,6 @@ Base_viewWorklist?simulation_state=draft&portal_type=Cash To Currency Sale&reset </tuple> </value> </item> - <item> - <key> <string>simulation_assigned</string> </key> - <value> - <tuple> - <string>Cash To Currency Sale</string> - </tuple> - </value> - </item> <item> <key> <string>simulation_state</string> </key> <value> diff --git a/bt5/erp5_banking_cash/WorkflowTemplateItem/portal_workflow/monetary_destruction_workflow/scripts/validateVaultBalance.xml b/bt5/erp5_banking_cash/WorkflowTemplateItem/portal_workflow/monetary_destruction_workflow/scripts/validateVaultBalance.xml index aaafceb7207662471db0cc0df330f2a1505147c2..aa1c559960c3c1350268e958a59024a3fd0b5bb1 100644 --- a/bt5/erp5_banking_cash/WorkflowTemplateItem/portal_workflow/monetary_destruction_workflow/scripts/validateVaultBalance.xml +++ b/bt5/erp5_banking_cash/WorkflowTemplateItem/portal_workflow/monetary_destruction_workflow/scripts/validateVaultBalance.xml @@ -73,7 +73,7 @@ from Products.ERP5Type.Message import Message\n transaction = state_change[\'object\']\n \n vault = transaction.getSource()\n -resource = transaction.CashDelivery_checkCounterInventory(source=vault, portal_type=\'Cash Delivery Line\')\n +resource = transaction.CashDelivery_checkCounterInventory(source=vault, portal_type=\'Monetary Destruction Line\')\n \n source_object = context.portal_categories.getCategoryValue(vault)\n \n @@ -95,7 +95,7 @@ if \'encaisse_des_externes\' in vault:\n \n # Get price and total_price.\n amount = transaction.getSourceTotalAssetPrice()\n -total_price = transaction.getTotalPrice(portal_type=[\'Cash Delivery Line\',\'Cash Delivery Cell\'],fast=0)\n +total_price = transaction.getTotalPrice(portal_type=[\'Monetary Destruction Line\',\'Monetary Destruction Cell\'],fast=0)\n \n if resource == 2:\n msg = Message(domain="ui", message="No Resource.")\n @@ -106,6 +106,21 @@ elif amount != total_price:\n elif resource <> 0 :\n msg = Message(domain="ui", message="Insufficient Balance.")\n raise ValidationFailed, (msg,)\n +\n +# In case of dematerialization, we must have only coins\n +if transaction.isDematerialization():\n + for line in transaction.objectValues(portal_type=\'Cash Delivery Line\'):\n + if line.getResourceValue().getPortalType() != \'Coin\':\n + msg = Message(domain="ui", message="Sorry, dematerializatio is possible only with coins.")\n + raise ValidationFailed, (msg,)\n + # Also we must make sure that the source_section is defined\n + source_section = transation.getSourceSection()\n + if source_section is None:\n + msg = Message(domain="ui", message="Sorry, dematerializatio is possible only if the external agency is defined.")\n + raise ValidationFailed, (msg,)\n + if not \'encaisse_des_billets_retires_de_la_circulation\' in vault:\n + msg = Message(domain="ui", message="Invalid source.")\n + raise ValidationFailed, (msg,)\n ]]></string> </value> @@ -167,6 +182,9 @@ elif resource <> 0 :\n <string>None</string> <string>amount</string> <string>total_price</string> + <string>_getiter_</string> + <string>line</string> + <string>transation</string> </tuple> </value> </item> diff --git a/bt5/erp5_banking_cash/WorkflowTemplateItem/portal_workflow/money_deposit_workflow/variables/simulation_assigned.xml b/bt5/erp5_banking_cash/WorkflowTemplateItem/portal_workflow/money_deposit_workflow/variables/simulation_assigned.xml deleted file mode 100644 index ead8ca730f2e0cb31e9ebb87f0e0fbd82861aa8d..0000000000000000000000000000000000000000 --- a/bt5/erp5_banking_cash/WorkflowTemplateItem/portal_workflow/money_deposit_workflow/variables/simulation_assigned.xml +++ /dev/null @@ -1,63 +0,0 @@ -<?xml version="1.0"?> -<ZopeData> - <record id="1" aka="AAAAAAAAAAE="> - <pickle> - <tuple> - <global name="VariableDefinition" module="Products.DCWorkflow.Variables"/> - <tuple/> - </tuple> - </pickle> - <pickle> - <dictionary> - <item> - <key> <string>__ac_local_roles__</string> </key> - <value> - <none/> - </value> - </item> - <item> - <key> <string>_owner</string> </key> - <value> - <none/> - </value> - </item> - <item> - <key> <string>default_expr</string> </key> - <value> - <none/> - </value> - </item> - <item> - <key> <string>default_value</string> </key> - <value> <string></string> </value> - </item> - <item> - <key> <string>description</string> </key> - <value> <string>If set to yes then assigned to worklist</string> </value> - </item> - <item> - <key> <string>for_catalog</string> </key> - <value> <int>1</int> </value> - </item> - <item> - <key> <string>for_status</string> </key> - <value> <int>1</int> </value> - </item> - <item> - <key> <string>id</string> </key> - <value> <string>simulation_assigned</string> </value> - </item> - <item> - <key> <string>info_guard</string> </key> - <value> - <none/> - </value> - </item> - <item> - <key> <string>update_always</string> </key> - <value> <int>0</int> </value> - </item> - </dictionary> - </pickle> - </record> -</ZopeData> diff --git a/bt5/erp5_banking_cash/bt/revision b/bt5/erp5_banking_cash/bt/revision index cb856a47cbb8df9101794f4d23ff4f91c393ba7d..8b120bce8f826ee72124b968b2dacabf3af889f1 100644 --- a/bt5/erp5_banking_cash/bt/revision +++ b/bt5/erp5_banking_cash/bt/revision @@ -1 +1 @@ -444 \ No newline at end of file +447 \ No newline at end of file diff --git a/bt5/erp5_banking_cash/bt/template_action_path_list b/bt5/erp5_banking_cash/bt/template_action_path_list index 1a4ba6d457426c6175531cf4686d207d31f1bdea..2f67ed44ea60afc4fdd3dda54a56d1202c0e9e90 100644 --- a/bt5/erp5_banking_cash/bt/template_action_path_list +++ b/bt5/erp5_banking_cash/bt/template_action_path_list @@ -146,6 +146,11 @@ Internal Money Deposit | history Internal Money Deposit | metadata Internal Money Deposit | print Internal Money Deposit | view +Monetary Destruction Cell | metadata +Monetary Destruction Cell | view +Monetary Destruction Line | metadata +Monetary Destruction Line | print +Monetary Destruction Line | view Monetary Destruction Module | list_ui Monetary Destruction Module | sort_on Monetary Destruction Module | view diff --git a/bt5/erp5_banking_cash/bt/template_portal_type_allowed_content_type_list b/bt5/erp5_banking_cash/bt/template_portal_type_allowed_content_type_list index 32040763e7e08db1126d83c3554973b6fff75179..c12d6742fba2560b3bd120cd90ea631042790a03 100644 --- a/bt5/erp5_banking_cash/bt/template_portal_type_allowed_content_type_list +++ b/bt5/erp5_banking_cash/bt/template_portal_type_allowed_content_type_list @@ -39,8 +39,9 @@ Incoming Mutilated Banknote Line | Cash Delivery Cell Internal Money Deposit Module | Internal Money Deposit Internal Money Deposit | Banking Operation Line Internal Money Deposit | Cash Delivery Line +Monetary Destruction Line | Monetary Destruction Cell Monetary Destruction Module | Monetary Destruction -Monetary Destruction | Cash Delivery Line +Monetary Destruction | Monetary Destruction Line Monetary Issue Container | Container Line Monetary Issue Line | Cash Delivery Cell Monetary Issue Module | Monetary Issue diff --git a/bt5/erp5_banking_cash/bt/template_portal_type_base_category_list b/bt5/erp5_banking_cash/bt/template_portal_type_base_category_list index 7ef6e5b971fbf4951556420fa03b6c84bffa20eb..ad73b83e0c5e36853b4f2cb9b755340a0e7574e0 100644 --- a/bt5/erp5_banking_cash/bt/template_portal_type_base_category_list +++ b/bt5/erp5_banking_cash/bt/template_portal_type_base_category_list @@ -10,6 +10,7 @@ Container Line | emission_letter Container Line | variation Foreign Cash Reception | currency_exchange_type Internal Money Deposit | external_software +Monetary Destruction Cell | variation Monetary Recall Cell | variation Money Deposit | external_software Money Deposit | source_trade diff --git a/bt5/erp5_banking_cash/bt/template_portal_type_hidden_content_type_list b/bt5/erp5_banking_cash/bt/template_portal_type_hidden_content_type_list index 9ec43a12233e7c228490fbea81b0dae2bde97669..f7be79ca660400a29d202e1724b57639fd072599 100644 --- a/bt5/erp5_banking_cash/bt/template_portal_type_hidden_content_type_list +++ b/bt5/erp5_banking_cash/bt/template_portal_type_hidden_content_type_list @@ -27,7 +27,8 @@ Incoming Cash To Currency Sale Line | Cash Delivery Cell Incoming Classification Survey Line | Cash Delivery Cell Internal Money Deposit | Banking Operation Line Internal Money Deposit | Cash Delivery Line -Monetary Destruction | Cash Delivery Line +Monetary Destruction Line | Monetary Destruction Cell +Monetary Destruction | Monetary Destruction Line Monetary Issue Container | Container Line Monetary Issue | Monetary Issue Container Monetary Issue | Monetary Issue Line diff --git a/bt5/erp5_banking_cash/bt/template_portal_type_id_list b/bt5/erp5_banking_cash/bt/template_portal_type_id_list index 52ecf4ab66e665d00dd377ba65b0ec3ef66bd402..5e3a0f7f7269d5517373c9282198dd449df68308 100644 --- a/bt5/erp5_banking_cash/bt/template_portal_type_id_list +++ b/bt5/erp5_banking_cash/bt/template_portal_type_id_list @@ -33,6 +33,8 @@ Incoming Mutilated Banknote Line Internal Money Deposit Internal Money Deposit Module Monetary Destruction +Monetary Destruction Cell +Monetary Destruction Line Monetary Destruction Module Monetary Issue Monetary Issue Container diff --git a/bt5/erp5_banking_cash/bt/template_portal_type_property_sheet_list b/bt5/erp5_banking_cash/bt/template_portal_type_property_sheet_list index 6cbb42be2b70bfe81180c874901789dc01fcc765..f97b8dd0427e02abdf6245e5760d89865028731e 100644 --- a/bt5/erp5_banking_cash/bt/template_portal_type_property_sheet_list +++ b/bt5/erp5_banking_cash/bt/template_portal_type_property_sheet_list @@ -37,6 +37,8 @@ Internal Money Deposit | Arrow Internal Money Deposit | InternalMoney Internal Money Deposit | Price Internal Money Deposit | Task +Monetary Destruction Cell | Cash Delivery Line +Monetary Destruction Line | Cash Delivery Line Monetary Destruction | Account Monetary Destruction | Amount Monetary Destruction | Price