diff --git a/bt5/erp5_banking_inventory/ModuleTemplateItem/bank_account_inventory_module.xml b/bt5/erp5_banking_inventory/ModuleTemplateItem/bank_account_inventory_module.xml index 999dba0e4665746e06caa2a2f5ed334414e8f261..5237ee6cccd355ee5225a63b0beb17060c713af5 100644 --- a/bt5/erp5_banking_inventory/ModuleTemplateItem/bank_account_inventory_module.xml +++ b/bt5/erp5_banking_inventory/ModuleTemplateItem/bank_account_inventory_module.xml @@ -466,6 +466,9 @@ <name>Edit Factories</name> <role>Manager</role> </permission> + <permission type='list'> + <name>Edit ParsedXML</name> + </permission> <permission type='tuple'> <name>Edit ReStructuredText</name> <role>Manager</role> @@ -666,6 +669,9 @@ <role>Author</role> <role>Manager</role> </permission> + <permission type='list'> + <name>View DOM hierarchy</name> + </permission> <permission type='tuple'> <name>View History</name> <role>Assignee</role> diff --git a/bt5/erp5_banking_inventory/ModuleTemplateItem/cash_inventory_module.xml b/bt5/erp5_banking_inventory/ModuleTemplateItem/cash_inventory_module.xml index ffd0bc9699b478b8fd9bb2b9c0ba3c0a76b818be..52fc609aa28d57eac2e2c963bf0e61a2f25166e7 100644 --- a/bt5/erp5_banking_inventory/ModuleTemplateItem/cash_inventory_module.xml +++ b/bt5/erp5_banking_inventory/ModuleTemplateItem/cash_inventory_module.xml @@ -459,6 +459,9 @@ <name>Edit Factories</name> <role>Manager</role> </permission> + <permission type='list'> + <name>Edit ParsedXML</name> + </permission> <permission type='tuple'> <name>Edit ReStructuredText</name> <role>Manager</role> @@ -657,6 +660,9 @@ <role>Author</role> <role>Manager</role> </permission> + <permission type='list'> + <name>View DOM hierarchy</name> + </permission> <permission type='tuple'> <name>View History</name> <role>Assignee</role> 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 dddb95cc2d8bff2a3714a3ea6d26910ed6abecd5..8b7b2fa702133da3c6b719f315e20b0975dba354 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 @@ -33,6 +33,25 @@ <none/> </value> </item> + <item> + <key> <string>_property_domain_dict</string> </key> + <value> + <dictionary> + <item> + <key> <string>short_title</string> </key> + <value> + <persistent> <string encoding="base64">AAAAAAAAAAI=</string> </persistent> + </value> + </item> + <item> + <key> <string>title</string> </key> + <value> + <persistent> <string encoding="base64">AAAAAAAAAAM=</string> </persistent> + </value> + </item> + </dictionary> + </value> + </item> <item> <key> <string>_roles</string> </key> <value> @@ -112,4 +131,44 @@ </dictionary> </pickle> </record> + <record id="2" aka="AAAAAAAAAAI="> + <pickle> + <tuple> + <global name="TranslationInformation" module="Products.ERP5Type.TranslationProviderBase"/> + <tuple/> + </tuple> + </pickle> + <pickle> + <dictionary> + <item> + <key> <string>domain_name</string> </key> + <value> <string>erp5_ui</string> </value> + </item> + <item> + <key> <string>property_name</string> </key> + <value> <string>short_title</string> </value> + </item> + </dictionary> + </pickle> + </record> + <record id="3" aka="AAAAAAAAAAM="> + <pickle> + <tuple> + <global name="TranslationInformation" module="Products.ERP5Type.TranslationProviderBase"/> + <tuple/> + </tuple> + </pickle> + <pickle> + <dictionary> + <item> + <key> <string>domain_name</string> </key> + <value> <string>erp5_ui</string> </value> + </item> + <item> + <key> <string>property_name</string> </key> + <value> <string>title</string> </value> + </item> + </dictionary> + </pickle> + </record> </ZopeData> diff --git a/bt5/erp5_banking_inventory/PortalTypeTemplateItem/portal_types/Cash%20Inventory%20Module.xml b/bt5/erp5_banking_inventory/PortalTypeTemplateItem/portal_types/Cash%20Inventory%20Module.xml index 6e623f0a34adc1d1e8b3c928117d84d4448672f1..9577b2ccb24b38cb384e2e1c9f6da8c0b0c3e429 100644 --- a/bt5/erp5_banking_inventory/PortalTypeTemplateItem/portal_types/Cash%20Inventory%20Module.xml +++ b/bt5/erp5_banking_inventory/PortalTypeTemplateItem/portal_types/Cash%20Inventory%20Module.xml @@ -33,6 +33,25 @@ <none/> </value> </item> + <item> + <key> <string>_property_domain_dict</string> </key> + <value> + <dictionary> + <item> + <key> <string>short_title</string> </key> + <value> + <persistent> <string encoding="base64">AAAAAAAAAAI=</string> </persistent> + </value> + </item> + <item> + <key> <string>title</string> </key> + <value> + <persistent> <string encoding="base64">AAAAAAAAAAM=</string> </persistent> + </value> + </item> + </dictionary> + </value> + </item> <item> <key> <string>_roles</string> </key> <value> @@ -98,4 +117,44 @@ </dictionary> </pickle> </record> + <record id="2" aka="AAAAAAAAAAI="> + <pickle> + <tuple> + <global name="TranslationInformation" module="Products.ERP5Type.TranslationProviderBase"/> + <tuple/> + </tuple> + </pickle> + <pickle> + <dictionary> + <item> + <key> <string>domain_name</string> </key> + <value> <string>erp5_ui</string> </value> + </item> + <item> + <key> <string>property_name</string> </key> + <value> <string>short_title</string> </value> + </item> + </dictionary> + </pickle> + </record> + <record id="3" aka="AAAAAAAAAAM="> + <pickle> + <tuple> + <global name="TranslationInformation" module="Products.ERP5Type.TranslationProviderBase"/> + <tuple/> + </tuple> + </pickle> + <pickle> + <dictionary> + <item> + <key> <string>domain_name</string> </key> + <value> <string>erp5_ui</string> </value> + </item> + <item> + <key> <string>property_name</string> </key> + <value> <string>title</string> </value> + </item> + </dictionary> + </pickle> + </record> </ZopeData> 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 index 49a79a419bc9388db7867cfcf24facdfae0d3ac5..0e04c7f7a3375080b69ed5be67b27133af35f127 100644 --- 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 @@ -110,7 +110,7 @@ <list> <string>my_title</string> <string>my_stop_date</string> - <string>my_site</string> + <string>my_destination</string> <string>listbox_total_price</string> </list> </value> diff --git a/bt5/erp5_banking_inventory/SkinTemplateItem/portal_skins/erp5_banking_inventory/BankAccountInventoryGroup_view/my_site.xml b/bt5/erp5_banking_inventory/SkinTemplateItem/portal_skins/erp5_banking_inventory/BankAccountInventoryGroup_view/my_destination.xml similarity index 99% rename from bt5/erp5_banking_inventory/SkinTemplateItem/portal_skins/erp5_banking_inventory/BankAccountInventoryGroup_view/my_site.xml rename to bt5/erp5_banking_inventory/SkinTemplateItem/portal_skins/erp5_banking_inventory/BankAccountInventoryGroup_view/my_destination.xml index 8722cbd0072fb9652276d3eeab5a4af77cefa81e..a510f9289172ad6fbd7efbfbfb52cd1ada406681 100644 --- a/bt5/erp5_banking_inventory/SkinTemplateItem/portal_skins/erp5_banking_inventory/BankAccountInventoryGroup_view/my_site.xml +++ b/bt5/erp5_banking_inventory/SkinTemplateItem/portal_skins/erp5_banking_inventory/BankAccountInventoryGroup_view/my_destination.xml @@ -11,7 +11,7 @@ <dictionary> <item> <key> <string>id</string> </key> - <value> <string>my_site</string> </value> + <value> <string>my_destination</string> </value> </item> <item> <key> <string>message_values</string> </key> diff --git a/bt5/erp5_banking_inventory/SkinTemplateItem/portal_skins/erp5_banking_inventory/CashInventory_viewLineFastInputDialog.xml b/bt5/erp5_banking_inventory/SkinTemplateItem/portal_skins/erp5_banking_inventory/CashInventory_viewLineFastInputDialog.xml index 87dcd3103547f2437ab2251ba9440b1c8b9c9a08..d28f8f88388c633b2cbb4094efb479c44f12350a 100644 --- a/bt5/erp5_banking_inventory/SkinTemplateItem/portal_skins/erp5_banking_inventory/CashInventory_viewLineFastInputDialog.xml +++ b/bt5/erp5_banking_inventory/SkinTemplateItem/portal_skins/erp5_banking_inventory/CashInventory_viewLineFastInputDialog.xml @@ -91,7 +91,7 @@ if currency_id == context.Baobab_getPortalReferenceCurrencyID():\n else:\n letter_list = [\'not_defined\']\n variation_list = [\'not_defined\']\n - cash_status_list = [\'not_defined\']\n + cash_status_list = [\'not_defined\', \'valid\']\n \n cash_detail_dict = {\'line_portal_type\' : \'Cash Inventory Line\'\n , \'operation_currency\' : context.getPriceCurrencyId()\n diff --git a/bt5/erp5_banking_inventory/WorkflowTemplateItem/portal_workflow/inventory_workflow.xml b/bt5/erp5_banking_inventory/WorkflowTemplateItem/portal_workflow/inventory_workflow.xml index 42f732bd59fd036d24d36e7708dbbce2d72a34f6..d8ad49709a0402f3787eae14aef94c87fda6bd4e 100644 --- a/bt5/erp5_banking_inventory/WorkflowTemplateItem/portal_workflow/inventory_workflow.xml +++ b/bt5/erp5_banking_inventory/WorkflowTemplateItem/portal_workflow/inventory_workflow.xml @@ -59,6 +59,7 @@ <string>Modify portal content</string> <string>Access contents information</string> <string>Add portal content</string> + <string>Delete objects</string> </tuple> </value> </item> diff --git a/bt5/erp5_banking_inventory/WorkflowTemplateItem/portal_workflow/inventory_workflow/states/delivered.xml b/bt5/erp5_banking_inventory/WorkflowTemplateItem/portal_workflow/inventory_workflow/states/delivered.xml index 1b1cbda489723ce25fe22bc51ba1e3f8e551e471..efb8c4d533165d83a79059230e8dd4a0666c5b24 100644 --- a/bt5/erp5_banking_inventory/WorkflowTemplateItem/portal_workflow/inventory_workflow/states/delivered.xml +++ b/bt5/erp5_banking_inventory/WorkflowTemplateItem/portal_workflow/inventory_workflow/states/delivered.xml @@ -84,6 +84,14 @@ </tuple> </value> </item> + <item> + <key> <string>Delete objects</string> </key> + <value> + <tuple> + <string>Manager</string> + </tuple> + </value> + </item> <item> <key> <string>Modify portal content</string> </key> <value> diff --git a/bt5/erp5_banking_inventory/bt/revision b/bt5/erp5_banking_inventory/bt/revision index 2edeafb09db0093bae6ff060e2dcd2166f5c9387..b5045cc4046dbc1d7cafa4c603fd3cdf35dc5dde 100644 --- a/bt5/erp5_banking_inventory/bt/revision +++ b/bt5/erp5_banking_inventory/bt/revision @@ -1 +1 @@ -20 \ No newline at end of file +21 \ No newline at end of file