Commit 71f28b43 authored by Roque's avatar Roque

erp5_scalability_test: new script for metrics

- ERP5Site_getScalabilityTestMetric script gets metrics of last created objects
- Bootstrap script now creates the users for test

/reviewed-on !513
parents 4385a2bb 31463388
<?xml version="1.0"?>
<ZopeData>
<record id="1" aka="AAAAAAAAAAE=">
<pickle>
<global name="Configuration Save" module="erp5.portal_type"/>
</pickle>
<pickle>
<dictionary>
<item>
<key> <string>_count</string> </key>
<value>
<persistent> <string encoding="base64">AAAAAAAAAAI=</string> </persistent>
</value>
</item>
<item>
<key> <string>_identity_criterion</string> </key>
<value>
<persistent> <string encoding="base64">AAAAAAAAAAM=</string> </persistent>
</value>
</item>
<item>
<key> <string>_mt_index</string> </key>
<value>
<persistent> <string encoding="base64">AAAAAAAAAAQ=</string> </persistent>
</value>
</item>
<item>
<key> <string>_range_criterion</string> </key>
<value>
<persistent> <string encoding="base64">AAAAAAAAAAU=</string> </persistent>
</value>
</item>
<item>
<key> <string>_tree</string> </key>
<value>
<persistent> <string encoding="base64">AAAAAAAAAAY=</string> </persistent>
</value>
</item>
<item>
<key> <string>id</string> </key>
<value> <string>3</string> </value>
</item>
<item>
<key> <string>portal_type</string> </key>
<value> <string>Configuration Save</string> </value>
</item>
<item>
<key> <string>title</string> </key>
<value> <string>Customer BT</string> </value>
</item>
</dictionary>
</pickle>
</record>
<record id="2" aka="AAAAAAAAAAI=">
<pickle>
<global name="Length" module="BTrees.Length"/>
</pickle>
<pickle> <int>0</int> </pickle>
</record>
<record id="3" aka="AAAAAAAAAAM=">
<pickle>
<global name="PersistentMapping" module="Persistence.mapping"/>
</pickle>
<pickle>
<dictionary>
<item>
<key> <string>data</string> </key>
<value>
<dictionary/>
</value>
</item>
</dictionary>
</pickle>
</record>
<record id="4" aka="AAAAAAAAAAQ=">
<pickle>
<global name="OOBTree" module="BTrees.OOBTree"/>
</pickle>
<pickle>
<none/>
</pickle>
</record>
<record id="5" aka="AAAAAAAAAAU=">
<pickle>
<global name="PersistentMapping" module="Persistence.mapping"/>
</pickle>
<pickle>
<dictionary>
<item>
<key> <string>data</string> </key>
<value>
<dictionary/>
</value>
</item>
</dictionary>
</pickle>
</record>
<record id="6" aka="AAAAAAAAAAY=">
<pickle>
<global name="OOBTree" module="BTrees.OOBTree"/>
</pickle>
<pickle>
<none/>
</pickle>
</record>
</ZopeData>
<?xml version="1.0"?>
<ZopeData>
<record id="1" aka="AAAAAAAAAAE=">
<pickle>
<global name="Portal Type Roles Spreadsheet Configurator Item" module="erp5.portal_type"/>
</pickle>
<pickle>
<dictionary>
<item>
<key> <string>_count</string> </key>
<value>
<persistent> <string encoding="base64">AAAAAAAAAAI=</string> </persistent>
</value>
</item>
<item>
<key> <string>_mt_index</string> </key>
<value>
<persistent> <string encoding="base64">AAAAAAAAAAM=</string> </persistent>
</value>
</item>
<item>
<key> <string>_tree</string> </key>
<value>
<persistent> <string encoding="base64">AAAAAAAAAAQ=</string> </persistent>
</value>
</item>
<item>
<key> <string>id</string> </key>
<value> <string>1</string> </value>
</item>
<item>
<key> <string>portal_type</string> </key>
<value> <string>Portal Type Roles Spreadsheet Configurator Item</string> </value>
</item>
<item>
<key> <string>sid</string> </key>
<value>
<none/>
</value>
</item>
</dictionary>
</pickle>
</record>
<record id="2" aka="AAAAAAAAAAI=">
<pickle>
<global name="Length" module="BTrees.Length"/>
</pickle>
<pickle> <int>1</int> </pickle>
</record>
<record id="3" aka="AAAAAAAAAAM=">
<pickle>
<global name="OOBTree" module="BTrees.OOBTree"/>
</pickle>
<pickle>
<tuple>
<tuple>
<tuple>
<tuple>
<string>ERP5 Embedded File</string>
<persistent> <string encoding="base64">AAAAAAAAAAU=</string> </persistent>
</tuple>
</tuple>
</tuple>
</tuple>
</pickle>
</record>
<record id="4" aka="AAAAAAAAAAQ=">
<pickle>
<global name="OOBTree" module="BTrees.OOBTree"/>
</pickle>
<pickle>
<tuple>
<tuple>
<tuple>
<tuple>
<string>default_configuration_spreadsheet</string>
<persistent> <string encoding="base64">AAAAAAAAAAY=</string> </persistent>
</tuple>
</tuple>
</tuple>
</tuple>
</pickle>
</record>
<record id="5" aka="AAAAAAAAAAU=">
<pickle>
<global name="OIBTree" module="BTrees.OIBTree"/>
</pickle>
<pickle>
<tuple>
<tuple>
<tuple>
<tuple>
<string>default_configuration_spreadsheet</string>
<int>1</int>
</tuple>
</tuple>
</tuple>
</tuple>
</pickle>
</record>
<record id="6" aka="AAAAAAAAAAY=">
<pickle>
<global name="Embedded File" module="erp5.portal_type"/>
</pickle>
<pickle>
<dictionary>
<item>
<key> <string>_EtagSupport__etag</string> </key>
<value> <string>ts07534770.92</string> </value>
</item>
<item>
<key> <string>__ac_local_roles__</string> </key>
<value>
<dictionary>
<item>
<key> <string>zope</string> </key>
<value>
<list>
<string>Owner</string>
</list>
</value>
</item>
</dictionary>
</value>
</item>
<item>
<key> <string>content_md5</string> </key>
<value> <string>575a421e809882f4267ab996f5dc6f30</string> </value>
</item>
<item>
<key> <string>data</string> </key>
<value> <string encoding="base64">UEsDBBQAAAgAALlxLUCFbDmKLgAAAC4AAAAIAAAAbWltZXR5cGVhcHBsaWNhdGlvbi92bmQub2Fz
aXMub3BlbmRvY3VtZW50LnNwcmVhZHNoZWV0UEsDBBQAAAgAALlxLUDMsFib7wMAAO8DAAAIAAAA
bWV0YS54bWw8P3htbCB2ZXJzaW9uPSIxLjAiIGVuY29kaW5nPSJVVEYtOCI/Pgo8b2ZmaWNlOmRv
Y3VtZW50LW1ldGEgeG1sbnM6b2ZmaWNlPSJ1cm46b2FzaXM6bmFtZXM6dGM6b3BlbmRvY3VtZW50
OnhtbG5zOm9mZmljZToxLjAiIHhtbG5zOnhsaW5rPSJodHRwOi8vd3d3LnczLm9yZy8xOTk5L3hs
aW5rIiB4bWxuczpkYz0iaHR0cDovL3B1cmwub3JnL2RjL2VsZW1lbnRzLzEuMS8iIHhtbG5zOm1l
dGE9InVybjpvYXNpczpuYW1lczp0YzpvcGVuZG9jdW1lbnQ6eG1sbnM6bWV0YToxLjAiIHhtbG5z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1BLAQIUABQAAAgAALlxLUAAAAAAAAAAAAAAAAAYAAAAAAAAAAAAAAAAAPwhAABDb25maWd1
cmF0aW9uczIvZmxvYXRlci9QSwECFAAUAAgICAC5cS1AAAAAAAIAAAAAAAAAJwAAAAAAAAAAAAAA
AAAyIgAAQ29uZmlndXJhdGlvbnMyL2FjY2VsZXJhdG9yL2N1cnJlbnQueG1sUEsBAhQAFAAICAgA
uXEtQPqwLUz9BQAA7BoAAAoAAAAAAAAAAAAAAAAAiSIAAHN0eWxlcy54bWxQSwECFAAUAAgICAC5
cS1AG6XEihYBAADhAwAAFQAAAAAAAAAAAAAAAAC+KAAATUVUQS1JTkYvbWFuaWZlc3QueG1sUEsF
BgAAAAAQABAANgQAABcqAAAAAA==</string> </value>
</item>
<item>
<key> <string>id</string> </key>
<value> <string>default_configuration_spreadsheet</string> </value>
</item>
<item>
<key> <string>portal_type</string> </key>
<value> <string>Embedded File</string> </value>
</item>
<item>
<key> <string>size</string> </key>
<value> <int>11875</int> </value>
</item>
<item>
<key> <string>uid</string> </key>
<value> <long>7476</long> </value>
</item>
<item>
<key> <string>workflow_history</string> </key>
<value>
<persistent> <string encoding="base64">AAAAAAAAAAc=</string> </persistent>
</value>
</item>
</dictionary>
</pickle>
</record>
<record id="7" aka="AAAAAAAAAAc=">
<pickle>
<global name="PersistentMapping" module="Persistence.mapping"/>
</pickle>
<pickle>
<dictionary>
<item>
<key> <string>data</string> </key>
<value>
<dictionary>
<item>
<key> <string>edit_workflow</string> </key>
<value>
<persistent> <string encoding="base64">AAAAAAAAAAg=</string> </persistent>
</value>
</item>
<item>
<key> <string>embedded_workflow</string> </key>
<value>
<persistent> <string encoding="base64">AAAAAAAAAAk=</string> </persistent>
</value>
</item>
</dictionary>
</value>
</item>
</dictionary>
</pickle>
</record>
<record id="8" aka="AAAAAAAAAAg=">
<pickle>
<global name="WorkflowHistoryList" module="Products.ERP5Type.patches.WorkflowTool"/>
</pickle>
<pickle>
<tuple>
<none/>
<list>
<dictionary>
<item>
<key> <string>action</string> </key>
<value> <string>edit</string> </value>
</item>
<item>
<key> <string>actor</string> </key>
<value> <string>zope</string> </value>
</item>
<item>
<key> <string>comment</string> </key>
<value> <string></string> </value>
</item>
<item>
<key> <string>error_message</string> </key>
<value> <string></string> </value>
</item>
<item>
<key> <string>serial</string> </key>
<value> <string>0.0.0.0</string> </value>
</item>
<item>
<key> <string>state</string> </key>
<value> <string>current</string> </value>
</item>
<item>
<key> <string>time</string> </key>
<value>
<object>
<klass>
<global name="DateTime" module="DateTime.DateTime"/>
</klass>
<tuple>
<none/>
</tuple>
<state>
<tuple>
<float>1507534770.92</float>
<string>UTC</string>
</tuple>
</state>
</object>
</value>
</item>
</dictionary>
</list>
</tuple>
</pickle>
</record>
<record id="9" aka="AAAAAAAAAAk=">
<pickle>
<global name="WorkflowHistoryList" module="Products.ERP5Type.patches.WorkflowTool"/>
</pickle>
<pickle>
<tuple>
<none/>
<list>
<dictionary>
<item>
<key> <string>action</string> </key>
<value>
<none/>
</value>
</item>
<item>
<key> <string>actor</string> </key>
<value> <string>zope</string> </value>
</item>
<item>
<key> <string>comment</string> </key>
<value> <string></string> </value>
</item>
<item>
<key> <string>error_message</string> </key>
<value> <string></string> </value>
</item>
<item>
<key> <string>time</string> </key>
<value>
<object>
<klass>
<global name="DateTime" module="DateTime.DateTime"/>
</klass>
<tuple>
<none/>
</tuple>
<state>
<tuple>
<float>1507534770.92</float>
<string>UTC</string>
</tuple>
</state>
</object>
</value>
</item>
<item>
<key> <string>validation_state</string> </key>
<value> <string>embedded</string> </value>
</item>
</dictionary>
</list>
</tuple>
</pickle>
</record>
</ZopeData>
<?xml version="1.0"?>
<ZopeData>
<record id="1" aka="AAAAAAAAAAE=">
<pickle>
<global name="Configuration Save" module="erp5.portal_type"/>
</pickle>
<pickle>
<dictionary>
<item>
<key> <string>_identity_criterion</string> </key>
<value>
<persistent> <string encoding="base64">AAAAAAAAAAI=</string> </persistent>
</value>
</item>
<item>
<key> <string>_local_properties</string> </key>
<value>
<tuple>
<dictionary>
<item>
<key> <string>id</string> </key>
<value> <string>company_employees_number</string> </value>
</item>
<item>
<key> <string>type</string> </key>
<value> <string>int</string> </value>
</item>
</dictionary>
</tuple>
</value>
</item>
<item>
<key> <string>_range_criterion</string> </key>
<value>
<persistent> <string encoding="base64">AAAAAAAAAAM=</string> </persistent>
</value>
</item>
<item>
<key> <string>company_employees_number</string> </key>
<value> <int>1</int> </value>
</item>
<item>
<key> <string>id</string> </key>
<value> <string>6</string> </value>
</item>
<item>
<key> <string>portal_type</string> </key>
<value> <string>Configuration Save</string> </value>
</item>
<item>
<key> <string>title</string> </key>
<value> <string>Your organisation</string> </value>
</item>
</dictionary>
</pickle>
</record>
<record id="2" aka="AAAAAAAAAAI=">
<pickle>
<global name="PersistentMapping" module="Persistence.mapping"/>
</pickle>
<pickle>
<dictionary>
<item>
<key> <string>data</string> </key>
<value>
<dictionary/>
</value>
</item>
</dictionary>
</pickle>
</record>
<record id="3" aka="AAAAAAAAAAM=">
<pickle>
<global name="PersistentMapping" module="Persistence.mapping"/>
</pickle>
<pickle>
<dictionary>
<item>
<key> <string>data</string> </key>
<value>
<dictionary/>
</value>
</item>
</dictionary>
</pickle>
</record>
</ZopeData>
<?xml version="1.0"?>
<ZopeData>
<record id="1" aka="AAAAAAAAAAE=">
<pickle>
<global name="Account Configurator Item" module="erp5.portal_type"/>
</pickle>
<pickle>
<dictionary>
<item>
<key> <string>_local_properties</string> </key>
<value>
<tuple>
<dictionary>
<item>
<key> <string>id</string> </key>
<value> <string>account_id</string> </value>
</item>
<item>
<key> <string>type</string> </key>
<value> <string>string</string> </value>
</item>
</dictionary>
</tuple>
</value>
</item>
<item>
<key> <string>account_id</string> </key>
<value> <string>coll_vat</string> </value>
</item>
<item>
<key> <string>categories</string> </key>
<value>
<tuple>
<string>financial_section/liability/current/other</string>
<string>gap/fr/pcg/4/44/445/4457</string>
<string>account_type/liability/payable/collected_vat</string>
</tuple>
</value>
</item>
<item>
<key> <string>id</string> </key>
<value> <string>10</string> </value>
</item>
<item>
<key> <string>portal_type</string> </key>
<value> <string>Account Configurator Item</string> </value>
</item>
<item>
<key> <string>sid</string> </key>
<value>
<none/>
</value>
</item>
<item>
<key> <string>title</string> </key>
<value> <string>TVA Collectée</string> </value>
</item>
</dictionary>
</pickle>
</record>
</ZopeData>
<?xml version="1.0"?>
<ZopeData>
<record id="1" aka="AAAAAAAAAAE=">
<pickle>
<global name="Account Configurator Item" module="erp5.portal_type"/>
</pickle>
<pickle>
<dictionary>
<item>
<key> <string>_local_properties</string> </key>
<value>
<tuple>
<dictionary>
<item>
<key> <string>id</string> </key>
<value> <string>account_id</string> </value>
</item>
<item>
<key> <string>type</string> </key>
<value> <string>string</string> </value>
</item>
</dictionary>
</tuple>
</value>
</item>
<item>
<key> <string>account_id</string> </key>
<value> <string>purchase</string> </value>
</item>
<item>
<key> <string>categories</string> </key>
<value>
<tuple>
<string>financial_section/expense/op_expense/cogs</string>
<string>gap/fr/pcg/6/60/607</string>
<string>account_type/expense</string>
</tuple>
</value>
</item>
<item>
<key> <string>id</string> </key>
<value> <string>11</string> </value>
</item>
<item>
<key> <string>portal_type</string> </key>
<value> <string>Account Configurator Item</string> </value>
</item>
<item>
<key> <string>sid</string> </key>
<value>
<none/>
</value>
</item>
<item>
<key> <string>title</string> </key>
<value> <string>Achats Marchandises</string> </value>
</item>
</dictionary>
</pickle>
</record>
</ZopeData>
<?xml version="1.0"?>
<ZopeData>
<record id="1" aka="AAAAAAAAAAE=">
<pickle>
<global name="Account Configurator Item" module="erp5.portal_type"/>
</pickle>
<pickle>
<dictionary>
<item>
<key> <string>_local_properties</string> </key>
<value>
<tuple>
<dictionary>
<item>
<key> <string>id</string> </key>
<value> <string>account_id</string> </value>
</item>
<item>
<key> <string>type</string> </key>
<value> <string>string</string> </value>
</item>
</dictionary>
</tuple>
</value>
</item>
<item>
<key> <string>account_id</string> </key>
<value> <string>sales</string> </value>
</item>
<item>
<key> <string>categories</string> </key>
<value>
<tuple>
<string>financial_section/income/revenue</string>
<string>gap/fr/pcg/7/70/707</string>
<string>account_type/income</string>
</tuple>
</value>
</item>
<item>
<key> <string>id</string> </key>
<value> <string>12</string> </value>
</item>
<item>
<key> <string>portal_type</string> </key>
<value> <string>Account Configurator Item</string> </value>
</item>
<item>
<key> <string>sid</string> </key>
<value>
<none/>
</value>
</item>
<item>
<key> <string>title</string> </key>
<value> <string>Ventes Marchandises</string> </value>
</item>
</dictionary>
</pickle>
</record>
</ZopeData>
<?xml version="1.0"?>
<ZopeData>
<record id="1" aka="AAAAAAAAAAE=">
<pickle>
<global name="Preference Configurator Item" module="erp5.portal_type"/>
</pickle>
<pickle>
<dictionary>
<item>
<key> <string>_local_properties</string> </key>
<value>
<tuple>
<dictionary>
<item>
<key> <string>id</string> </key>
<value> <string>preferred_accounting_transaction_from_date</string> </value>
</item>
<item>
<key> <string>type</string> </key>
<value> <string>string</string> </value>
</item>
</dictionary>
<dictionary>
<item>
<key> <string>id</string> </key>
<value> <string>preferred_accounting_transaction_section_category</string> </value>
</item>
<item>
<key> <string>type</string> </key>
<value> <string>string</string> </value>
</item>
</dictionary>
<dictionary>
<item>
<key> <string>id</string> </key>
<value> <string>preferred_accounting_transaction_simulation_state_list</string> </value>
</item>
<item>
<key> <string>type</string> </key>
<value> <string>string</string> </value>
</item>
</dictionary>
<dictionary>
<item>
<key> <string>id</string> </key>
<value> <string>preferred_accounting_transaction_at_date</string> </value>
</item>
<item>
<key> <string>type</string> </key>
<value> <string>string</string> </value>
</item>
</dictionary>
<dictionary>
<item>
<key> <string>id</string> </key>
<value> <string>preferred_section_category</string> </value>
</item>
<item>
<key> <string>type</string> </key>
<value> <string>string</string> </value>
</item>
</dictionary>
<dictionary>
<item>
<key> <string>id</string> </key>
<value> <string>object_id</string> </value>
</item>
<item>
<key> <string>type</string> </key>
<value> <string>string</string> </value>
</item>
</dictionary>
<dictionary>
<item>
<key> <string>id</string> </key>
<value> <string>preferred_accounting_transaction_gap</string> </value>
</item>
<item>
<key> <string>type</string> </key>
<value> <string>string</string> </value>
</item>
</dictionary>
</tuple>
</value>
</item>
<item>
<key> <string>id</string> </key>
<value> <string>13</string> </value>
</item>
<item>
<key> <string>object_id</string> </key>
<value> <string>default_configurator_preference</string> </value>
</item>
<item>
<key> <string>portal_type</string> </key>
<value> <string>Preference Configurator Item</string> </value>
</item>
<item>
<key> <string>preferred_accounting_transaction_at_date</string> </key>
<value>
<none/>
</value>
</item>
<item>
<key> <string>preferred_accounting_transaction_from_date</string> </key>
<value>
<none/>
</value>
</item>
<item>
<key> <string>preferred_accounting_transaction_gap</string> </key>
<value> <string>gap/fr/pcg</string> </value>
</item>
<item>
<key> <string>preferred_accounting_transaction_section_category</string> </key>
<value> <string>group/my_group</string> </value>
</item>
<item>
<key> <string>preferred_accounting_transaction_simulation_state_list</string> </key>
<value> <string>delivered stopped</string> </value>
</item>
<item>
<key> <string>preferred_section_category</string> </key>
<value> <string>group/my_group</string> </value>
</item>
<item>
<key> <string>sid</string> </key>
<value>
<none/>
</value>
</item>
</dictionary>
</pickle>
</record>
</ZopeData>
<?xml version="1.0"?>
<ZopeData>
<record id="1" aka="AAAAAAAAAAE=">
<pickle>
<global name="Accounting Period Configurator Item" module="erp5.portal_type"/>
</pickle>
<pickle>
<dictionary>
<item>
<key> <string>id</string> </key>
<value> <string>14</string> </value>
</item>
<item>
<key> <string>portal_type</string> </key>
<value> <string>Accounting Period Configurator Item</string> </value>
</item>
<item>
<key> <string>short_title</string> </key>
<value> <string>2017</string> </value>
</item>
<item>
<key> <string>sid</string> </key>
<value>
<none/>
</value>
</item>
<item>
<key> <string>start_date</string> </key>
<value>
<object>
<klass>
<global id="1.1" name="DateTime" module="DateTime.DateTime"/>
</klass>
<tuple>
<none/>
</tuple>
<state>
<tuple>
<float>1483228800.0</float>
<string>UTC</string>
</tuple>
</state>
</object>
</value>
</item>
<item>
<key> <string>stop_date</string> </key>
<value>
<object>
<klass> <reference id="1.1"/> </klass>
<tuple>
<none/>
</tuple>
<state>
<tuple>
<float>1577750400.0</float>
<string>UTC</string>
</tuple>
</state>
</object>
</value>
</item>
</dictionary>
</pickle>
</record>
</ZopeData>
<?xml version="1.0"?>
<ZopeData>
<record id="1" aka="AAAAAAAAAAE=">
<pickle>
<global name="Account Configurator Item" module="erp5.portal_type"/>
</pickle>
<pickle>
<dictionary>
<item>
<key> <string>_local_properties</string> </key>
<value>
<tuple>
<dictionary>
<item>
<key> <string>id</string> </key>
<value> <string>account_id</string> </value>
</item>
<item>
<key> <string>type</string> </key>
<value> <string>string</string> </value>
</item>
</dictionary>
</tuple>
</value>
</item>
<item>
<key> <string>account_id</string> </key>
<value> <string>capital</string> </value>
</item>
<item>
<key> <string>categories</string> </key>
<value>
<tuple>
<string>financial_section/equity/share_capital</string>
<string>gap/fr/pcg/1/10/101</string>
<string>account_type/equity</string>
</tuple>
</value>
</item>
<item>
<key> <string>id</string> </key>
<value> <string>2</string> </value>
</item>
<item>
<key> <string>portal_type</string> </key>
<value> <string>Account Configurator Item</string> </value>
</item>
<item>
<key> <string>sid</string> </key>
<value>
<none/>
</value>
</item>
<item>
<key> <string>title</string> </key>
<value> <string>Capital</string> </value>
</item>
</dictionary>
</pickle>
</record>
</ZopeData>
<?xml version="1.0"?>
<ZopeData>
<record id="1" aka="AAAAAAAAAAE=">
<pickle>
<global name="Account Configurator Item" module="erp5.portal_type"/>
</pickle>
<pickle>
<dictionary>
<item>
<key> <string>_local_properties</string> </key>
<value>
<tuple>
<dictionary>
<item>
<key> <string>id</string> </key>
<value> <string>account_id</string> </value>
</item>
<item>
<key> <string>type</string> </key>
<value> <string>string</string> </value>
</item>
</dictionary>
</tuple>
</value>
</item>
<item>
<key> <string>account_id</string> </key>
<value> <string>profit_loss</string> </value>
</item>
<item>
<key> <string>categories</string> </key>
<value>
<tuple>
<string>financial_section/equity/net_profit</string>
<string>gap/fr/pcg/1/12</string>
<string>account_type/equity</string>
</tuple>
</value>
</item>
<item>
<key> <string>id</string> </key>
<value> <string>3</string> </value>
</item>
<item>
<key> <string>portal_type</string> </key>
<value> <string>Account Configurator Item</string> </value>
</item>
<item>
<key> <string>sid</string> </key>
<value>
<none/>
</value>
</item>
<item>
<key> <string>title</string> </key>
<value> <string>Compte de résultat</string> </value>
</item>
</dictionary>
</pickle>
</record>
</ZopeData>
<?xml version="1.0"?>
<ZopeData>
<record id="1" aka="AAAAAAAAAAE=">
<pickle>
<global name="Account Configurator Item" module="erp5.portal_type"/>
</pickle>
<pickle>
<dictionary>
<item>
<key> <string>_local_properties</string> </key>
<value>
<tuple>
<dictionary>
<item>
<key> <string>id</string> </key>
<value> <string>account_id</string> </value>
</item>
<item>
<key> <string>type</string> </key>
<value> <string>string</string> </value>
</item>
</dictionary>
</tuple>
</value>
</item>
<item>
<key> <string>account_id</string> </key>
<value> <string>equipments</string> </value>
</item>
<item>
<key> <string>categories</string> </key>
<value>
<tuple>
<string>financial_section/asset/non_current/fixed_assets</string>
<string>gap/fr/pcg/2/21/215</string>
<string>account_type/asset</string>
</tuple>
</value>
</item>
<item>
<key> <string>id</string> </key>
<value> <string>4</string> </value>
</item>
<item>
<key> <string>portal_type</string> </key>
<value> <string>Account Configurator Item</string> </value>
</item>
<item>
<key> <string>sid</string> </key>
<value>
<none/>
</value>
</item>
<item>
<key> <string>title</string> </key>
<value> <string>Matériel</string> </value>
</item>
</dictionary>
</pickle>
</record>
</ZopeData>
<?xml version="1.0"?>
<ZopeData>
<record id="1" aka="AAAAAAAAAAE=">
<pickle>
<global name="Account Configurator Item" module="erp5.portal_type"/>
</pickle>
<pickle>
<dictionary>
<item>
<key> <string>_local_properties</string> </key>
<value>
<tuple>
<dictionary>
<item>
<key> <string>id</string> </key>
<value> <string>account_id</string> </value>
</item>
<item>
<key> <string>type</string> </key>
<value> <string>string</string> </value>
</item>
</dictionary>
</tuple>
</value>
</item>
<item>
<key> <string>account_id</string> </key>
<value> <string>inventories</string> </value>
</item>
<item>
<key> <string>categories</string> </key>
<value>
<tuple>
<string>financial_section/asset/current_assets/stock</string>
<string>gap/fr/pcg/3/37</string>
<string>account_type/asset</string>
</tuple>
</value>
</item>
<item>
<key> <string>id</string> </key>
<value> <string>5</string> </value>
</item>
<item>
<key> <string>portal_type</string> </key>
<value> <string>Account Configurator Item</string> </value>
</item>
<item>
<key> <string>sid</string> </key>
<value>
<none/>
</value>
</item>
<item>
<key> <string>title</string> </key>
<value> <string>Stocks Marchandises</string> </value>
</item>
</dictionary>
</pickle>
</record>
</ZopeData>
<?xml version="1.0"?>
<ZopeData>
<record id="1" aka="AAAAAAAAAAE=">
<pickle>
<global name="Account Configurator Item" module="erp5.portal_type"/>
</pickle>
<pickle>
<dictionary>
<item>
<key> <string>_local_properties</string> </key>
<value>
<tuple>
<dictionary>
<item>
<key> <string>id</string> </key>
<value> <string>account_id</string> </value>
</item>
<item>
<key> <string>type</string> </key>
<value> <string>string</string> </value>
</item>
</dictionary>
</tuple>
</value>
</item>
<item>
<key> <string>account_id</string> </key>
<value> <string>bank</string> </value>
</item>
<item>
<key> <string>categories</string> </key>
<value>
<tuple>
<string>financial_section/asset/current_assets/cash</string>
<string>gap/fr/pcg/5/51/512</string>
<string>account_type/asset/cash/bank</string>
</tuple>
</value>
</item>
<item>
<key> <string>id</string> </key>
<value> <string>6</string> </value>
</item>
<item>
<key> <string>portal_type</string> </key>
<value> <string>Account Configurator Item</string> </value>
</item>
<item>
<key> <string>sid</string> </key>
<value>
<none/>
</value>
</item>
<item>
<key> <string>title</string> </key>
<value> <string>Banques</string> </value>
</item>
</dictionary>
</pickle>
</record>
</ZopeData>
<?xml version="1.0"?>
<ZopeData>
<record id="1" aka="AAAAAAAAAAE=">
<pickle>
<global name="Account Configurator Item" module="erp5.portal_type"/>
</pickle>
<pickle>
<dictionary>
<item>
<key> <string>_local_properties</string> </key>
<value>
<tuple>
<dictionary>
<item>
<key> <string>id</string> </key>
<value> <string>account_id</string> </value>
</item>
<item>
<key> <string>type</string> </key>
<value> <string>string</string> </value>
</item>
</dictionary>
</tuple>
</value>
</item>
<item>
<key> <string>account_id</string> </key>
<value> <string>receivable</string> </value>
</item>
<item>
<key> <string>categories</string> </key>
<value>
<tuple>
<string>financial_section/asset/current_assets/trade_receivables</string>
<string>gap/fr/pcg/4/41/411</string>
<string>account_type/asset/receivable</string>
</tuple>
</value>
</item>
<item>
<key> <string>id</string> </key>
<value> <string>7</string> </value>
</item>
<item>
<key> <string>portal_type</string> </key>
<value> <string>Account Configurator Item</string> </value>
</item>
<item>
<key> <string>sid</string> </key>
<value>
<none/>
</value>
</item>
<item>
<key> <string>title</string> </key>
<value> <string>Clients</string> </value>
</item>
</dictionary>
</pickle>
</record>
</ZopeData>
<?xml version="1.0"?>
<ZopeData>
<record id="1" aka="AAAAAAAAAAE=">
<pickle>
<global name="Account Configurator Item" module="erp5.portal_type"/>
</pickle>
<pickle>
<dictionary>
<item>
<key> <string>_local_properties</string> </key>
<value>
<tuple>
<dictionary>
<item>
<key> <string>id</string> </key>
<value> <string>account_id</string> </value>
</item>
<item>
<key> <string>type</string> </key>
<value> <string>string</string> </value>
</item>
</dictionary>
</tuple>
</value>
</item>
<item>
<key> <string>account_id</string> </key>
<value> <string>payable</string> </value>
</item>
<item>
<key> <string>categories</string> </key>
<value>
<tuple>
<string>financial_section/liability/current/payable</string>
<string>gap/fr/pcg/4/40/401</string>
<string>account_type/liability/payable</string>
</tuple>
</value>
</item>
<item>
<key> <string>id</string> </key>
<value> <string>8</string> </value>
</item>
<item>
<key> <string>portal_type</string> </key>
<value> <string>Account Configurator Item</string> </value>
</item>
<item>
<key> <string>sid</string> </key>
<value>
<none/>
</value>
</item>
<item>
<key> <string>title</string> </key>
<value> <string>Fournisseurs</string> </value>
</item>
</dictionary>
</pickle>
</record>
</ZopeData>
<?xml version="1.0"?>
<ZopeData>
<record id="1" aka="AAAAAAAAAAE=">
<pickle>
<global name="Account Configurator Item" module="erp5.portal_type"/>
</pickle>
<pickle>
<dictionary>
<item>
<key> <string>_local_properties</string> </key>
<value>
<tuple>
<dictionary>
<item>
<key> <string>id</string> </key>
<value> <string>account_id</string> </value>
</item>
<item>
<key> <string>type</string> </key>
<value> <string>string</string> </value>
</item>
</dictionary>
</tuple>
</value>
</item>
<item>
<key> <string>account_id</string> </key>
<value> <string>refundable_vat</string> </value>
</item>
<item>
<key> <string>categories</string> </key>
<value>
<tuple>
<string>financial_section/asset/current_assets/trade_receivables</string>
<string>gap/fr/pcg/4/44/445/4456/44566</string>
<string>account_type/asset/receivable/refundable_vat</string>
</tuple>
</value>
</item>
<item>
<key> <string>id</string> </key>
<value> <string>9</string> </value>
</item>
<item>
<key> <string>portal_type</string> </key>
<value> <string>Account Configurator Item</string> </value>
</item>
<item>
<key> <string>sid</string> </key>
<value>
<none/>
</value>
</item>
<item>
<key> <string>title</string> </key>
<value> <string>TVA Déductible</string> </value>
</item>
</dictionary>
</pickle>
</record>
</ZopeData>
<?xml version="1.0"?>
<ZopeData>
<record id="1" aka="AAAAAAAAAAE=">
<pickle>
<global name="Configuration Save" module="erp5.portal_type"/>
</pickle>
<pickle>
<dictionary>
<item>
<key> <string>_count</string> </key>
<value>
<persistent> <string encoding="base64">AAAAAAAAAAI=</string> </persistent>
</value>
</item>
<item>
<key> <string>_identity_criterion</string> </key>
<value>
<persistent> <string encoding="base64">AAAAAAAAAAM=</string> </persistent>
</value>
</item>
<item>
<key> <string>_local_properties</string> </key>
<value>
<tuple>
<dictionary>
<item>
<key> <string>id</string> </key>
<value> <string>lang</string> </value>
</item>
<item>
<key> <string>type</string> </key>
<value> <string>lines</string> </value>
</item>
</dictionary>
<dictionary>
<item>
<key> <string>id</string> </key>
<value> <string>preferred_event_sender_email</string> </value>
</item>
<item>
<key> <string>type</string> </key>
<value> <string>string</string> </value>
</item>
</dictionary>
<dictionary>
<item>
<key> <string>id</string> </key>
<value> <string>preferred_date_order</string> </value>
</item>
<item>
<key> <string>type</string> </key>
<value> <string>string</string> </value>
</item>
</dictionary>
</tuple>
</value>
</item>
<item>
<key> <string>_mt_index</string> </key>
<value>
<persistent> <string encoding="base64">AAAAAAAAAAQ=</string> </persistent>
</value>
</item>
<item>
<key> <string>_range_criterion</string> </key>
<value>
<persistent> <string encoding="base64">AAAAAAAAAAU=</string> </persistent>
</value>
</item>
<item>
<key> <string>_tree</string> </key>
<value>
<persistent> <string encoding="base64">AAAAAAAAAAY=</string> </persistent>
</value>
</item>
<item>
<key> <string>categories</string> </key>
<value>
<tuple>
<string>price_currency/EUR;0.01;Euro</string>
</tuple>
</value>
</item>
<item>
<key> <string>id</string> </key>
<value> <string>9</string> </value>
</item>
<item>
<key> <string>lang</string> </key>
<value>
<tuple>
<string>erp5_l10n_fr</string>
</tuple>
</value>
</item>
<item>
<key> <string>portal_type</string> </key>
<value> <string>Configuration Save</string> </value>
</item>
<item>
<key> <string>preferred_date_order</string> </key>
<value> <string>dmy</string> </value>
</item>
<item>
<key> <string>preferred_event_sender_email</string> </key>
<value> <string>scalability@nexedi.com</string> </value>
</item>
<item>
<key> <string>title</string> </key>
<value> <string>Accounting</string> </value>
</item>
</dictionary>
</pickle>
</record>
<record id="2" aka="AAAAAAAAAAI=">
<pickle>
<global name="Length" module="BTrees.Length"/>
</pickle>
<pickle> <int>0</int> </pickle>
</record>
<record id="3" aka="AAAAAAAAAAM=">
<pickle>
<global name="PersistentMapping" module="Persistence.mapping"/>
</pickle>
<pickle>
<dictionary>
<item>
<key> <string>data</string> </key>
<value>
<dictionary/>
</value>
</item>
</dictionary>
</pickle>
</record>
<record id="4" aka="AAAAAAAAAAQ=">
<pickle>
<global name="OOBTree" module="BTrees.OOBTree"/>
</pickle>
<pickle>
<none/>
</pickle>
</record>
<record id="5" aka="AAAAAAAAAAU=">
<pickle>
<global name="PersistentMapping" module="Persistence.mapping"/>
</pickle>
<pickle>
<dictionary>
<item>
<key> <string>data</string> </key>
<value>
<dictionary/>
</value>
</item>
</dictionary>
</pickle>
</record>
<record id="6" aka="AAAAAAAAAAY=">
<pickle>
<global name="OOBTree" module="BTrees.OOBTree"/>
</pickle>
<pickle>
<none/>
</pickle>
</record>
</ZopeData>
<?xml version="1.0"?>
<ZopeData>
<record id="1" aka="AAAAAAAAAAE=">
<pickle>
<global name="Currency Configurator Item" module="erp5.portal_type"/>
</pickle>
<pickle>
<dictionary>
<item>
<key> <string>base_unit_quantity</string> </key>
<value> <float>0.01</float> </value>
</item>
<item>
<key> <string>default_reference</string> </key>
<value> <string>EUR</string> </value>
</item>
<item>
<key> <string>id</string> </key>
<value> <string>1</string> </value>
</item>
<item>
<key> <string>portal_type</string> </key>
<value> <string>Currency Configurator Item</string> </value>
</item>
<item>
<key> <string>sid</string> </key>
<value>
<none/>
</value>
</item>
<item>
<key> <string>title</string> </key>
<value> <string>Euro</string> </value>
</item>
</dictionary>
</pickle>
</record>
</ZopeData>
<?xml version="1.0"?>
<ZopeData>
<record id="1" aka="AAAAAAAAAAE=">
<pickle>
<global name="Service Configurator Item" module="erp5.portal_type"/>
</pickle>
<pickle>
<dictionary>
<item>
<key> <string>configuration_list</string> </key>
<value>
<tuple>
<tuple>
<string>product</string>
<dictionary>
<item>
<key> <string>title</string> </key>
<value> <string>Product</string> </value>
</item>
<item>
<key> <string>use</string> </key>
<value> <string>crm/sale_opportunity</string> </value>
</item>
</dictionary>
</tuple>
<tuple>
<string>service</string>
<dictionary>
<item>
<key> <string>title</string> </key>
<value> <string>Service</string> </value>
</item>
<item>
<key> <string>use</string> </key>
<value> <string>crm/sale_opportunity</string> </value>
</item>
</dictionary>
</tuple>
<tuple>
<string>marketing_campaign</string>
<dictionary>
<item>
<key> <string>title</string> </key>
<value> <string>Marketing Campaign</string> </value>
</item>
<item>
<key> <string>use</string> </key>
<value> <string>crm/campaign</string> </value>
</item>
</dictionary>
</tuple>
<tuple>
<string>marketing_survey</string>
<dictionary>
<item>
<key> <string>title</string> </key>
<value> <string>Market Survey</string> </value>
</item>
<item>
<key> <string>use</string> </key>
<value> <string>crm/campaign</string> </value>
</item>
</dictionary>
</tuple>
<tuple>
<string>marketing_purchases</string>
<dictionary>
<item>
<key> <string>title</string> </key>
<value> <string>Purchases Campaign</string> </value>
</item>
<item>
<key> <string>use</string> </key>
<value> <string>crm/campaign</string> </value>
</item>
</dictionary>
</tuple>
<tuple>
<string>marketing_sales</string>
<dictionary>
<item>
<key> <string>title</string> </key>
<value> <string>Sales Campaign</string> </value>
</item>
<item>
<key> <string>use</string> </key>
<value> <string>crm/campaign</string> </value>
</item>
</dictionary>
</tuple>
<tuple>
<string>marketing_other</string>
<dictionary>
<item>
<key> <string>title</string> </key>
<value> <string>Other Marketing Service</string> </value>
</item>
<item>
<key> <string>use</string> </key>
<value> <string>crm/campaign</string> </value>
</item>
</dictionary>
</tuple>
<tuple>
<string>support_administrative</string>
<dictionary>
<item>
<key> <string>title</string> </key>
<value> <string>Administrative Support</string> </value>
</item>
<item>
<key> <string>use</string> </key>
<value> <string>crm/support_request</string> </value>
</item>
</dictionary>
</tuple>
<tuple>
<string>support_financial</string>
<dictionary>
<item>
<key> <string>title</string> </key>
<value> <string>Financial Support</string> </value>
</item>
<item>
<key> <string>use</string> </key>
<value> <string>crm/support_request</string> </value>
</item>
</dictionary>
</tuple>
<tuple>
<string>support_it</string>
<dictionary>
<item>
<key> <string>title</string> </key>
<value> <string>IT Support</string> </value>
</item>
<item>
<key> <string>use</string> </key>
<value> <string>crm/support_request</string> </value>
</item>
</dictionary>
</tuple>
<tuple>
<string>support_other</string>
<dictionary>
<item>
<key> <string>title</string> </key>
<value> <string>Other Support Service</string> </value>
</item>
<item>
<key> <string>use</string> </key>
<value> <string>crm/support_request</string> </value>
</item>
</dictionary>
</tuple>
<tuple>
<string>organisation_conference</string>
<dictionary>
<item>
<key> <string>title</string> </key>
<value> <string>Conference</string> </value>
</item>
<item>
<key> <string>use</string> </key>
<value> <string>crm/meeting</string> </value>
</item>
</dictionary>
</tuple>
<tuple>
<string>organisation_partnership</string>
<dictionary>
<item>
<key> <string>title</string> </key>
<value> <string>Partnership Meeting</string> </value>
</item>
<item>
<key> <string>use</string> </key>
<value> <string>crm/meeting</string> </value>
</item>
</dictionary>
</tuple>
<tuple>
<string>organisation_purchases</string>
<dictionary>
<item>
<key> <string>title</string> </key>
<value> <string>Purchases Meeting</string> </value>
</item>
<item>
<key> <string>use</string> </key>
<value> <string>crm/meeting</string> </value>
</item>
</dictionary>
</tuple>
<tuple>
<string>organisation_project</string>
<dictionary>
<item>
<key> <string>title</string> </key>
<value> <string>Project Meeting</string> </value>
</item>
<item>
<key> <string>use</string> </key>
<value> <string>crm/meeting</string> </value>
</item>
</dictionary>
</tuple>
<tuple>
<string>organisation_sales</string>
<dictionary>
<item>
<key> <string>title</string> </key>
<value> <string>Sales Meeting</string> </value>
</item>
<item>
<key> <string>use</string> </key>
<value> <string>crm/meeting</string> </value>
</item>
</dictionary>
</tuple>
<tuple>
<string>organisation_other</string>
<dictionary>
<item>
<key> <string>title</string> </key>
<value> <string>Other Meeting</string> </value>
</item>
<item>
<key> <string>use</string> </key>
<value> <string>crm/meeting</string> </value>
</item>
</dictionary>
</tuple>
<tuple>
<string>event_complaint</string>
<dictionary>
<item>
<key> <string>title</string> </key>
<value> <string>Complaint</string> </value>
</item>
<item>
<key> <string>use</string> </key>
<value> <string>crm/event</string> </value>
</item>
</dictionary>
</tuple>
<tuple>
<string>event_announcement</string>
<dictionary>
<item>
<key> <string>title</string> </key>
<value> <string>Announcement</string> </value>
</item>
<item>
<key> <string>use</string> </key>
<value> <string>crm/event</string> </value>
</item>
</dictionary>
</tuple>
<tuple>
<string>event_inquiry</string>
<dictionary>
<item>
<key> <string>title</string> </key>
<value> <string>Inquiry</string> </value>
</item>
<item>
<key> <string>use</string> </key>
<value> <string>crm/event</string> </value>
</item>
</dictionary>
</tuple>
<tuple>
<string>event_advertisement</string>
<dictionary>
<item>
<key> <string>title</string> </key>
<value> <string>Advertisement</string> </value>
</item>
<item>
<key> <string>use</string> </key>
<value> <string>crm/event</string> </value>
</item>
</dictionary>
</tuple>
<tuple>
<string>event_spam</string>
<dictionary>
<item>
<key> <string>title</string> </key>
<value> <string>Spam</string> </value>
</item>
<item>
<key> <string>use</string> </key>
<value> <string>crm/event</string> </value>
</item>
</dictionary>
</tuple>
<tuple>
<string>event_information</string>
<dictionary>
<item>
<key> <string>title</string> </key>
<value> <string>Information</string> </value>
</item>
<item>
<key> <string>use</string> </key>
<value> <string>crm/event</string> </value>
</item>
</dictionary>
</tuple>
<tuple>
<string>event_other</string>
<dictionary>
<item>
<key> <string>title</string> </key>
<value> <string>Other event</string> </value>
</item>
<item>
<key> <string>use</string> </key>
<value> <string>crm/event</string> </value>
</item>
</dictionary>
</tuple>
</tuple>
</value>
</item>
<item>
<key> <string>id</string> </key>
<value> <string>2</string> </value>
</item>
<item>
<key> <string>portal_type</string> </key>
<value> <string>Service Configurator Item</string> </value>
</item>
<item>
<key> <string>sid</string> </key>
<value>
<none/>
</value>
</item>
</dictionary>
</pickle>
</record>
</ZopeData>
<?xml version="1.0"?>
<ZopeData>
<record id="1" aka="AAAAAAAAAAE=">
<pickle>
<global name="Preference Configurator Item" module="erp5.portal_type"/>
</pickle>
<pickle>
<dictionary>
<item>
<key> <string>_local_properties</string> </key>
<value>
<tuple>
<dictionary>
<item>
<key> <string>id</string> </key>
<value> <string>preferred_category_child_item_list_method_id</string> </value>
</item>
<item>
<key> <string>type</string> </key>
<value> <string>string</string> </value>
</item>
</dictionary>
<dictionary>
<item>
<key> <string>id</string> </key>
<value> <string>preferred_listbox_list_mode_line_count</string> </value>
</item>
<item>
<key> <string>type</string> </key>
<value> <string>int</string> </value>
</item>
</dictionary>
<dictionary>
<item>
<key> <string>id</string> </key>
<value> <string>preferred_text_format</string> </value>
</item>
<item>
<key> <string>type</string> </key>
<value> <string>string</string> </value>
</item>
</dictionary>
<dictionary>
<item>
<key> <string>id</string> </key>
<value> <string>preferred_html_style_access_tab</string> </value>
</item>
<item>
<key> <string>type</string> </key>
<value> <string>int</string> </value>
</item>
</dictionary>
<dictionary>
<item>
<key> <string>id</string> </key>
<value> <string>preferred_text_editor</string> </value>
</item>
<item>
<key> <string>type</string> </key>
<value> <string>string</string> </value>
</item>
</dictionary>
<dictionary>
<item>
<key> <string>id</string> </key>
<value> <string>preferred_textarea_width</string> </value>
</item>
<item>
<key> <string>type</string> </key>
<value> <string>int</string> </value>
</item>
</dictionary>
<dictionary>
<item>
<key> <string>id</string> </key>
<value> <string>preferred_accounting_transaction_currency</string> </value>
</item>
<item>
<key> <string>type</string> </key>
<value> <string>string</string> </value>
</item>
</dictionary>
<dictionary>
<item>
<key> <string>id</string> </key>
<value> <string>preferred_string_field_width</string> </value>
</item>
<item>
<key> <string>type</string> </key>
<value> <string>int</string> </value>
</item>
</dictionary>
<dictionary>
<item>
<key> <string>id</string> </key>
<value> <string>object_id</string> </value>
</item>
<item>
<key> <string>type</string> </key>
<value> <string>string</string> </value>
</item>
</dictionary>
<dictionary>
<item>
<key> <string>id</string> </key>
<value> <string>preferred_date_order</string> </value>
</item>
<item>
<key> <string>type</string> </key>
<value> <string>string</string> </value>
</item>
</dictionary>
<dictionary>
<item>
<key> <string>id</string> </key>
<value> <string>preferred_listbox_view_mode_line_count</string> </value>
</item>
<item>
<key> <string>type</string> </key>
<value> <string>int</string> </value>
</item>
</dictionary>
<dictionary>
<item>
<key> <string>id</string> </key>
<value> <string>preferred_textarea_height</string> </value>
</item>
<item>
<key> <string>type</string> </key>
<value> <string>int</string> </value>
</item>
</dictionary>
<dictionary>
<item>
<key> <string>id</string> </key>
<value> <string>preferred_quantity_field_width</string> </value>
</item>
<item>
<key> <string>type</string> </key>
<value> <string>int</string> </value>
</item>
</dictionary>
<dictionary>
<item>
<key> <string>id</string> </key>
<value> <string>preferred_report_style</string> </value>
</item>
<item>
<key> <string>type</string> </key>
<value> <string>string</string> </value>
</item>
</dictionary>
<dictionary>
<item>
<key> <string>id</string> </key>
<value> <string>preferred_money_quantity_field_width</string> </value>
</item>
<item>
<key> <string>type</string> </key>
<value> <string>int</string> </value>
</item>
</dictionary>
<dictionary>
<item>
<key> <string>id</string> </key>
<value> <string>preferred_report_format</string> </value>
</item>
<item>
<key> <string>type</string> </key>
<value> <string>string</string> </value>
</item>
</dictionary>
</tuple>
</value>
</item>
<item>
<key> <string>description</string> </key>
<value> <string>The default parameters for the site are set on this preference</string> </value>
</item>
<item>
<key> <string>id</string> </key>
<value> <string>3</string> </value>
</item>
<item>
<key> <string>object_id</string> </key>
<value> <string>default_configurator_preference</string> </value>
</item>
<item>
<key> <string>portal_type</string> </key>
<value> <string>Preference Configurator Item</string> </value>
</item>
<item>
<key> <string>preferred_accounting_transaction_currency</string> </key>
<value> <string>currency_module/EUR</string> </value>
</item>
<item>
<key> <string>preferred_category_child_item_list_method_id</string> </key>
<value> <string>getCategoryChildTranslatedLogicalPathItemList</string> </value>
</item>
<item>
<key> <string>preferred_date_order</string> </key>
<value> <string>dmy</string> </value>
</item>
<item>
<key> <string>preferred_html_style_access_tab</string> </key>
<value> <int>1</int> </value>
</item>
<item>
<key> <string>preferred_listbox_list_mode_line_count</string> </key>
<value> <int>20</int> </value>
</item>
<item>
<key> <string>preferred_listbox_view_mode_line_count</string> </key>
<value> <int>20</int> </value>
</item>
<item>
<key> <string>preferred_money_quantity_field_width</string> </key>
<value> <int>10</int> </value>
</item>
<item>
<key> <string>preferred_quantity_field_width</string> </key>
<value> <int>8</int> </value>
</item>
<item>
<key> <string>preferred_report_format</string> </key>
<value> <string>pdf</string> </value>
</item>
<item>
<key> <string>preferred_report_style</string> </key>
<value> <string>ODT</string> </value>
</item>
<item>
<key> <string>preferred_string_field_width</string> </key>
<value> <int>30</int> </value>
</item>
<item>
<key> <string>preferred_text_editor</string> </key>
<value> <string>fck_editor</string> </value>
</item>
<item>
<key> <string>preferred_text_format</string> </key>
<value> <string>text/html</string> </value>
</item>
<item>
<key> <string>preferred_textarea_height</string> </key>
<value> <int>5</int> </value>
</item>
<item>
<key> <string>preferred_textarea_width</string> </key>
<value> <int>80</int> </value>
</item>
<item>
<key> <string>sid</string> </key>
<value>
<none/>
</value>
</item>
<item>
<key> <string>title</string> </key>
<value> <string>Default Configurator Site Preference</string> </value>
</item>
</dictionary>
</pickle>
</record>
</ZopeData>
<?xml version="1.0"?>
<ZopeData>
<record id="1" aka="AAAAAAAAAAE=">
<pickle>
<global name="System Preference Configurator Item" module="erp5.portal_type"/>
</pickle>
<pickle>
<dictionary>
<item>
<key> <string>_local_properties</string> </key>
<value>
<tuple>
<dictionary>
<item>
<key> <string>id</string> </key>
<value> <string>preferred_synchronous_metadata_discovery</string> </value>
</item>
<item>
<key> <string>type</string> </key>
<value> <string>int</string> </value>
</item>
</dictionary>
<dictionary>
<item>
<key> <string>id</string> </key>
<value> <string>preferred_tax_use_list</string> </value>
</item>
<item>
<key> <string>type</string> </key>
<value> <string>lines</string> </value>
</item>
</dictionary>
<dictionary>
<item>
<key> <string>id</string> </key>
<value> <string>preferred_packing_use_list</string> </value>
</item>
<item>
<key> <string>type</string> </key>
<value> <string>lines</string> </value>
</item>
</dictionary>
<dictionary>
<item>
<key> <string>id</string> </key>
<value> <string>preferred_support_request_use_list</string> </value>
</item>
<item>
<key> <string>type</string> </key>
<value> <string>lines</string> </value>
</item>
</dictionary>
<dictionary>
<item>
<key> <string>id</string> </key>
<value> <string>preferred_event_sender_email</string> </value>
</item>
<item>
<key> <string>type</string> </key>
<value> <string>string</string> </value>
</item>
</dictionary>
<dictionary>
<item>
<key> <string>id</string> </key>
<value> <string>preferred_component_individual_variation_base_category_list</string> </value>
</item>
<item>
<key> <string>type</string> </key>
<value> <string>lines</string> </value>
</item>
</dictionary>
<dictionary>
<item>
<key> <string>id</string> </key>
<value> <string>preferred_campaign_use_list</string> </value>
</item>
<item>
<key> <string>type</string> </key>
<value> <string>lines</string> </value>
</item>
</dictionary>
<dictionary>
<item>
<key> <string>id</string> </key>
<value> <string>preferred_product_individual_variation_base_category_list</string> </value>
</item>
<item>
<key> <string>type</string> </key>
<value> <string>lines</string> </value>
</item>
</dictionary>
<dictionary>
<item>
<key> <string>id</string> </key>
<value> <string>preferred_document_file_name_regular_expression</string> </value>
</item>
<item>
<key> <string>type</string> </key>
<value> <string>string</string> </value>
</item>
</dictionary>
<dictionary>
<item>
<key> <string>id</string> </key>
<value> <string>preferred_price_ratio_use_list</string> </value>
</item>
<item>
<key> <string>type</string> </key>
<value> <string>lines</string> </value>
</item>
</dictionary>
<dictionary>
<item>
<key> <string>id</string> </key>
<value> <string>preferred_document_classification</string> </value>
</item>
<item>
<key> <string>type</string> </key>
<value> <string>string</string> </value>
</item>
</dictionary>
<dictionary>
<item>
<key> <string>id</string> </key>
<value> <string>object_id</string> </value>
</item>
<item>
<key> <string>type</string> </key>
<value> <string>string</string> </value>
</item>
</dictionary>
<dictionary>
<item>
<key> <string>id</string> </key>
<value> <string>preferred_sale_opportunity_use_list</string> </value>
</item>
<item>
<key> <string>type</string> </key>
<value> <string>lines</string> </value>
</item>
</dictionary>
<dictionary>
<item>
<key> <string>id</string> </key>
<value> <string>preferred_supplier_role_list</string> </value>
</item>
<item>
<key> <string>type</string> </key>
<value> <string>lines</string> </value>
</item>
</dictionary>
<dictionary>
<item>
<key> <string>id</string> </key>
<value> <string>preferred_meeting_use_list</string> </value>
</item>
<item>
<key> <string>type</string> </key>
<value> <string>lines</string> </value>
</item>
</dictionary>
<dictionary>
<item>
<key> <string>id</string> </key>
<value> <string>preferred_event_assessment_form_id_list</string> </value>
</item>
<item>
<key> <string>type</string> </key>
<value> <string>lines</string> </value>
</item>
</dictionary>
<dictionary>
<item>
<key> <string>id</string> </key>
<value> <string>preferred_sale_use_list</string> </value>
</item>
<item>
<key> <string>type</string> </key>
<value> <string>lines</string> </value>
</item>
</dictionary>
<dictionary>
<item>
<key> <string>id</string> </key>
<value> <string>preferred_client_role_list</string> </value>
</item>
<item>
<key> <string>type</string> </key>
<value> <string>lines</string> </value>
</item>
</dictionary>
<dictionary>
<item>
<key> <string>id</string> </key>
<value> <string>preferred_event_use_list</string> </value>
</item>
<item>
<key> <string>type</string> </key>
<value> <string>lines</string> </value>
</item>
</dictionary>
<dictionary>
<item>
<key> <string>id</string> </key>
<value> <string>preferred_purchase_use_list</string> </value>
</item>
<item>
<key> <string>type</string> </key>
<value> <string>lines</string> </value>
</item>
</dictionary>
<dictionary>
<item>
<key> <string>id</string> </key>
<value> <string>preferred_redirect_to_document</string> </value>
</item>
<item>
<key> <string>type</string> </key>
<value> <string>int</string> </value>
</item>
</dictionary>
<dictionary>
<item>
<key> <string>id</string> </key>
<value> <string>preferred_document_reference_regular_expression</string> </value>
</item>
<item>
<key> <string>type</string> </key>
<value> <string>string</string> </value>
</item>
</dictionary>
<dictionary>
<item>
<key> <string>id</string> </key>
<value> <string>preferred_service_individual_variation_base_category_list</string> </value>
</item>
<item>
<key> <string>type</string> </key>
<value> <string>lines</string> </value>
</item>
</dictionary>
</tuple>
</value>
</item>
<item>
<key> <string>description</string> </key>
<value> <string>The default system parameters for the site are set on this preference</string> </value>
</item>
<item>
<key> <string>id</string> </key>
<value> <string>4</string> </value>
</item>
<item>
<key> <string>object_id</string> </key>
<value> <string>default_configurator_system_preference</string> </value>
</item>
<item>
<key> <string>portal_type</string> </key>
<value> <string>System Preference Configurator Item</string> </value>
</item>
<item>
<key> <string>preferred_campaign_use_list</string> </key>
<value>
<tuple>
<string>use/crm/campaign</string>
</tuple>
</value>
</item>
<item>
<key> <string>preferred_client_role_list</string> </key>
<value>
<tuple>
<string>role/client</string>
</tuple>
</value>
</item>
<item>
<key> <string>preferred_component_individual_variation_base_category_list</string> </key>
<value>
<tuple>
<string>variation</string>
</tuple>
</value>
</item>
<item>
<key> <string>preferred_document_classification</string> </key>
<value> <string>collaborative/team</string> </value>
</item>
<item>
<key> <string>preferred_document_file_name_regular_expression</string> </key>
<value> <string encoding="cdata"><![CDATA[
(?P<node_reference>[a-zA-Z0-9_-]+)-(?P<local_reference>[a-zA-Z0-9_.]+)-(?P<version>[0-9a-zA-Z.]+)-(?P<language>[a-z]{2})[^-]*?
]]></string> </value>
</item>
<item>
<key> <string>preferred_document_reference_regular_expression</string> </key>
<value> <string encoding="cdata"><![CDATA[
(?P<reference>[a-zA-Z0-9-_.]+-[a-zA-Z0-9-_.]+)(|-(?P<version>[0-9a-zA-Z.]+))(|-(?P<language>[a-z]{2})[^-]*)?
]]></string> </value>
</item>
<item>
<key> <string>preferred_event_assessment_form_id_list</string> </key>
<value>
<tuple/>
</value>
</item>
<item>
<key> <string>preferred_event_sender_email</string> </key>
<value> <string>scalability@nexedi.com</string> </value>
</item>
<item>
<key> <string>preferred_event_use_list</string> </key>
<value>
<tuple>
<string>use/crm/event</string>
</tuple>
</value>
</item>
<item>
<key> <string>preferred_meeting_use_list</string> </key>
<value>
<tuple>
<string>use/crm/meeting</string>
</tuple>
</value>
</item>
<item>
<key> <string>preferred_packing_use_list</string> </key>
<value>
<tuple>
<string>use/trade/container</string>
</tuple>
</value>
</item>
<item>
<key> <string>preferred_price_ratio_use_list</string> </key>
<value>
<tuple>
<string>use/trade/tax</string>
</tuple>
</value>
</item>
<item>
<key> <string>preferred_product_individual_variation_base_category_list</string> </key>
<value>
<tuple>
<string>variation</string>
</tuple>
</value>
</item>
<item>
<key> <string>preferred_purchase_use_list</string> </key>
<value>
<tuple>
<string>use/trade/purchase</string>
</tuple>
</value>
</item>
<item>
<key> <string>preferred_redirect_to_document</string> </key>
<value> <int>1</int> </value>
</item>
<item>
<key> <string>preferred_sale_opportunity_use_list</string> </key>
<value>
<tuple>
<string>use/crm/sale_opportunity</string>
</tuple>
</value>
</item>
<item>
<key> <string>preferred_sale_use_list</string> </key>
<value>
<tuple>
<string>use/trade/sale</string>
</tuple>
</value>
</item>
<item>
<key> <string>preferred_service_individual_variation_base_category_list</string> </key>
<value>
<tuple>
<string>variation</string>
</tuple>
</value>
</item>
<item>
<key> <string>preferred_supplier_role_list</string> </key>
<value>
<tuple>
<string>role/supplier</string>
</tuple>
</value>
</item>
<item>
<key> <string>preferred_support_request_use_list</string> </key>
<value>
<tuple>
<string>use/crm/support_request</string>
</tuple>
</value>
</item>
<item>
<key> <string>preferred_synchronous_metadata_discovery</string> </key>
<value> <int>1</int> </value>
</item>
<item>
<key> <string>preferred_tax_use_list</string> </key>
<value>
<tuple>
<string>use/trade/tax</string>
</tuple>
</value>
</item>
<item>
<key> <string>sid</string> </key>
<value>
<none/>
</value>
</item>
<item>
<key> <string>title</string> </key>
<value> <string>Default Configurator System Site Preference</string> </value>
</item>
</dictionary>
</pickle>
</record>
</ZopeData>
<?xml version="1.0"?>
<ZopeData>
<record id="1" aka="AAAAAAAAAAE=">
<pickle>
<global name="Standard BT5 Configurator Item" module="erp5.portal_type"/>
</pickle>
<pickle>
<dictionary>
<item>
<key> <string>bt5_id</string> </key>
<value> <string>erp5_l10n_fr</string> </value>
</item>
<item>
<key> <string>id</string> </key>
<value> <string>5</string> </value>
</item>
<item>
<key> <string>portal_type</string> </key>
<value> <string>Standard BT5 Configurator Item</string> </value>
</item>
<item>
<key> <string>sid</string> </key>
<value>
<none/>
</value>
</item>
</dictionary>
</pickle>
</record>
</ZopeData>
# Script that installs the configurator for scalabiility tests: # Script that installs the configurator and create users for scalabiility tests:
import time import time
from DateTime import DateTime
import random
import string
import json
request = context.REQUEST
portal = context.getPortalObject() portal = context.getPortalObject()
portal_catalog = portal.portal_catalog portal_catalog = portal.portal_catalog
now = DateTime()
status_code = 0 status_code = 0
error_message = "No error." error_message = "No error."
configurator = portal_catalog.getResultValue( # check erp5_scalability_test business template is present
portal_type = "Business Configuration", configurator = portal.business_configuration_module.default_standard_configuration
id = "default_standard_configuration",
title = "Small And Medium Business")
if configurator == None or not configurator.contentValues(portal_type='Configuration Save'): if configurator == None or not configurator.contentValues(portal_type='Configuration Save'):
error_message = "Could not find the scalability business configuration object. Be sure to have erp5_scalability_test business template installed." error_message = "Could not find the scalability business configuration object. Be sure to have erp5_scalability_test business template installed."
return {'status_code' : 1, 'error_message': error_message } return json.dumps({"status_code" : 1, "error_message": error_message })
# install configurator if not intalled
if configurator.getSimulationState() == "draft":
person = portal_catalog.getResultValue(portal_type="Person", title = 'Scalability company')
organisation = portal_catalog.getResultValue(portal_type="Organisation", title = 'Scalability company')
if person is None or organisation is None:
try:
configurator.buildConfiguration()
# wait 15 minutes while configurator is installed
time.sleep(15*60)
except Exception as e:
status_code = 1
error_message = "Error during installation: " + str(e)
return json.dumps({"status_code" : 1, "error_message": error_message })
# create users
user_quantity = request.get('user_quantity')
if user_quantity is None: return json.dumps({"status_code" : 1, "error_message": "Parameter 'user_quantity' is required.", "password" : None })
password = ''.join(random.choice(string.digits + string.letters) for i in xrange(10))
try: try:
configurator.buildConfiguration() organisation = portal_catalog.getResultValue(
# wait 15 minutes while configurator is installed portal_type="Organisation",
time.sleep(15*60) title = 'Scalability company')
if organisation is None:
error_message = "Could not find the scalability organisation. Standard configuration not installed?"
return json.dumps({"status_code" : 1, "error_message": error_message, "password" : None })
organisation = organisation.getObject().getRelativeUrl()
for i in xrange(0, int(user_quantity)):
user_id = "scalability_user_%i" % i
person = portal_catalog.getResultValue(
portal_type="Person",
id = user_id)
if person is None:
person = portal.person_module.newContent(
portal_type = "Person",
id = user_id,
first_name = "scalability",
last_name = "user %i" % i,
function_list = ["company/manager"],
)
person.validate()
assignment_id_list = [x.getId() for x in person.objectValues(portal_type="Assignment")]
if assignment_id_list: person.manage_delObjects(ids=assignment_id_list)
assignment = person.newContent(
portal_type = "Assignment",
id = "assignment_%s" % user_id,
title = "user assignment",
function_list = ["company/manager"],
destination_relative_url = organisation,
destination = organisation,
group_list = ["my_group"],
start_date = now,
stop_date = DateTime(3000, 1, 1)
)
assignment.open()
user_id_list = [x.getId() for x in person.objectValues(portal_type="ERP5 Login")]
if user_id_list: person.manage_delObjects(ids=user_id_list)
user = person.newContent(
portal_type = "ERP5 Login",
id = "login_%s" % user_id,
default_reference = user_id,
password = password,
)
user.validate()
except Exception as e: except Exception as e:
status_code = 1 status_code = 1
error_message = "Error during installation: " + str(e) error_message = str(e)
return {'status_code' : status_code, 'error_message': error_message } return json.dumps({"status_code" : status_code, "error_message": error_message, "password" : password, "quantity" : user_quantity })
import json
from DateTime import DateTime
now = DateTime()
now_minus_6 = now - 1.0/24/60*6
now_minus_1 = now - 1.0/24/60*1
catalog_kw = {'creation_date': {'query': (now_minus_6, now_minus_1), 'range': 'minmax'}, 'validation_state': 'validated'}
portal = context.getPortalObject()
portal_catalog = portal.portal_catalog
person_count = len(portal_catalog(portal_type="Person", **catalog_kw))
sale_order_count = len(portal_catalog(portal_type="Sale Order", **catalog_kw))
person_per_hour = 60*person_count/5
sale_order_per_hour = 60*sale_order_count/5
output_string = """Person: %r doc/hour SaleOrder: %r doc/hour""" % (person_per_hour, sale_order_per_hour)
return json.dumps({"person_per_hour" : person_per_hour, "sale_order_per_hour": sale_order_per_hour})
<?xml version="1.0"?>
<ZopeData>
<record id="1" aka="AAAAAAAAAAE=">
<pickle>
<global name="PythonScript" module="Products.PythonScripts.PythonScript"/>
</pickle>
<pickle>
<dictionary>
<item>
<key> <string>Script_magic</string> </key>
<value> <int>3</int> </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>_params</string> </key>
<value> <string></string> </value>
</item>
<item>
<key> <string>id</string> </key>
<value> <string>ERP5Site_getScalabilityTestMetric</string> </value>
</item>
</dictionary>
</pickle>
</record>
</ZopeData>
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment