Commit 7d45a824 authored by Fabien Morin's avatar Fabien Morin

- remove editable columns of PaySheetTransaction_view listbox because they were

not used
- in the PaySheetTransaction_viewPreview listbox, use a script to return the
editable columns, that's permit to have dinamic columns depending on the
tax_category's used.
- in PaySheetTransaction_createAllPaySheetLineList we now use just one method
to generate all Pay Sheet Lines : createPaySheetLineList.
- enhance PaySheetTransaction_defaultCalculationScript to now get
model_slice_min/max values from the cell
- improve PaySheetTransaction_getEditableObjectLineList script
- change PaySheetTransaction_getListBoxColumnList method to be able to return
editable column list

git-svn-id: https://svn.erp5.org/repos/public/erp5/trunk@18261 20353a03-c40f-0410-a6d1-a30d3c3de9de
parent 2053492d
...@@ -204,7 +204,7 @@ ...@@ -204,7 +204,7 @@
</item> </item>
<item> <item>
<key> <string>display_width</string> </key> <key> <string>display_width</string> </key>
<value> <int>20</int> </value> <value> <int>5</int> </value>
</item> </item>
<item> <item>
<key> <string>editable</string> </key> <key> <string>editable</string> </key>
......
...@@ -70,19 +70,17 @@ ...@@ -70,19 +70,17 @@
paysheet are called here\n paysheet are called here\n
\'\'\'\n \'\'\'\n
import pprint\n import pprint\n
#context.log(\'listbox :%s\' % (pprint.pformat(listbox)))\n
\n \n
# Delete all objects in the paysheet\n # Delete all objects in the paysheet\n
id_list = []\n id_list = []\n
for paysheet_item in context.objectValues(portal_type= \\\n for paysheet_item in context.objectValues(portal_type= \\\n
[\'Pay Sheet Transaction Line\', \'Pay Sheet Line\']):\n [\'Pay Sheet Transaction Line\', \'Pay Sheet Line\']):\n
# Delete lines which became outdated and keep the sub-objects\n # Delete lines which now became outdated and keep the sub-objects\n
id_list.append(paysheet_item.getId())\n id_list.append(paysheet_item.getId())\n
context.manage_delObjects(id_list)\n context.manage_delObjects(id_list)\n
\n \n
# create Pay Sheet Lines\n # create Pay Sheet Lines\n
context.createEditablePaySheetLineList(listbox, **kw)\n context.createPaySheetLineList(listbox=listbox)\n
context.createNotEditablePaySheetLineList()\n
\n \n
if not(kw.has_key(\'skip_redirect\') and kw[\'skip_redirect\'] == True):\n if not(kw.has_key(\'skip_redirect\') and kw[\'skip_redirect\'] == True):\n
# Return to pay sheet default view\n # Return to pay sheet default view\n
...@@ -139,7 +137,6 @@ if not(kw.has_key(\'skip_redirect\') and kw[\'skip_redirect\'] == True):\n ...@@ -139,7 +137,6 @@ if not(kw.has_key(\'skip_redirect\') and kw[\'skip_redirect\'] == True):\n
<string>_getattr_</string> <string>_getattr_</string>
<string>context</string> <string>context</string>
<string>paysheet_item</string> <string>paysheet_item</string>
<string>_apply_</string>
<string>_getitem_</string> <string>_getitem_</string>
<string>True</string> <string>True</string>
<string>ZTUtils</string> <string>ZTUtils</string>
......
...@@ -85,6 +85,28 @@ if base_amount_dict:\n ...@@ -85,6 +85,28 @@ if base_amount_dict:\n
quantity = cell.getQuantity() or 0\n quantity = cell.getQuantity() or 0\n
price = cell.getPrice() or 0\n price = cell.getPrice() or 0\n
\n \n
\n
salary_range_list = cell.getVariationCategoryList(\\\n
base_category_list=\'salary_range\')\n
if len(salary_range_list):\n
salary_range = salary_range_list[0] # a slice can have only one salary_range\n
# category\n
else:\n
salary_range = None\n
\n
model_slice_min = 0\n
model_slice_max = 0\n
if salary_range:\n
model = context.getSpecialiseValue()\n
cell = model.getCell(salary_range)\n
if cell is None:\n
context.log("Warning ! Can\'t find cell corresponding to : %s" %\n
salary_range)\n
else:\n
model_slice_min = cell.getQuantityRangeMin()\n
model_slice_max = cell.getQuantityRangeMax()\n
\n
\n
if not quantity and base_application-model_slice_min>0:\n if not quantity and base_application-model_slice_min>0:\n
if base_application <= model_slice_max:\n if base_application <= model_slice_max:\n
quantity = base_application-model_slice_min\n quantity = base_application-model_slice_min\n
...@@ -118,7 +140,7 @@ return {\'quantity\':quantity, \'price\':price}\n ...@@ -118,7 +140,7 @@ return {\'quantity\':quantity, \'price\':price}\n
</item> </item>
<item> <item>
<key> <string>_params</string> </key> <key> <string>_params</string> </key>
<value> <string>base_amount_dict, model_slice_min, model_slice_max, cell</string> </value> <value> <string>base_amount_dict, cell</string> </value>
</item> </item>
<item> <item>
<key> <string>errors</string> </key> <key> <string>errors</string> </key>
...@@ -138,15 +160,13 @@ return {\'quantity\':quantity, \'price\':price}\n ...@@ -138,15 +160,13 @@ return {\'quantity\':quantity, \'price\':price}\n
<dictionary> <dictionary>
<item> <item>
<key> <string>co_argcount</string> </key> <key> <string>co_argcount</string> </key>
<value> <int>4</int> </value> <value> <int>2</int> </value>
</item> </item>
<item> <item>
<key> <string>co_varnames</string> </key> <key> <string>co_varnames</string> </key>
<value> <value>
<tuple> <tuple>
<string>base_amount_dict</string> <string>base_amount_dict</string>
<string>model_slice_min</string>
<string>model_slice_max</string>
<string>cell</string> <string>cell</string>
<string>_getattr_</string> <string>_getattr_</string>
<string>context</string> <string>context</string>
...@@ -162,6 +182,12 @@ return {\'quantity\':quantity, \'price\':price}\n ...@@ -162,6 +182,12 @@ return {\'quantity\':quantity, \'price\':price}\n
<string>_inplacevar_</string> <string>_inplacevar_</string>
<string>quantity</string> <string>quantity</string>
<string>price</string> <string>price</string>
<string>salary_range_list</string>
<string>len</string>
<string>salary_range</string>
<string>model_slice_min</string>
<string>model_slice_max</string>
<string>model</string>
</tuple> </tuple>
</value> </value>
</item> </item>
......
...@@ -66,30 +66,37 @@ ...@@ -66,30 +66,37 @@
<item> <item>
<key> <string>_body</string> </key> <key> <string>_body</string> </key>
<value> <string>\'\'\'\n <value> <string>\'\'\'\n
this small script a list of the categories used in the paysheet lines\n this small script return a list of the categories used in the paysheet lines\n
\n
parameters :\n
- editable : if editable = 1, the columns returned are editables columns\n
else, all the columns are returned\n
\'\'\'\n \'\'\'\n
\n \n
column_list = []\n column_list = []\n
\n \n
static_columns = [\n not_editable_columns = [(\'int_index\', \'Sort Index\'),\n
(\'int_index\', \'Sort Index\'),\n
(\'title\', \'Title\'),\n (\'title\', \'Title\'),\n
(\'source_section_title\', \'Source\'),\n (\'source_section_title\', \'Source\'),\n
(\'slice\', \'Slice\'),\n (\'slice\', \'Slice\'),\n
(\'base\', \'Base\'),\n (\'base\', \'Base\'),]\n
]\n
\n \n
column_list.extend(static_columns)\n if not editable:\n
column_list.extend(not_editable_columns)\n
\n \n
for model_line in context.contentValues(portal_type=\'Pay Sheet Line\'):\n for model_line in context.contentValues(portal_type=\'Pay Sheet Line\'):\n
for tax_category in model_line.getTaxCategoryValueList():\n for tax_category in model_line.getTaxCategoryValueList():\n
rate = (tax_category.getRelativeUrl().replace(\'tax_category/\', \'\', 1)+\\\n price = (tax_category.getId()+\'_rate\', tax_category.getTitle()+\' Rate\')\n
\'_rate\', tax_category.getTitle()+\' Rate\')\n quantity = (tax_category.getId()+\'_amount\', \n
amount = (tax_category.getRelativeUrl().replace(\'tax_category/\', \'\', 1)+\\\n tax_category.getTitle()+\' Amount\')\n
\'_amount\', tax_category.getTitle()+\' Amount\')\n if price not in column_list:\n
if rate not in column_list:\n column_list.append(price)\n
column_list.append(rate)\n column_list.append(quantity)\n
column_list.append(amount)\n \n
else:\n
pass\n
# add here the editable column you want to use\n
# currently, it\'s not required to use editable columns\n
\n \n
return column_list\n return column_list\n
</string> </value> </string> </value>
...@@ -108,7 +115,7 @@ return column_list\n ...@@ -108,7 +115,7 @@ return column_list\n
</item> </item>
<item> <item>
<key> <string>_params</string> </key> <key> <string>_params</string> </key>
<value> <string></string> </value> <value> <string>editable=0</string> </value>
</item> </item>
<item> <item>
<key> <string>errors</string> </key> <key> <string>errors</string> </key>
...@@ -128,21 +135,22 @@ return column_list\n ...@@ -128,21 +135,22 @@ return column_list\n
<dictionary> <dictionary>
<item> <item>
<key> <string>co_argcount</string> </key> <key> <string>co_argcount</string> </key>
<value> <int>0</int> </value> <value> <int>1</int> </value>
</item> </item>
<item> <item>
<key> <string>co_varnames</string> </key> <key> <string>co_varnames</string> </key>
<value> <value>
<tuple> <tuple>
<string>editable</string>
<string>column_list</string> <string>column_list</string>
<string>static_columns</string> <string>not_editable_columns</string>
<string>_getattr_</string> <string>_getattr_</string>
<string>_getiter_</string> <string>_getiter_</string>
<string>context</string> <string>context</string>
<string>model_line</string> <string>model_line</string>
<string>tax_category</string> <string>tax_category</string>
<string>rate</string> <string>price</string>
<string>amount</string> <string>quantity</string>
</tuple> </tuple>
</value> </value>
</item> </item>
...@@ -154,7 +162,9 @@ return column_list\n ...@@ -154,7 +162,9 @@ return column_list\n
<item> <item>
<key> <string>func_defaults</string> </key> <key> <string>func_defaults</string> </key>
<value> <value>
<none/> <tuple>
<int>0</int>
</tuple>
</value> </value>
</item> </item>
<item> <item>
......
<?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>\'\'\'\n
this small script a list of the categories used in the paysheet lines\n
\n
parameters :\n
- editable : if editable = 1, the columns returned are editables columns\n
else, all the columns are returned\n
\'\'\'\n
\n
column_list = []\n
\n
not_editable_columns = [ (\'title\', \'Title\'),\n
(\'salary_range_title\', \'Slice\'),]\n
\n
if not editable:\n
column_list.extend(not_editable_columns)\n
\n
model = context.getSpecialiseValue()\n
model_line_list = model.contentValues(portal_type=\'Pay Sheet Model Line\')\n
model_line_list = [line for line in model_line_list if line.isEditable()]\n
\n
for model_line in model_line_list:\n
for tax_category in model_line.getTaxCategoryValueList():\n
price = (tax_category.getId()+\'_price\', tax_category.getTitle()+\' Rate\')\n
quantity = (tax_category.getId()+\'_quantity\', \n
tax_category.getTitle()+\' Amount\')\n
if price not in column_list:\n
column_list.append(price)\n
column_list.append(quantity)\n
\n
\n
# hidden columns are put at the end of the list, it\'s less ugly\n
hidden_columns = [(\'model_line\', \' \'),\n
(\'salary_range_relative_url\', \' \'),]\n
\n
column_list.extend(hidden_columns)\n
return column_list\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>_params</string> </key>
<value> <string>editable=0</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>1</int> </value>
</item>
<item>
<key> <string>co_varnames</string> </key>
<value>
<tuple>
<string>editable</string>
<string>column_list</string>
<string>not_editable_columns</string>
<string>_getattr_</string>
<string>context</string>
<string>model</string>
<string>model_line_list</string>
<string>append</string>
<string>$append0</string>
<string>_getiter_</string>
<string>line</string>
<string>model_line</string>
<string>tax_category</string>
<string>price</string>
<string>quantity</string>
<string>hidden_columns</string>
</tuple>
</value>
</item>
</dictionary>
</state>
</object>
</value>
</item>
<item>
<key> <string>func_defaults</string> </key>
<value>
<tuple>
<int>0</int>
</tuple>
</value>
</item>
<item>
<key> <string>id</string> </key>
<value> <string>PaySheetTransaction_getListBoxPreviewColumnList</string> </value>
</item>
<item>
<key> <string>warnings</string> </key>
<value>
<tuple/>
</value>
</item>
</dictionary>
</pickle>
</record>
</ZopeData>
...@@ -92,8 +92,6 @@ for paysheet_line in paysheet_line_list:\n ...@@ -92,8 +92,6 @@ for paysheet_line in paysheet_line_list:\n
base_category_list = paysheet_line.getVariationBaseCategoryList()\n base_category_list = paysheet_line.getVariationBaseCategoryList()\n
base_application_list = paysheet_line.getBaseAmountTitleList()\n base_application_list = paysheet_line.getBaseAmountTitleList()\n
translated_base_application_list = [str(N_(x)) for x in base_application_list]\n translated_base_application_list = [str(N_(x)) for x in base_application_list]\n
context.log(\'translated_base_application_list :%s\' %\n
translated_base_application_list)\n
base_application_list = \', \'.join(translated_base_application_list)\n base_application_list = \', \'.join(translated_base_application_list)\n
list_of_list = []\n list_of_list = []\n
for base_category in base_category_list:\n for base_category in base_category_list:\n
......
...@@ -72,6 +72,12 @@ ...@@ -72,6 +72,12 @@
<persistent> <string encoding="base64">AAAAAAAAAAI=</string> </persistent> <persistent> <string encoding="base64">AAAAAAAAAAI=</string> </persistent>
</value> </value>
</item> </item>
<item>
<key> <string>editable_columns</string> </key>
<value>
<persistent> <string encoding="base64">AAAAAAAAAAM=</string> </persistent>
</value>
</item>
<item> <item>
<key> <string>field_id</string> </key> <key> <string>field_id</string> </key>
<value> <string></string> </value> <value> <string></string> </value>
...@@ -80,12 +86,6 @@ ...@@ -80,12 +86,6 @@
<key> <string>form_id</string> </key> <key> <string>form_id</string> </key>
<value> <string></string> </value> <value> <string></string> </value>
</item> </item>
<item>
<key> <string>lines</string> </key>
<value>
<persistent> <string encoding="base64">AAAAAAAAAAM=</string> </persistent>
</value>
</item>
<item> <item>
<key> <string>list_method</string> </key> <key> <string>list_method</string> </key>
<value> <string></string> </value> <value> <string></string> </value>
...@@ -98,6 +98,10 @@ ...@@ -98,6 +98,10 @@
<key> <string>selection_name</string> </key> <key> <string>selection_name</string> </key>
<value> <string></string> </value> <value> <string></string> </value>
</item> </item>
<item>
<key> <string>sort</string> </key>
<value> <string></string> </value>
</item>
<item> <item>
<key> <string>target</string> </key> <key> <string>target</string> </key>
<value> <string></string> </value> <value> <string></string> </value>
...@@ -159,28 +163,7 @@ ...@@ -159,28 +163,7 @@
<item> <item>
<key> <string>editable_columns</string> </key> <key> <string>editable_columns</string> </key>
<value> <value>
<list> <list/>
<tuple>
<string>base</string>
<string>Base</string>
</tuple>
<tuple>
<string>employer_share_amount</string>
<string>Employer Share Amount</string>
</tuple>
<tuple>
<string>employer_share_rate</string>
<string>Employer Share Rate</string>
</tuple>
<tuple>
<string>employee_share_amount</string>
<string>Employee Share Amount</string>
</tuple>
<tuple>
<string>employee_share_rate</string>
<string>Employee Share Rate</string>
</tuple>
</list>
</value> </value>
</item> </item>
<item> <item>
...@@ -280,7 +263,7 @@ ...@@ -280,7 +263,7 @@
<dictionary> <dictionary>
<item> <item>
<key> <string>_text</string> </key> <key> <string>_text</string> </key>
<value> <string>python: here.PaySheetTransaction_getListBoxColumnList()</string> </value> <value> <string>python: context.PaySheetTransaction_getListBoxColumnList()</string> </value>
</item> </item>
</dictionary> </dictionary>
</pickle> </pickle>
...@@ -296,7 +279,7 @@ ...@@ -296,7 +279,7 @@
<dictionary> <dictionary>
<item> <item>
<key> <string>_text</string> </key> <key> <string>_text</string> </key>
<value> <string>python: preferences.getPreference(\'preferred_listbox_view_mode_line_count\', 15)</string> </value> <value> <string>python: context.PaySheetTransaction_getListBoxColumnList(editable=1)</string> </value>
</item> </item>
</dictionary> </dictionary>
</pickle> </pickle>
......
...@@ -105,19 +105,25 @@ ...@@ -105,19 +105,25 @@
<string>listbox_base_application_string</string> <string>listbox_base_application_string</string>
<string>listbox_base_participation_string</string> <string>listbox_base_participation_string</string>
<string>listbox_service_id</string> <string>listbox_service_id</string>
<string>listbox_salary_range</string>
<string>listbox_quantity</string> <string>listbox_quantity</string>
<string>listbox_price</string> <string>listbox_price</string>
<string>listbox_tax_category</string> <string>listbox_tax_category</string>
<string>listbox_tax_category_relative_url</string> <string>listbox_tax_category_relative_url</string>
<string>listbox_salary_range_relative_url</string> <string>listbox_salary_range_relative_url</string>
<string>listbox_id</string>
<string>listbox_employee_share_price</string>
<string>listbox_employer_share_price</string>
<string>listbox_employee_share_quantity</string>
<string>listbox_employer_share_quantity</string>
</list> </list>
</value> </value>
</item> </item>
<item> <item>
<key> <string>left</string> </key> <key> <string>left</string> </key>
<value> <value>
<list/> <list>
<string>listbox_salary_range</string>
</list>
</value> </value>
</item> </item>
<item> <item>
...@@ -143,7 +149,7 @@ ...@@ -143,7 +149,7 @@
</item> </item>
<item> <item>
<key> <string>pt</string> </key> <key> <string>pt</string> </key>
<value> <string>form_view_dialog</string> </value> <value> <string>form_dialog</string> </value>
</item> </item>
<item> <item>
<key> <string>row_length</string> </key> <key> <string>row_length</string> </key>
......
<?xml version="1.0"?>
<ZopeData>
<record id="1" aka="AAAAAAAAAAE=">
<pickle>
<tuple>
<global name="ProxyField" module="Products.ERP5Form.ProxyField"/>
<tuple/>
</tuple>
</pickle>
<pickle>
<dictionary>
<item>
<key> <string>delegated_list</string> </key>
<value>
<list>
<string>editable</string>
</list>
</value>
</item>
<item>
<key> <string>id</string> </key>
<value> <string>listbox_employee_share_price</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>field_id</string> </key>
<value> <string></string> </value>
</item>
<item>
<key> <string>form_id</string> </key>
<value> <string></string> </value>
</item>
<item>
<key> <string>target</string> </key>
<value> <string></string> </value>
</item>
</dictionary>
</value>
</item>
<item>
<key> <string>tales</string> </key>
<value>
<dictionary>
<item>
<key> <string>editable</string> </key>
<value> <string></string> </value>
</item>
<item>
<key> <string>field_id</string> </key>
<value> <string></string> </value>
</item>
<item>
<key> <string>form_id</string> </key>
<value> <string></string> </value>
</item>
<item>
<key> <string>target</string> </key>
<value> <string></string> </value>
</item>
</dictionary>
</value>
</item>
<item>
<key> <string>values</string> </key>
<value>
<dictionary>
<item>
<key> <string>editable</string> </key>
<value> <int>1</int> </value>
</item>
<item>
<key> <string>field_id</string> </key>
<value> <string>my_percent</string> </value>
</item>
<item>
<key> <string>form_id</string> </key>
<value> <string>Base_viewFieldLibrary</string> </value>
</item>
<item>
<key> <string>hidden</string> </key>
<value> <int>0</int> </value>
</item>
<item>
<key> <string>target</string> </key>
<value> <string>Click to edit the target</string> </value>
</item>
</dictionary>
</value>
</item>
</dictionary>
</pickle>
</record>
</ZopeData>
<?xml version="1.0"?>
<ZopeData>
<record id="1" aka="AAAAAAAAAAE=">
<pickle>
<tuple>
<global name="ProxyField" module="Products.ERP5Form.ProxyField"/>
<tuple/>
</tuple>
</pickle>
<pickle>
<dictionary>
<item>
<key> <string>delegated_list</string> </key>
<value>
<list>
<string>editable</string>
</list>
</value>
</item>
<item>
<key> <string>id</string> </key>
<value> <string>listbox_employee_share_quantity</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>field_id</string> </key>
<value> <string></string> </value>
</item>
<item>
<key> <string>form_id</string> </key>
<value> <string></string> </value>
</item>
<item>
<key> <string>target</string> </key>
<value> <string></string> </value>
</item>
</dictionary>
</value>
</item>
<item>
<key> <string>tales</string> </key>
<value>
<dictionary>
<item>
<key> <string>field_id</string> </key>
<value> <string></string> </value>
</item>
<item>
<key> <string>form_id</string> </key>
<value> <string></string> </value>
</item>
<item>
<key> <string>target</string> </key>
<value> <string></string> </value>
</item>
</dictionary>
</value>
</item>
<item>
<key> <string>values</string> </key>
<value>
<dictionary>
<item>
<key> <string>editable</string> </key>
<value> <int>1</int> </value>
</item>
<item>
<key> <string>field_id</string> </key>
<value> <string>my_money_quantity</string> </value>
</item>
<item>
<key> <string>form_id</string> </key>
<value> <string>Base_viewFieldLibrary</string> </value>
</item>
<item>
<key> <string>target</string> </key>
<value> <string>Click to edit the target</string> </value>
</item>
</dictionary>
</value>
</item>
</dictionary>
</pickle>
</record>
</ZopeData>
<?xml version="1.0"?>
<ZopeData>
<record id="1" aka="AAAAAAAAAAE=">
<pickle>
<tuple>
<global name="ProxyField" module="Products.ERP5Form.ProxyField"/>
<tuple/>
</tuple>
</pickle>
<pickle>
<dictionary>
<item>
<key> <string>delegated_list</string> </key>
<value>
<list>
<string>editable</string>
</list>
</value>
</item>
<item>
<key> <string>id</string> </key>
<value> <string>listbox_employer_share_price</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>field_id</string> </key>
<value> <string></string> </value>
</item>
<item>
<key> <string>form_id</string> </key>
<value> <string></string> </value>
</item>
<item>
<key> <string>target</string> </key>
<value> <string></string> </value>
</item>
</dictionary>
</value>
</item>
<item>
<key> <string>tales</string> </key>
<value>
<dictionary>
<item>
<key> <string>field_id</string> </key>
<value> <string></string> </value>
</item>
<item>
<key> <string>form_id</string> </key>
<value> <string></string> </value>
</item>
<item>
<key> <string>target</string> </key>
<value> <string></string> </value>
</item>
</dictionary>
</value>
</item>
<item>
<key> <string>values</string> </key>
<value>
<dictionary>
<item>
<key> <string>editable</string> </key>
<value> <int>1</int> </value>
</item>
<item>
<key> <string>field_id</string> </key>
<value> <string>my_percent</string> </value>
</item>
<item>
<key> <string>form_id</string> </key>
<value> <string>Base_viewFieldLibrary</string> </value>
</item>
<item>
<key> <string>target</string> </key>
<value> <string>Click to edit the target</string> </value>
</item>
</dictionary>
</value>
</item>
</dictionary>
</pickle>
</record>
</ZopeData>
<?xml version="1.0"?>
<ZopeData>
<record id="1" aka="AAAAAAAAAAE=">
<pickle>
<tuple>
<global name="ProxyField" module="Products.ERP5Form.ProxyField"/>
<tuple/>
</tuple>
</pickle>
<pickle>
<dictionary>
<item>
<key> <string>delegated_list</string> </key>
<value>
<list>
<string>editable</string>
</list>
</value>
</item>
<item>
<key> <string>id</string> </key>
<value> <string>listbox_employer_share_quantity</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>field_id</string> </key>
<value> <string></string> </value>
</item>
<item>
<key> <string>form_id</string> </key>
<value> <string></string> </value>
</item>
<item>
<key> <string>target</string> </key>
<value> <string></string> </value>
</item>
</dictionary>
</value>
</item>
<item>
<key> <string>tales</string> </key>
<value>
<dictionary>
<item>
<key> <string>field_id</string> </key>
<value> <string></string> </value>
</item>
<item>
<key> <string>form_id</string> </key>
<value> <string></string> </value>
</item>
<item>
<key> <string>target</string> </key>
<value> <string></string> </value>
</item>
</dictionary>
</value>
</item>
<item>
<key> <string>values</string> </key>
<value>
<dictionary>
<item>
<key> <string>editable</string> </key>
<value> <int>1</int> </value>
</item>
<item>
<key> <string>field_id</string> </key>
<value> <string>my_money_quantity</string> </value>
</item>
<item>
<key> <string>form_id</string> </key>
<value> <string>Base_viewFieldLibrary</string> </value>
</item>
<item>
<key> <string>target</string> </key>
<value> <string>Click to edit the target</string> </value>
</item>
</dictionary>
</value>
</item>
</dictionary>
</pickle>
</record>
</ZopeData>
<?xml version="1.0"?>
<ZopeData>
<record id="1" aka="AAAAAAAAAAE=">
<pickle>
<tuple>
<global name="FloatField" module="Products.Formulator.StandardFields"/>
<tuple/>
</tuple>
</pickle>
<pickle>
<dictionary>
<item>
<key> <string>id</string> </key>
<value> <string>listbox_id</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>
<item>
<key> <string>not_float</string> </key>
<value> <string>You did not enter a floating point number.</string> </value>
</item>
<item>
<key> <string>required_not_found</string> </key>
<value> <string>Input is required but no input given.</string> </value>
</item>
</dictionary>
</value>
</item>
<item>
<key> <string>overrides</string> </key>
<value>
<dictionary>
<item>
<key> <string>alternate_name</string> </key>
<value> <string></string> </value>
</item>
<item>
<key> <string>css_class</string> </key>
<value> <string></string> </value>
</item>
<item>
<key> <string>default</string> </key>
<value> <string></string> </value>
</item>
<item>
<key> <string>description</string> </key>
<value> <string></string> </value>
</item>
<item>
<key> <string>display_maxwidth</string> </key>
<value> <string></string> </value>
</item>
<item>
<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>
</item>
<item>
<key> <string>extra</string> </key>
<value> <string></string> </value>
</item>
<item>
<key> <string>hidden</string> </key>
<value> <string></string> </value>
</item>
<item>
<key> <string>required</string> </key>
<value> <string></string> </value>
</item>
<item>
<key> <string>title</string> </key>
<value> <string></string> </value>
</item>
<item>
<key> <string>whitespace_preserve</string> </key>
<value> <string></string> </value>
</item>
</dictionary>
</value>
</item>
<item>
<key> <string>tales</string> </key>
<value>
<dictionary>
<item>
<key> <string>alternate_name</string> </key>
<value> <string></string> </value>
</item>
<item>
<key> <string>css_class</string> </key>
<value> <string></string> </value>
</item>
<item>
<key> <string>default</string> </key>
<value> <string></string> </value>
</item>
<item>
<key> <string>description</string> </key>
<value> <string></string> </value>
</item>
<item>
<key> <string>display_maxwidth</string> </key>
<value> <string></string> </value>
</item>
<item>
<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>
</item>
<item>
<key> <string>extra</string> </key>
<value> <string></string> </value>
</item>
<item>
<key> <string>hidden</string> </key>
<value> <string></string> </value>
</item>
<item>
<key> <string>input_style</string> </key>
<value> <string></string> </value>
</item>
<item>
<key> <string>precision</string> </key>
<value> <string></string> </value>
</item>
<item>
<key> <string>required</string> </key>
<value> <string></string> </value>
</item>
<item>
<key> <string>title</string> </key>
<value> <string></string> </value>
</item>
<item>
<key> <string>whitespace_preserve</string> </key>
<value> <string></string> </value>
</item>
</dictionary>
</value>
</item>
<item>
<key> <string>values</string> </key>
<value>
<dictionary>
<item>
<key> <string>alternate_name</string> </key>
<value> <string></string> </value>
</item>
<item>
<key> <string>css_class</string> </key>
<value> <string>figure</string> </value>
</item>
<item>
<key> <string>default</string> </key>
<value> <string></string> </value>
</item>
<item>
<key> <string>description</string> </key>
<value> <string></string> </value>
</item>
<item>
<key> <string>display_maxwidth</string> </key>
<value> <string></string> </value>
</item>
<item>
<key> <string>display_width</string> </key>
<value> <int>10</int> </value>
</item>
<item>
<key> <string>editable</string> </key>
<value> <int>1</int> </value>
</item>
<item>
<key> <string>enabled</string> </key>
<value> <int>1</int> </value>
</item>
<item>
<key> <string>external_validator</string> </key>
<value> <string></string> </value>
</item>
<item>
<key> <string>extra</string> </key>
<value> <string></string> </value>
</item>
<item>
<key> <string>hidden</string> </key>
<value> <int>0</int> </value>
</item>
<item>
<key> <string>input_style</string> </key>
<value> <string>-1 234.5</string> </value>
</item>
<item>
<key> <string>precision</string> </key>
<value> <string></string> </value>
</item>
<item>
<key> <string>required</string> </key>
<value> <int>0</int> </value>
</item>
<item>
<key> <string>title</string> </key>
<value> <string>Id</string> </value>
</item>
<item>
<key> <string>whitespace_preserve</string> </key>
<value> <int>0</int> </value>
</item>
</dictionary>
</value>
</item>
</dictionary>
</pickle>
</record>
</ZopeData>
181 183
\ No newline at end of file \ No newline at end of file
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