From 822ba4ac6059f970de561a409a3643ce145cd44a Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Aur=C3=A9lien=20Calonne?= <aurel@nexedi.com> Date: Fri, 30 Nov 2007 14:43:51 +0000 Subject: [PATCH] complete review of bank account inventory as previous version was weak git-svn-id: https://svn.erp5.org/repos/public/erp5/trunk@17922 20353a03-c40f-0410-a6d1-a30d3c3de9de --- .../view.xml | 83 +++ .../portal_types/Cash%20Inventory/print.xml | 83 +++ .../allowed_content_types.xml | 4 + .../base_category_list.xml | 5 +- .../hidden_content_type_list.xml | 4 + .../property_sheet_list.xml | 12 +- .../Bank%20Account%20Inventory%20Group.xml | 118 ++++ .../Bank%20Account%20Inventory%20Module.xml | 14 + .../workflow_chain_type.xml | 14 +- .../BankAccountInventoryGroup_view.xml | 166 ++++++ .../listbox.xml | 525 ++++++++++++++++++ .../listbox_destination_payment_reference.xml | 6 - .../listbox_total_price.xml} | 112 ++-- .../my_description.xml | 6 - .../my_site.xml} | 8 +- .../my_stop_date.xml | 6 - .../my_title.xml | 6 - .../BankAccountInventoryLine_view.xml | 1 - .../my_quantity.xml | 6 - .../my_resource.xml | 6 - .../listbox.xml | 6 - ...ory_getDefaultInventoryCalculationList.xml | 6 +- .../BankAccountInventory_init.xml | 148 +++++ .../BankAccountInventory_view.xml | 13 +- .../BankAccountInventory_view/listbox.xml | 38 +- .../my_destination_payment_reference.xml | 6 - .../CashInventory_view/listbox.xml | 13 +- .../listbox_total_price.xml | 11 +- bt5/erp5_banking_inventory/bt/revision | 2 +- .../bt/template_action_path_list | 2 + ...late_portal_type_allowed_content_type_list | 2 + .../template_portal_type_base_category_list | 1 + ...plate_portal_type_hidden_content_type_list | 2 + .../bt/template_portal_type_id_list | 1 + .../template_portal_type_property_sheet_list | 2 + .../template_portal_type_workflow_chain_list | 3 + 36 files changed, 1286 insertions(+), 155 deletions(-) create mode 100644 bt5/erp5_banking_inventory/ActionTemplateItem/portal_types/Bank%20Account%20Inventory%20Group/view.xml create mode 100644 bt5/erp5_banking_inventory/ActionTemplateItem/portal_types/Cash%20Inventory/print.xml create mode 100644 bt5/erp5_banking_inventory/PortalTypeTemplateItem/portal_types/Bank%20Account%20Inventory%20Group.xml create mode 100644 bt5/erp5_banking_inventory/SkinTemplateItem/portal_skins/erp5_banking_inventory/BankAccountInventoryGroup_view.xml create mode 100644 bt5/erp5_banking_inventory/SkinTemplateItem/portal_skins/erp5_banking_inventory/BankAccountInventoryGroup_view/listbox.xml rename bt5/erp5_banking_inventory/SkinTemplateItem/portal_skins/erp5_banking_inventory/{BankAccountInventory_view => BankAccountInventoryGroup_view}/listbox_destination_payment_reference.xml (98%) rename bt5/erp5_banking_inventory/SkinTemplateItem/portal_skins/erp5_banking_inventory/{BankAccountInventory_view/my_id.xml => BankAccountInventoryGroup_view/listbox_total_price.xml} (73%) rename bt5/erp5_banking_inventory/SkinTemplateItem/portal_skins/erp5_banking_inventory/{BankAccountInventory_view => BankAccountInventoryGroup_view}/my_description.xml (98%) rename bt5/erp5_banking_inventory/SkinTemplateItem/portal_skins/erp5_banking_inventory/{BankAccountInventory_view/my_destination.xml => BankAccountInventoryGroup_view/my_site.xml} (98%) rename bt5/erp5_banking_inventory/SkinTemplateItem/portal_skins/erp5_banking_inventory/{BankAccountInventory_view => BankAccountInventoryGroup_view}/my_stop_date.xml (99%) rename bt5/erp5_banking_inventory/SkinTemplateItem/portal_skins/erp5_banking_inventory/{BankAccountInventory_view => BankAccountInventoryGroup_view}/my_title.xml (98%) create mode 100644 bt5/erp5_banking_inventory/SkinTemplateItem/portal_skins/erp5_banking_inventory/BankAccountInventory_init.xml rename bt5/erp5_banking_inventory/SkinTemplateItem/portal_skins/erp5_banking_inventory/{BankAccountInventoryLine_view => BankAccountInventory_view}/my_destination_payment_reference.xml (99%) diff --git a/bt5/erp5_banking_inventory/ActionTemplateItem/portal_types/Bank%20Account%20Inventory%20Group/view.xml b/bt5/erp5_banking_inventory/ActionTemplateItem/portal_types/Bank%20Account%20Inventory%20Group/view.xml new file mode 100644 index 0000000000..4c06ad61b1 --- /dev/null +++ b/bt5/erp5_banking_inventory/ActionTemplateItem/portal_types/Bank%20Account%20Inventory%20Group/view.xml @@ -0,0 +1,83 @@ +<?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> + <global name="Expression" module="Products.CMFCore.Expression"/> + <tuple/> + </tuple> + </pickle> + <pickle> + <dictionary> + <item> + <key> <string>text</string> </key> + <value> <string>string:${object_url}/BankAccountInventoryGroup_view</string> </value> + </item> + </dictionary> + </pickle> + </record> +</ZopeData> diff --git a/bt5/erp5_banking_inventory/ActionTemplateItem/portal_types/Cash%20Inventory/print.xml b/bt5/erp5_banking_inventory/ActionTemplateItem/portal_types/Cash%20Inventory/print.xml new file mode 100644 index 0000000000..4d2d47de1c --- /dev/null +++ b/bt5/erp5_banking_inventory/ActionTemplateItem/portal_types/Cash%20Inventory/print.xml @@ -0,0 +1,83 @@ +<?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> + <global name="Expression" module="Products.CMFCore.Expression"/> + <tuple/> + </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_inventory/PortalTypeAllowedContentTypeTemplateItem/allowed_content_types.xml b/bt5/erp5_banking_inventory/PortalTypeAllowedContentTypeTemplateItem/allowed_content_types.xml index 76ba20be85..8415b1a341 100644 --- a/bt5/erp5_banking_inventory/PortalTypeAllowedContentTypeTemplateItem/allowed_content_types.xml +++ b/bt5/erp5_banking_inventory/PortalTypeAllowedContentTypeTemplateItem/allowed_content_types.xml @@ -2,8 +2,12 @@ <portal_type id="Bank Account Inventory"> <item>Bank Account Inventory Line</item> </portal_type> + <portal_type id="Bank Account Inventory Group"> + <item>Bank Account Inventory</item> + </portal_type> <portal_type id="Bank Account Inventory Module"> <item>Bank Account Inventory</item> + <item>Bank Account Inventory Group</item> </portal_type> <portal_type id="Cash Inventory"> <item>Cash Inventory Line</item> diff --git a/bt5/erp5_banking_inventory/PortalTypeBaseCategoryTemplateItem/base_category_list.xml b/bt5/erp5_banking_inventory/PortalTypeBaseCategoryTemplateItem/base_category_list.xml index 99702b50b5..d07449f045 100644 --- a/bt5/erp5_banking_inventory/PortalTypeBaseCategoryTemplateItem/base_category_list.xml +++ b/bt5/erp5_banking_inventory/PortalTypeBaseCategoryTemplateItem/base_category_list.xml @@ -2,13 +2,16 @@ <portal_type id="Bank Account Inventory"> <item>destination</item> </portal_type> + <portal_type id="Bank Account Inventory Group"> + <item>site</item> + </portal_type> <portal_type id="Bank Account Inventory Line"> <item>destination</item> <item>price_currency</item> </portal_type> <portal_type id="Cash Inventory"> <item>destination</item> - <item>destination_section</item> <item>price_currency</item> + <item>destination_section</item> </portal_type> </base_category_list> \ No newline at end of file diff --git a/bt5/erp5_banking_inventory/PortalTypeHiddenContentTypeTemplateItem/hidden_content_type_list.xml b/bt5/erp5_banking_inventory/PortalTypeHiddenContentTypeTemplateItem/hidden_content_type_list.xml index e5462dd8c0..6b1f9c6533 100644 --- a/bt5/erp5_banking_inventory/PortalTypeHiddenContentTypeTemplateItem/hidden_content_type_list.xml +++ b/bt5/erp5_banking_inventory/PortalTypeHiddenContentTypeTemplateItem/hidden_content_type_list.xml @@ -1,4 +1,8 @@ <hidden_content_type_list> + <portal_type id="Bank Account Inventory Module"> + <item>Bank Account Inventory Group</item> + <item>Bank Account Inventory</item> + </portal_type> <portal_type id="Cash Inventory"> <item>Cash Inventory Line</item> </portal_type> diff --git a/bt5/erp5_banking_inventory/PortalTypePropertySheetTemplateItem/property_sheet_list.xml b/bt5/erp5_banking_inventory/PortalTypePropertySheetTemplateItem/property_sheet_list.xml index ca040d679c..d40dea450e 100644 --- a/bt5/erp5_banking_inventory/PortalTypePropertySheetTemplateItem/property_sheet_list.xml +++ b/bt5/erp5_banking_inventory/PortalTypePropertySheetTemplateItem/property_sheet_list.xml @@ -2,12 +2,16 @@ <portal_type id="Bank Account Inventory"> <item>Base</item> <item>DublinCore</item> + <item>XMLObject</item> <item>Document</item> <item>Arrow</item> <item>Inventory</item> - <item>XMLObject</item> <item>Folder</item> </portal_type> + <portal_type id="Bank Account Inventory Group"> + <item>Task</item> + <item>Arrow</item> + </portal_type> <portal_type id="Bank Account Inventory Line"> <item>Arrow</item> <item>Discount</item> @@ -27,28 +31,28 @@ </portal_type> <portal_type id="Cash Inventory"> <item>Arrow</item> - <item>Folder</item> <item>XMLObject</item> <item>Document</item> <item>Base</item> <item>DublinCore</item> <item>Inventory</item> + <item>Folder</item> </portal_type> <portal_type id="Cash Inventory Cell"> <item>CashDeliveryLine</item> </portal_type> <portal_type id="Cash Inventory Group"> - <item>Arrow</item> <item>Task</item> + <item>Arrow</item> </portal_type> <portal_type id="Cash Inventory Line"> <item>CashDeliveryLine</item> </portal_type> <portal_type id="Cash Inventory Module"> + <item>XMLObject</item> <item>Base</item> <item>DublinCore</item> <item>Document</item> - <item>XMLObject</item> <item>Folder</item> </portal_type> </property_sheet_list> \ No newline at end of file diff --git a/bt5/erp5_banking_inventory/PortalTypeTemplateItem/portal_types/Bank%20Account%20Inventory%20Group.xml b/bt5/erp5_banking_inventory/PortalTypeTemplateItem/portal_types/Bank%20Account%20Inventory%20Group.xml new file mode 100644 index 0000000000..82d4fa7c63 --- /dev/null +++ b/bt5/erp5_banking_inventory/PortalTypeTemplateItem/portal_types/Bank%20Account%20Inventory%20Group.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>folder_icon.gif</string> </value> + </item> + <item> + <key> <string>content_meta_type</string> </key> + <value> <string>ERP5 Folder</string> </value> + </item> + <item> + <key> <string>description</string> </key> + <value> <string>Folders allow to store a large number of documents (1,000,000 should not\n +be a problem).</string> </value> + </item> + <item> + <key> <string>factory</string> </key> + <value> <string>addFolder</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</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>Bank Account Inventory Group</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_inventory/PortalTypeTemplateItem/portal_types/Bank%20Account%20Inventory%20Module.xml b/bt5/erp5_banking_inventory/PortalTypeTemplateItem/portal_types/Bank%20Account%20Inventory%20Module.xml index dc8ba1672c..dddb95cc2d 100644 --- a/bt5/erp5_banking_inventory/PortalTypeTemplateItem/portal_types/Bank%20Account%20Inventory%20Module.xml +++ b/bt5/erp5_banking_inventory/PortalTypeTemplateItem/portal_types/Bank%20Account%20Inventory%20Module.xml @@ -39,6 +39,10 @@ <list/> </value> </item> + <item> + <key> <string>acquire_local_roles</string> </key> + <value> <int>1</int> </value> + </item> <item> <key> <string>allowed_content_types</string> </key> <value> @@ -71,6 +75,12 @@ <key> <string>filter_content_types</string> </key> <value> <int>1</int> </value> </item> + <item> + <key> <string>group_list</string> </key> + <value> + <tuple/> + </value> + </item> <item> <key> <string>hidden_content_type_list</string> </key> <value> @@ -85,6 +95,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_inventory/PortalTypeWorkflowChainTemplateItem/workflow_chain_type.xml b/bt5/erp5_banking_inventory/PortalTypeWorkflowChainTemplateItem/workflow_chain_type.xml index 478328ef39..6477b14d16 100644 --- a/bt5/erp5_banking_inventory/PortalTypeWorkflowChainTemplateItem/workflow_chain_type.xml +++ b/bt5/erp5_banking_inventory/PortalTypeWorkflowChainTemplateItem/workflow_chain_type.xml @@ -1,10 +1,22 @@ <workflow_chain> <chain> <type>Bank Account Inventory</type> - <workflow>inventory_workflow, edit_workflow</workflow> + <workflow>edit_workflow, inventory_workflow</workflow> + </chain> + <chain> + <type>Bank Account Inventory Group</type> + <workflow>edit_workflow</workflow> + </chain> + <chain> + <type>Bank Account Inventory Line</type> + <workflow>edit_workflow</workflow> </chain> <chain> <type>Cash Inventory</type> <workflow>inventory_workflow, edit_workflow</workflow> </chain> + <chain> + <type>Cash Inventory Group</type> + <workflow>edit_workflow</workflow> + </chain> </workflow_chain> \ No newline at end of file diff --git a/bt5/erp5_banking_inventory/SkinTemplateItem/portal_skins/erp5_banking_inventory/BankAccountInventoryGroup_view.xml b/bt5/erp5_banking_inventory/SkinTemplateItem/portal_skins/erp5_banking_inventory/BankAccountInventoryGroup_view.xml new file mode 100644 index 0000000000..49a79a419b --- /dev/null +++ b/bt5/erp5_banking_inventory/SkinTemplateItem/portal_skins/erp5_banking_inventory/BankAccountInventoryGroup_view.xml @@ -0,0 +1,166 @@ +<?xml version="1.0"?> +<ZopeData> + <record id="1" aka="AAAAAAAAAAE="> + <pickle> + <tuple> + <global name="ERP5Form" module="Products.ERP5Form.Form"/> + <tuple/> + </tuple> + </pickle> + <pickle> + <dictionary> + <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/> + </value> + </item> + </dictionary> + </state> + </object> + </value> + </item> + <item> + <key> <string>_objects</string> </key> + <value> + <tuple/> + </value> + </item> + <item> + <key> <string>_owner</string> </key> + <value> + <none/> + </value> + </item> + <item> + <key> <string>action</string> </key> + <value> <string>Base_edit</string> </value> + </item> + <item> + <key> <string>description</string> </key> + <value> <string>None</string> </value> + </item> + <item> + <key> <string>encoding</string> </key> + <value> <string>UTF-8</string> </value> + </item> + <item> + <key> <string>enctype</string> </key> + <value> <string></string> </value> + </item> + <item> + <key> <string>group_list</string> </key> + <value> + <list> + <string>left</string> + <string>right</string> + <string>center</string> + <string>bottom</string> + <string>hidden</string> + </list> + </value> + </item> + <item> + <key> <string>groups</string> </key> + <value> + <dictionary> + <item> + <key> <string>bottom</string> </key> + <value> + <list> + <string>listbox</string> + </list> + </value> + </item> + <item> + <key> <string>center</string> </key> + <value> + <list> + <string>my_description</string> + </list> + </value> + </item> + <item> + <key> <string>hidden</string> </key> + <value> + <list> + <string>listbox_destination_payment_reference</string> + </list> + </value> + </item> + <item> + <key> <string>left</string> </key> + <value> + <list> + <string>my_title</string> + <string>my_stop_date</string> + <string>my_site</string> + <string>listbox_total_price</string> + </list> + </value> + </item> + <item> + <key> <string>right</string> </key> + <value> + <list/> + </value> + </item> + </dictionary> + </value> + </item> + <item> + <key> <string>id</string> </key> + <value> <string>BankAccountInventoryGroup_view</string> </value> + </item> + <item> + <key> <string>method</string> </key> + <value> <string>POST</string> </value> + </item> + <item> + <key> <string>name</string> </key> + <value> <string>BankAccountInventoryGroup_view</string> </value> + </item> + <item> + <key> <string>pt</string> </key> + <value> <string>form_view</string> </value> + </item> + <item> + <key> <string>row_length</string> </key> + <value> <int>4</int> </value> + </item> + <item> + <key> <string>stored_encoding</string> </key> + <value> <string>UTF-8</string> </value> + </item> + <item> + <key> <string>title</string> </key> + <value> <string>Bank Account Inventory Group</string> </value> + </item> + <item> + <key> <string>unicode_mode</string> </key> + <value> <int>0</int> </value> + </item> + <item> + <key> <string>update_action</string> </key> + <value> <string></string> </value> + </item> + </dictionary> + </pickle> + </record> +</ZopeData> diff --git a/bt5/erp5_banking_inventory/SkinTemplateItem/portal_skins/erp5_banking_inventory/BankAccountInventoryGroup_view/listbox.xml b/bt5/erp5_banking_inventory/SkinTemplateItem/portal_skins/erp5_banking_inventory/BankAccountInventoryGroup_view/listbox.xml new file mode 100644 index 0000000000..05a43958a3 --- /dev/null +++ b/bt5/erp5_banking_inventory/SkinTemplateItem/portal_skins/erp5_banking_inventory/BankAccountInventoryGroup_view/listbox.xml @@ -0,0 +1,525 @@ +<?xml version="1.0"?> +<ZopeData> + <record id="1" aka="AAAAAAAAAAE="> + <pickle> + <tuple> + <global name="ListBox" module="Products.ERP5Form.ListBox"/> + <tuple/> + </tuple> + </pickle> + <pickle> + <dictionary> + <item> + <key> <string>id</string> </key> + <value> <string>listbox</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>all_columns</string> </key> + <value> <string></string> </value> + </item> + <item> + <key> <string>all_editable_columns</string> </key> + <value> <string></string> </value> + </item> + <item> + <key> <string>alternate_name</string> </key> + <value> <string></string> </value> + </item> + <item> + <key> <string>columns</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>default_params</string> </key> + <value> <string></string> </value> + </item> + <item> + <key> <string>description</string> </key> + <value> <string></string> </value> + </item> + <item> + <key> <string>domain_root_list</string> </key> + <value> <string></string> </value> + </item> + <item> + <key> <string>domain_tree</string> </key> + <value> <string></string> </value> + </item> + <item> + <key> <string>editable</string> </key> + <value> <string></string> </value> + </item> + <item> + <key> <string>editable_columns</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>global_attributes</string> </key> + <value> <string></string> </value> + </item> + <item> + <key> <string>hidden</string> </key> + <value> <string></string> </value> + </item> + <item> + <key> <string>lines</string> </key> + <value> <string></string> </value> + </item> + <item> + <key> <string>list_action</string> </key> + <value> <string></string> </value> + </item> + <item> + <key> <string>list_method</string> </key> + <value> <string></string> </value> + </item> + <item> + <key> <string>meta_types</string> </key> + <value> <string></string> </value> + </item> + <item> + <key> <string>portal_types</string> </key> + <value> <string></string> </value> + </item> + <item> + <key> <string>report_root_list</string> </key> + <value> <string></string> </value> + </item> + <item> + <key> <string>report_tree</string> </key> + <value> <string></string> </value> + </item> + <item> + <key> <string>search</string> </key> + <value> <string></string> </value> + </item> + <item> + <key> <string>search_columns</string> </key> + <value> <string></string> </value> + </item> + <item> + <key> <string>select</string> </key> + <value> <string></string> </value> + </item> + <item> + <key> <string>selection_name</string> </key> + <value> <string></string> </value> + </item> + <item> + <key> <string>sort</string> </key> + <value> <string></string> </value> + </item> + <item> + <key> <string>sort_columns</string> </key> + <value> <string></string> </value> + </item> + <item> + <key> <string>stat_columns</string> </key> + <value> <string></string> </value> + </item> + <item> + <key> <string>stat_method</string> </key> + <value> <string></string> </value> + </item> + <item> + <key> <string>title</string> </key> + <value> <string></string> </value> + </item> + <item> + <key> <string>url_columns</string> </key> + <value> <string></string> </value> + </item> + </dictionary> + </value> + </item> + <item> + <key> <string>tales</string> </key> + <value> + <dictionary> + <item> + <key> <string>all_columns</string> </key> + <value> <string></string> </value> + </item> + <item> + <key> <string>all_editable_columns</string> </key> + <value> <string></string> </value> + </item> + <item> + <key> <string>alternate_name</string> </key> + <value> <string></string> </value> + </item> + <item> + <key> <string>columns</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>default_params</string> </key> + <value> <string></string> </value> + </item> + <item> + <key> <string>description</string> </key> + <value> <string></string> </value> + </item> + <item> + <key> <string>domain_root_list</string> </key> + <value> <string></string> </value> + </item> + <item> + <key> <string>domain_tree</string> </key> + <value> <string></string> </value> + </item> + <item> + <key> <string>editable</string> </key> + <value> <string></string> </value> + </item> + <item> + <key> <string>editable_columns</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>global_attributes</string> </key> + <value> <string></string> </value> + </item> + <item> + <key> <string>hidden</string> </key> + <value> <string></string> </value> + </item> + <item> + <key> <string>lines</string> </key> + <value> <string></string> </value> + </item> + <item> + <key> <string>list_action</string> </key> + <value> <string></string> </value> + </item> + <item> + <key> <string>list_method</string> </key> + <value> <string></string> </value> + </item> + <item> + <key> <string>meta_types</string> </key> + <value> <string></string> </value> + </item> + <item> + <key> <string>portal_types</string> </key> + <value> <string></string> </value> + </item> + <item> + <key> <string>report_root_list</string> </key> + <value> <string></string> </value> + </item> + <item> + <key> <string>report_tree</string> </key> + <value> <string></string> </value> + </item> + <item> + <key> <string>search</string> </key> + <value> <string></string> </value> + </item> + <item> + <key> <string>search_columns</string> </key> + <value> <string></string> </value> + </item> + <item> + <key> <string>select</string> </key> + <value> <string></string> </value> + </item> + <item> + <key> <string>selection_name</string> </key> + <value> <string></string> </value> + </item> + <item> + <key> <string>sort</string> </key> + <value> <string></string> </value> + </item> + <item> + <key> <string>sort_columns</string> </key> + <value> <string></string> </value> + </item> + <item> + <key> <string>stat_columns</string> </key> + <value> <string></string> </value> + </item> + <item> + <key> <string>stat_method</string> </key> + <value> <string></string> </value> + </item> + <item> + <key> <string>title</string> </key> + <value> <string></string> </value> + </item> + <item> + <key> <string>url_columns</string> </key> + <value> <string></string> </value> + </item> + </dictionary> + </value> + </item> + <item> + <key> <string>values</string> </key> + <value> + <dictionary> + <item> + <key> <string>all_columns</string> </key> + <value> + <list/> + </value> + </item> + <item> + <key> <string>all_editable_columns</string> </key> + <value> + <list/> + </value> + </item> + <item> + <key> <string>alternate_name</string> </key> + <value> <string></string> </value> + </item> + <item> + <key> <string>columns</string> </key> + <value> + <list> + <tuple> + <string>destination_payment_reference</string> + <string>Bank Account Number</string> + </tuple> + <tuple> + <string>resource_title</string> + <string>Currency</string> + </tuple> + <tuple> + <string>total_price</string> + <string>Amount</string> + </tuple> + </list> + </value> + </item> + <item> + <key> <string>count_method</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>default_params</string> </key> + <value> + <list/> + </value> + </item> + <item> + <key> <string>description</string> </key> + <value> <string></string> </value> + </item> + <item> + <key> <string>domain_root_list</string> </key> + <value> + <list/> + </value> + </item> + <item> + <key> <string>domain_tree</string> </key> + <value> <int>0</int> </value> + </item> + <item> + <key> <string>editable</string> </key> + <value> <int>1</int> </value> + </item> + <item> + <key> <string>editable_columns</string> </key> + <value> + <list/> + </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>global_attributes</string> </key> + <value> + <list/> + </value> + </item> + <item> + <key> <string>hidden</string> </key> + <value> <int>0</int> </value> + </item> + <item> + <key> <string>lines</string> </key> + <value> <int>40</int> </value> + </item> + <item> + <key> <string>list_action</string> </key> + <value> <string>Folder_viewContentList</string> </value> + </item> + <item> + <key> <string>list_method</string> </key> + <value> + <persistent> <string encoding="base64">AAAAAAAAAAI=</string> </persistent> + </value> + </item> + <item> + <key> <string>meta_types</string> </key> + <value> + <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>Bank Account Inventory</string> + <string>Bank Account Inventory</string> + </tuple> + <tuple> + <string>Bank Account Inventory Line</string> + <string>Bank Account Inventory Line</string> + </tuple> + </list> + </value> + </item> + <item> + <key> <string>report_root_list</string> </key> + <value> + <list/> + </value> + </item> + <item> + <key> <string>report_tree</string> </key> + <value> <int>0</int> </value> + </item> + <item> + <key> <string>search</string> </key> + <value> <int>0</int> </value> + </item> + <item> + <key> <string>search_columns</string> </key> + <value> + <list/> + </value> + </item> + <item> + <key> <string>select</string> </key> + <value> <int>0</int> </value> + </item> + <item> + <key> <string>selection_name</string> </key> + <value> <string>bank_account_inventory_group_selection</string> </value> + </item> + <item> + <key> <string>sort</string> </key> + <value> + <list/> + </value> + </item> + <item> + <key> <string>sort_columns</string> </key> + <value> + <list/> + </value> + </item> + <item> + <key> <string>stat_columns</string> </key> + <value> + <list/> + </value> + </item> + <item> + <key> <string>stat_method</string> </key> + <value> <string></string> </value> + </item> + <item> + <key> <string>title</string> </key> + <value> <string>Bank Account Inventory</string> </value> + </item> + <item> + <key> <string>url_columns</string> </key> + <value> + <list/> + </value> + </item> + </dictionary> + </value> + </item> + </dictionary> + </pickle> + </record> + <record id="2" aka="AAAAAAAAAAI="> + <pickle> + <tuple> + <global name="Method" module="Products.Formulator.MethodField"/> + <tuple/> + </tuple> + </pickle> + <pickle> + <dictionary> + <item> + <key> <string>method_name</string> </key> + <value> <string>getMovementList</string> </value> + </item> + </dictionary> + </pickle> + </record> +</ZopeData> diff --git a/bt5/erp5_banking_inventory/SkinTemplateItem/portal_skins/erp5_banking_inventory/BankAccountInventory_view/listbox_destination_payment_reference.xml b/bt5/erp5_banking_inventory/SkinTemplateItem/portal_skins/erp5_banking_inventory/BankAccountInventoryGroup_view/listbox_destination_payment_reference.xml similarity index 98% rename from bt5/erp5_banking_inventory/SkinTemplateItem/portal_skins/erp5_banking_inventory/BankAccountInventory_view/listbox_destination_payment_reference.xml rename to bt5/erp5_banking_inventory/SkinTemplateItem/portal_skins/erp5_banking_inventory/BankAccountInventoryGroup_view/listbox_destination_payment_reference.xml index d5a0fb021c..56dffb5926 100644 --- a/bt5/erp5_banking_inventory/SkinTemplateItem/portal_skins/erp5_banking_inventory/BankAccountInventory_view/listbox_destination_payment_reference.xml +++ b/bt5/erp5_banking_inventory/SkinTemplateItem/portal_skins/erp5_banking_inventory/BankAccountInventoryGroup_view/listbox_destination_payment_reference.xml @@ -9,12 +9,6 @@ </pickle> <pickle> <dictionary> - <item> - <key> <string>_owner</string> </key> - <value> - <none/> - </value> - </item> <item> <key> <string>id</string> </key> <value> <string>listbox_destination_payment_reference</string> </value> diff --git a/bt5/erp5_banking_inventory/SkinTemplateItem/portal_skins/erp5_banking_inventory/BankAccountInventory_view/my_id.xml b/bt5/erp5_banking_inventory/SkinTemplateItem/portal_skins/erp5_banking_inventory/BankAccountInventoryGroup_view/listbox_total_price.xml similarity index 73% rename from bt5/erp5_banking_inventory/SkinTemplateItem/portal_skins/erp5_banking_inventory/BankAccountInventory_view/my_id.xml rename to bt5/erp5_banking_inventory/SkinTemplateItem/portal_skins/erp5_banking_inventory/BankAccountInventoryGroup_view/listbox_total_price.xml index 739c8a9a9a..25bc502cba 100644 --- a/bt5/erp5_banking_inventory/SkinTemplateItem/portal_skins/erp5_banking_inventory/BankAccountInventory_view/my_id.xml +++ b/bt5/erp5_banking_inventory/SkinTemplateItem/portal_skins/erp5_banking_inventory/BankAccountInventoryGroup_view/listbox_total_price.xml @@ -3,21 +3,15 @@ <record id="1" aka="AAAAAAAAAAE="> <pickle> <tuple> - <global name="StringField" module="Products.Formulator.StandardFields"/> + <global name="FloatField" 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_id</string> </value> + <value> <string>listbox_total_price</string> </value> </item> <item> <key> <string>message_values</string> </key> @@ -28,12 +22,12 @@ <value> <string>The input failed the external validator.</string> </value> </item> <item> - <key> <string>required_not_found</string> </key> - <value> <string>Input is required but no input given.</string> </value> + <key> <string>not_float</string> </key> + <value> <string>You did not enter a floating point number.</string> </value> </item> <item> - <key> <string>too_long</string> </key> - <value> <string>Too much input was given.</string> </value> + <key> <string>required_not_found</string> </key> + <value> <string>Input is required but no input given.</string> </value> </item> </dictionary> </value> @@ -66,6 +60,14 @@ <key> <string>display_width</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> @@ -79,7 +81,11 @@ <value> <string></string> </value> </item> <item> - <key> <string>max_length</string> </key> + <key> <string>input_style</string> </key> + <value> <string></string> </value> + </item> + <item> + <key> <string>precision</string> </key> <value> <string></string> </value> </item> <item> @@ -91,7 +97,7 @@ <value> <string></string> </value> </item> <item> - <key> <string>truncate</string> </key> + <key> <string>whitespace_preserve</string> </key> <value> <string></string> </value> </item> </dictionary> @@ -125,6 +131,14 @@ <key> <string>display_width</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> @@ -138,8 +152,16 @@ <value> <string></string> </value> </item> <item> - <key> <string>max_length</string> </key> - <value> <string></string> </value> + <key> <string>input_style</string> </key> + <value> + <persistent> <string encoding="base64">AAAAAAAAAAI=</string> </persistent> + </value> + </item> + <item> + <key> <string>precision</string> </key> + <value> + <persistent> <string encoding="base64">AAAAAAAAAAM=</string> </persistent> + </value> </item> <item> <key> <string>required</string> </key> @@ -150,7 +172,7 @@ <value> <string></string> </value> </item> <item> - <key> <string>truncate</string> </key> + <key> <string>whitespace_preserve</string> </key> <value> <string></string> </value> </item> </dictionary> @@ -166,7 +188,7 @@ </item> <item> <key> <string>css_class</string> </key> - <value> <string></string> </value> + <value> <string>figure</string> </value> </item> <item> <key> <string>default</string> </key> @@ -182,7 +204,7 @@ </item> <item> <key> <string>display_width</string> </key> - <value> <int>10</int> </value> + <value> <int>20</int> </value> </item> <item> <key> <string>editable</string> </key> @@ -198,31 +220,27 @@ </item> <item> <key> <string>extra</string> </key> - <value> <string></string> </value> + <value> <string>align="right"</string> </value> </item> <item> <key> <string>hidden</string> </key> <value> <int>0</int> </value> </item> <item> - <key> <string>max_length</string> </key> - <value> <string></string> </value> - </item> - <item> - <key> <string>required</string> </key> - <value> <int>1</int> </value> + <key> <string>input_style</string> </key> + <value> <string>-1 234.5</string> </value> </item> <item> - <key> <string>title</string> </key> - <value> <string>Id</string> </value> + <key> <string>precision</string> </key> + <value> <string></string> </value> </item> <item> - <key> <string>truncate</string> </key> + <key> <string>required</string> </key> <value> <int>0</int> </value> </item> <item> - <key> <string>unicode</string> </key> - <value> <int>0</int> </value> + <key> <string>title</string> </key> + <value> <string>Total Price</string> </value> </item> <item> <key> <string>whitespace_preserve</string> </key> @@ -234,4 +252,36 @@ </dictionary> </pickle> </record> + <record id="2" aka="AAAAAAAAAAI="> + <pickle> + <tuple> + <global name="TALESMethod" module="Products.Formulator.TALESField"/> + <tuple/> + </tuple> + </pickle> + <pickle> + <dictionary> + <item> + <key> <string>_text</string> </key> + <value> <string>string:-1 234.5 | preferences/getPreferredMoneyQuantityStyle</string> </value> + </item> + </dictionary> + </pickle> + </record> + <record id="3" aka="AAAAAAAAAAM="> + <pickle> + <tuple> + <global name="TALESMethod" module="Products.Formulator.TALESField"/> + <tuple/> + </tuple> + </pickle> + <pickle> + <dictionary> + <item> + <key> <string>_text</string> </key> + <value> <string>python: here.getPriceCurrencyValue().getQuantityPrecision()</string> </value> + </item> + </dictionary> + </pickle> + </record> </ZopeData> diff --git a/bt5/erp5_banking_inventory/SkinTemplateItem/portal_skins/erp5_banking_inventory/BankAccountInventory_view/my_description.xml b/bt5/erp5_banking_inventory/SkinTemplateItem/portal_skins/erp5_banking_inventory/BankAccountInventoryGroup_view/my_description.xml similarity index 98% rename from bt5/erp5_banking_inventory/SkinTemplateItem/portal_skins/erp5_banking_inventory/BankAccountInventory_view/my_description.xml rename to bt5/erp5_banking_inventory/SkinTemplateItem/portal_skins/erp5_banking_inventory/BankAccountInventoryGroup_view/my_description.xml index b8755f417d..d0eb0c889d 100644 --- a/bt5/erp5_banking_inventory/SkinTemplateItem/portal_skins/erp5_banking_inventory/BankAccountInventory_view/my_description.xml +++ b/bt5/erp5_banking_inventory/SkinTemplateItem/portal_skins/erp5_banking_inventory/BankAccountInventoryGroup_view/my_description.xml @@ -9,12 +9,6 @@ </pickle> <pickle> <dictionary> - <item> - <key> <string>_owner</string> </key> - <value> - <none/> - </value> - </item> <item> <key> <string>id</string> </key> <value> <string>my_description</string> </value> diff --git a/bt5/erp5_banking_inventory/SkinTemplateItem/portal_skins/erp5_banking_inventory/BankAccountInventory_view/my_destination.xml b/bt5/erp5_banking_inventory/SkinTemplateItem/portal_skins/erp5_banking_inventory/BankAccountInventoryGroup_view/my_site.xml similarity index 98% rename from bt5/erp5_banking_inventory/SkinTemplateItem/portal_skins/erp5_banking_inventory/BankAccountInventory_view/my_destination.xml rename to bt5/erp5_banking_inventory/SkinTemplateItem/portal_skins/erp5_banking_inventory/BankAccountInventoryGroup_view/my_site.xml index 73febf2f9f..8722cbd007 100644 --- a/bt5/erp5_banking_inventory/SkinTemplateItem/portal_skins/erp5_banking_inventory/BankAccountInventory_view/my_destination.xml +++ b/bt5/erp5_banking_inventory/SkinTemplateItem/portal_skins/erp5_banking_inventory/BankAccountInventoryGroup_view/my_site.xml @@ -9,15 +9,9 @@ </pickle> <pickle> <dictionary> - <item> - <key> <string>_owner</string> </key> - <value> - <none/> - </value> - </item> <item> <key> <string>id</string> </key> - <value> <string>my_destination</string> </value> + <value> <string>my_site</string> </value> </item> <item> <key> <string>message_values</string> </key> diff --git a/bt5/erp5_banking_inventory/SkinTemplateItem/portal_skins/erp5_banking_inventory/BankAccountInventory_view/my_stop_date.xml b/bt5/erp5_banking_inventory/SkinTemplateItem/portal_skins/erp5_banking_inventory/BankAccountInventoryGroup_view/my_stop_date.xml similarity index 99% rename from bt5/erp5_banking_inventory/SkinTemplateItem/portal_skins/erp5_banking_inventory/BankAccountInventory_view/my_stop_date.xml rename to bt5/erp5_banking_inventory/SkinTemplateItem/portal_skins/erp5_banking_inventory/BankAccountInventoryGroup_view/my_stop_date.xml index 9a76e1143b..4a26343092 100644 --- a/bt5/erp5_banking_inventory/SkinTemplateItem/portal_skins/erp5_banking_inventory/BankAccountInventory_view/my_stop_date.xml +++ b/bt5/erp5_banking_inventory/SkinTemplateItem/portal_skins/erp5_banking_inventory/BankAccountInventoryGroup_view/my_stop_date.xml @@ -9,12 +9,6 @@ </pickle> <pickle> <dictionary> - <item> - <key> <string>_owner</string> </key> - <value> - <none/> - </value> - </item> <item> <key> <string>id</string> </key> <value> <string>my_stop_date</string> </value> diff --git a/bt5/erp5_banking_inventory/SkinTemplateItem/portal_skins/erp5_banking_inventory/BankAccountInventory_view/my_title.xml b/bt5/erp5_banking_inventory/SkinTemplateItem/portal_skins/erp5_banking_inventory/BankAccountInventoryGroup_view/my_title.xml similarity index 98% rename from bt5/erp5_banking_inventory/SkinTemplateItem/portal_skins/erp5_banking_inventory/BankAccountInventory_view/my_title.xml rename to bt5/erp5_banking_inventory/SkinTemplateItem/portal_skins/erp5_banking_inventory/BankAccountInventoryGroup_view/my_title.xml index 444c211a1b..e780a2f7df 100644 --- a/bt5/erp5_banking_inventory/SkinTemplateItem/portal_skins/erp5_banking_inventory/BankAccountInventory_view/my_title.xml +++ b/bt5/erp5_banking_inventory/SkinTemplateItem/portal_skins/erp5_banking_inventory/BankAccountInventoryGroup_view/my_title.xml @@ -9,12 +9,6 @@ </pickle> <pickle> <dictionary> - <item> - <key> <string>_owner</string> </key> - <value> - <none/> - </value> - </item> <item> <key> <string>id</string> </key> <value> <string>my_title</string> </value> diff --git a/bt5/erp5_banking_inventory/SkinTemplateItem/portal_skins/erp5_banking_inventory/BankAccountInventoryLine_view.xml b/bt5/erp5_banking_inventory/SkinTemplateItem/portal_skins/erp5_banking_inventory/BankAccountInventoryLine_view.xml index d2117ddae2..cf52ba2942 100644 --- a/bt5/erp5_banking_inventory/SkinTemplateItem/portal_skins/erp5_banking_inventory/BankAccountInventoryLine_view.xml +++ b/bt5/erp5_banking_inventory/SkinTemplateItem/portal_skins/erp5_banking_inventory/BankAccountInventoryLine_view.xml @@ -99,7 +99,6 @@ <value> <list> <string>my_resource</string> - <string>my_destination_payment_reference</string> <string>my_quantity</string> </list> </value> diff --git a/bt5/erp5_banking_inventory/SkinTemplateItem/portal_skins/erp5_banking_inventory/BankAccountInventoryLine_view/my_quantity.xml b/bt5/erp5_banking_inventory/SkinTemplateItem/portal_skins/erp5_banking_inventory/BankAccountInventoryLine_view/my_quantity.xml index a6c1dbec7d..f9fcf252a2 100644 --- a/bt5/erp5_banking_inventory/SkinTemplateItem/portal_skins/erp5_banking_inventory/BankAccountInventoryLine_view/my_quantity.xml +++ b/bt5/erp5_banking_inventory/SkinTemplateItem/portal_skins/erp5_banking_inventory/BankAccountInventoryLine_view/my_quantity.xml @@ -9,12 +9,6 @@ </pickle> <pickle> <dictionary> - <item> - <key> <string>_owner</string> </key> - <value> - <none/> - </value> - </item> <item> <key> <string>id</string> </key> <value> <string>my_quantity</string> </value> diff --git a/bt5/erp5_banking_inventory/SkinTemplateItem/portal_skins/erp5_banking_inventory/BankAccountInventoryLine_view/my_resource.xml b/bt5/erp5_banking_inventory/SkinTemplateItem/portal_skins/erp5_banking_inventory/BankAccountInventoryLine_view/my_resource.xml index 50c15412e8..936ea90b5b 100644 --- a/bt5/erp5_banking_inventory/SkinTemplateItem/portal_skins/erp5_banking_inventory/BankAccountInventoryLine_view/my_resource.xml +++ b/bt5/erp5_banking_inventory/SkinTemplateItem/portal_skins/erp5_banking_inventory/BankAccountInventoryLine_view/my_resource.xml @@ -9,12 +9,6 @@ </pickle> <pickle> <dictionary> - <item> - <key> <string>_owner</string> </key> - <value> - <none/> - </value> - </item> <item> <key> <string>id</string> </key> <value> <string>my_resource</string> </value> diff --git a/bt5/erp5_banking_inventory/SkinTemplateItem/portal_skins/erp5_banking_inventory/BankAccountInventoryModule_viewBankAccountInventory/listbox.xml b/bt5/erp5_banking_inventory/SkinTemplateItem/portal_skins/erp5_banking_inventory/BankAccountInventoryModule_viewBankAccountInventory/listbox.xml index 339eef1ed2..2abbf8d236 100644 --- a/bt5/erp5_banking_inventory/SkinTemplateItem/portal_skins/erp5_banking_inventory/BankAccountInventoryModule_viewBankAccountInventory/listbox.xml +++ b/bt5/erp5_banking_inventory/SkinTemplateItem/portal_skins/erp5_banking_inventory/BankAccountInventoryModule_viewBankAccountInventory/listbox.xml @@ -9,12 +9,6 @@ </pickle> <pickle> <dictionary> - <item> - <key> <string>_owner</string> </key> - <value> - <none/> - </value> - </item> <item> <key> <string>id</string> </key> <value> <string>listbox</string> </value> diff --git a/bt5/erp5_banking_inventory/SkinTemplateItem/portal_skins/erp5_banking_inventory/BankAccountInventory_getDefaultInventoryCalculationList.xml b/bt5/erp5_banking_inventory/SkinTemplateItem/portal_skins/erp5_banking_inventory/BankAccountInventory_getDefaultInventoryCalculationList.xml index de9808c413..7c069e4257 100644 --- a/bt5/erp5_banking_inventory/SkinTemplateItem/portal_skins/erp5_banking_inventory/BankAccountInventory_getDefaultInventoryCalculationList.xml +++ b/bt5/erp5_banking_inventory/SkinTemplateItem/portal_skins/erp5_banking_inventory/BankAccountInventory_getDefaultInventoryCalculationList.xml @@ -65,17 +65,13 @@ </item> <item> <key> <string>_body</string> </key> - <value> <string>default_inventory_calculation_list = ({ "inventory_params" : {"node" : context.getDestination(),\n - "group_by_payment" : 1,\n + <value> <string>default_inventory_calculation_list = ({ "inventory_params" : {"payment_uid" : context.getDestinationPaymentUid(),\n "group_by_resource" : 1,\n },\n "list_method" : "getMovementList",\n "first_level" : ({\'key\' : \'resource_relative_url\',\n \'getter\' : \'getResource\',\n \'setter\' : ("appendToCategoryList", "resource")},\n - {\'key\' : \'payment_uid\',\n - \'getter\' : \'getDestinationPaymentUid\',\n - \'setter\' : ("appendToCategoryListFromUid", "destination_payment")},\n ),\n },\n )\n diff --git a/bt5/erp5_banking_inventory/SkinTemplateItem/portal_skins/erp5_banking_inventory/BankAccountInventory_init.xml b/bt5/erp5_banking_inventory/SkinTemplateItem/portal_skins/erp5_banking_inventory/BankAccountInventory_init.xml new file mode 100644 index 0000000000..d10966c015 --- /dev/null +++ b/bt5/erp5_banking_inventory/SkinTemplateItem/portal_skins/erp5_banking_inventory/BankAccountInventory_init.xml @@ -0,0 +1,148 @@ +<?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>context.setSource("account_module/bank_account")\n +context.setDestination("account_module/bank_account")\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>**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>kw</string> + <string>_getattr_</string> + <string>context</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>BankAccountInventory_init</string> </value> + </item> + <item> + <key> <string>warnings</string> </key> + <value> + <tuple/> + </value> + </item> + </dictionary> + </pickle> + </record> +</ZopeData> diff --git a/bt5/erp5_banking_inventory/SkinTemplateItem/portal_skins/erp5_banking_inventory/BankAccountInventory_view.xml b/bt5/erp5_banking_inventory/SkinTemplateItem/portal_skins/erp5_banking_inventory/BankAccountInventory_view.xml index 8348dd655a..b88dd8a1e8 100644 --- a/bt5/erp5_banking_inventory/SkinTemplateItem/portal_skins/erp5_banking_inventory/BankAccountInventory_view.xml +++ b/bt5/erp5_banking_inventory/SkinTemplateItem/portal_skins/erp5_banking_inventory/BankAccountInventory_view.xml @@ -87,27 +87,20 @@ <item> <key> <string>center</string> </key> <value> - <list> - <string>my_description</string> - </list> + <list/> </value> </item> <item> <key> <string>hidden</string> </key> <value> - <list> - <string>listbox_destination_payment_reference</string> - </list> + <list/> </value> </item> <item> <key> <string>left</string> </key> <value> <list> - <string>my_id</string> - <string>my_title</string> - <string>my_destination</string> - <string>my_stop_date</string> + <string>my_destination_payment_reference</string> </list> </value> </item> diff --git a/bt5/erp5_banking_inventory/SkinTemplateItem/portal_skins/erp5_banking_inventory/BankAccountInventory_view/listbox.xml b/bt5/erp5_banking_inventory/SkinTemplateItem/portal_skins/erp5_banking_inventory/BankAccountInventory_view/listbox.xml index 630f7ebbe2..2ffe85423a 100644 --- a/bt5/erp5_banking_inventory/SkinTemplateItem/portal_skins/erp5_banking_inventory/BankAccountInventory_view/listbox.xml +++ b/bt5/erp5_banking_inventory/SkinTemplateItem/portal_skins/erp5_banking_inventory/BankAccountInventory_view/listbox.xml @@ -9,12 +9,6 @@ </pickle> <pickle> <dictionary> - <item> - <key> <string>_owner</string> </key> - <value> - <none/> - </value> - </item> <item> <key> <string>id</string> </key> <value> <string>listbox</string> </value> @@ -333,25 +327,19 @@ <value> <list> <tuple> - <string>destination_payment_reference</string> - <string>Bank Account Number</string> + <string>resource_title</string> + <string>Currency</string> </tuple> <tuple> <string>quantity</string> <string>Amount</string> </tuple> - <tuple> - <string>resource_title</string> - <string>Currency</string> - </tuple> </list> </value> </item> <item> <key> <string>count_method</string> </key> - <value> - <persistent> <string encoding="base64">AAAAAAAAAAI=</string> </persistent> - </value> + <value> <string></string> </value> </item> <item> <key> <string>css_class</string> </key> @@ -420,7 +408,7 @@ <item> <key> <string>list_method</string> </key> <value> - <persistent> <string encoding="base64">AAAAAAAAAAM=</string> </persistent> + <persistent> <string encoding="base64">AAAAAAAAAAI=</string> </persistent> </value> </item> <item> @@ -521,23 +509,7 @@ <dictionary> <item> <key> <string>method_name</string> </key> - <value> <string>countFolder</string> </value> - </item> - </dictionary> - </pickle> - </record> - <record id="3" aka="AAAAAAAAAAM="> - <pickle> - <tuple> - <global name="Method" module="Products.Formulator.MethodField"/> - <tuple/> - </tuple> - </pickle> - <pickle> - <dictionary> - <item> - <key> <string>method_name</string> </key> - <value> <string>searchFolder</string> </value> + <value> <string>objectValues</string> </value> </item> </dictionary> </pickle> diff --git a/bt5/erp5_banking_inventory/SkinTemplateItem/portal_skins/erp5_banking_inventory/BankAccountInventoryLine_view/my_destination_payment_reference.xml b/bt5/erp5_banking_inventory/SkinTemplateItem/portal_skins/erp5_banking_inventory/BankAccountInventory_view/my_destination_payment_reference.xml similarity index 99% rename from bt5/erp5_banking_inventory/SkinTemplateItem/portal_skins/erp5_banking_inventory/BankAccountInventoryLine_view/my_destination_payment_reference.xml rename to bt5/erp5_banking_inventory/SkinTemplateItem/portal_skins/erp5_banking_inventory/BankAccountInventory_view/my_destination_payment_reference.xml index bf4a44c321..abeed007fa 100644 --- a/bt5/erp5_banking_inventory/SkinTemplateItem/portal_skins/erp5_banking_inventory/BankAccountInventoryLine_view/my_destination_payment_reference.xml +++ b/bt5/erp5_banking_inventory/SkinTemplateItem/portal_skins/erp5_banking_inventory/BankAccountInventory_view/my_destination_payment_reference.xml @@ -9,12 +9,6 @@ </pickle> <pickle> <dictionary> - <item> - <key> <string>_owner</string> </key> - <value> - <none/> - </value> - </item> <item> <key> <string>id</string> </key> <value> <string>my_destination_payment_reference</string> </value> diff --git a/bt5/erp5_banking_inventory/SkinTemplateItem/portal_skins/erp5_banking_inventory/CashInventory_view/listbox.xml b/bt5/erp5_banking_inventory/SkinTemplateItem/portal_skins/erp5_banking_inventory/CashInventory_view/listbox.xml index f7763370f5..1bc4535536 100644 --- a/bt5/erp5_banking_inventory/SkinTemplateItem/portal_skins/erp5_banking_inventory/CashInventory_view/listbox.xml +++ b/bt5/erp5_banking_inventory/SkinTemplateItem/portal_skins/erp5_banking_inventory/CashInventory_view/listbox.xml @@ -403,6 +403,10 @@ <string>quantity</string> <string>quantity</string> </tuple> + <tuple> + <string>total_price</string> + <string>Amount</string> + </tuple> </list> </value> </item> @@ -532,18 +536,15 @@ <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> <dictionary> <item> <key> <string>method_name</string> </key> - <value> <unicode>Delivery_getMovementList</unicode> </value> + <value> <string>Delivery_getMovementList</string> </value> </item> </dictionary> </pickle> diff --git a/bt5/erp5_banking_inventory/SkinTemplateItem/portal_skins/erp5_banking_inventory/CashInventory_view/listbox_total_price.xml b/bt5/erp5_banking_inventory/SkinTemplateItem/portal_skins/erp5_banking_inventory/CashInventory_view/listbox_total_price.xml index 6ddd7a30ed..234e873e4e 100644 --- a/bt5/erp5_banking_inventory/SkinTemplateItem/portal_skins/erp5_banking_inventory/CashInventory_view/listbox_total_price.xml +++ b/bt5/erp5_banking_inventory/SkinTemplateItem/portal_skins/erp5_banking_inventory/CashInventory_view/listbox_total_price.xml @@ -212,7 +212,7 @@ </item> <item> <key> <string>editable</string> </key> - <value> <int>1</int> </value> + <value> <int>0</int> </value> </item> <item> <key> <string>enabled</string> </key> @@ -259,18 +259,15 @@ <record id="2" aka="AAAAAAAAAAI="> <pickle> <tuple> - <tuple> - <string>Products.Formulator.TALESField</string> - <string>TALESMethod</string> - </tuple> - <none/> + <global name="TALESMethod" module="Products.Formulator.TALESField"/> + <tuple/> </tuple> </pickle> <pickle> <dictionary> <item> <key> <string>_text</string> </key> - <value> <string>python: int(cell.getPrice())</string> </value> + <value> <string>python: int(cell.getTotalPrice())</string> </value> </item> </dictionary> </pickle> diff --git a/bt5/erp5_banking_inventory/bt/revision b/bt5/erp5_banking_inventory/bt/revision index 3cacc0b93c..3f10ffe7a4 100644 --- a/bt5/erp5_banking_inventory/bt/revision +++ b/bt5/erp5_banking_inventory/bt/revision @@ -1 +1 @@ -12 \ No newline at end of file +15 \ No newline at end of file diff --git a/bt5/erp5_banking_inventory/bt/template_action_path_list b/bt5/erp5_banking_inventory/bt/template_action_path_list index 5eb9ad7e53..a110c9a9d1 100644 --- a/bt5/erp5_banking_inventory/bt/template_action_path_list +++ b/bt5/erp5_banking_inventory/bt/template_action_path_list @@ -1,3 +1,4 @@ +Bank Account Inventory Group | view Bank Account Inventory Line | view Bank Account Inventory Module | view Bank Account Inventory | view @@ -6,4 +7,5 @@ Cash Inventory Group | view Cash Inventory Line | view Cash Inventory Module | view Cash Inventory | fastinput +Cash Inventory | print Cash Inventory | view \ No newline at end of file diff --git a/bt5/erp5_banking_inventory/bt/template_portal_type_allowed_content_type_list b/bt5/erp5_banking_inventory/bt/template_portal_type_allowed_content_type_list index ff6fa1faf5..e648d564a3 100644 --- a/bt5/erp5_banking_inventory/bt/template_portal_type_allowed_content_type_list +++ b/bt5/erp5_banking_inventory/bt/template_portal_type_allowed_content_type_list @@ -1,4 +1,6 @@ +Bank Account Inventory Group | Bank Account Inventory Bank Account Inventory Module | Bank Account Inventory +Bank Account Inventory Module | Bank Account Inventory Group Bank Account Inventory | Bank Account Inventory Line Cash Inventory Group | Cash Inventory Cash Inventory Line | Cash Inventory Cell diff --git a/bt5/erp5_banking_inventory/bt/template_portal_type_base_category_list b/bt5/erp5_banking_inventory/bt/template_portal_type_base_category_list index 7c7f485df1..549a4019ed 100644 --- a/bt5/erp5_banking_inventory/bt/template_portal_type_base_category_list +++ b/bt5/erp5_banking_inventory/bt/template_portal_type_base_category_list @@ -1,3 +1,4 @@ +Bank Account Inventory Group | site Bank Account Inventory Line | destination Bank Account Inventory Line | price_currency Bank Account Inventory | destination diff --git a/bt5/erp5_banking_inventory/bt/template_portal_type_hidden_content_type_list b/bt5/erp5_banking_inventory/bt/template_portal_type_hidden_content_type_list index dedcbdbc95..58ce2313d0 100644 --- a/bt5/erp5_banking_inventory/bt/template_portal_type_hidden_content_type_list +++ b/bt5/erp5_banking_inventory/bt/template_portal_type_hidden_content_type_list @@ -1,2 +1,4 @@ +Bank Account Inventory Module | Bank Account Inventory +Bank Account Inventory Module | Bank Account Inventory Group Cash Inventory Line | Cash Inventory Cell Cash Inventory | Cash Inventory Line \ No newline at end of file diff --git a/bt5/erp5_banking_inventory/bt/template_portal_type_id_list b/bt5/erp5_banking_inventory/bt/template_portal_type_id_list index 277838add5..ed3bc324e4 100644 --- a/bt5/erp5_banking_inventory/bt/template_portal_type_id_list +++ b/bt5/erp5_banking_inventory/bt/template_portal_type_id_list @@ -1,4 +1,5 @@ Bank Account Inventory +Bank Account Inventory Group Bank Account Inventory Line Bank Account Inventory Module Cash Inventory diff --git a/bt5/erp5_banking_inventory/bt/template_portal_type_property_sheet_list b/bt5/erp5_banking_inventory/bt/template_portal_type_property_sheet_list index ad6aa3a10e..14f152252f 100644 --- a/bt5/erp5_banking_inventory/bt/template_portal_type_property_sheet_list +++ b/bt5/erp5_banking_inventory/bt/template_portal_type_property_sheet_list @@ -1,3 +1,5 @@ +Bank Account Inventory Group | Arrow +Bank Account Inventory Group | Task Bank Account Inventory Line | Amount Bank Account Inventory Line | Arrow Bank Account Inventory Line | Base diff --git a/bt5/erp5_banking_inventory/bt/template_portal_type_workflow_chain_list b/bt5/erp5_banking_inventory/bt/template_portal_type_workflow_chain_list index c6f4ccd283..f9f43a06ec 100644 --- a/bt5/erp5_banking_inventory/bt/template_portal_type_workflow_chain_list +++ b/bt5/erp5_banking_inventory/bt/template_portal_type_workflow_chain_list @@ -1,4 +1,7 @@ +Bank Account Inventory Group | edit_workflow +Bank Account Inventory Line | edit_workflow Bank Account Inventory | edit_workflow Bank Account Inventory | inventory_workflow +Cash Inventory Group | edit_workflow Cash Inventory | edit_workflow Cash Inventory | inventory_workflow \ No newline at end of file -- 2.30.9