diff --git a/bt5/erp5_project/ActionTemplateItem/portal_types/Requirement%20Document/detailed_report.xml b/bt5/erp5_project/ActionTemplateItem/portal_types/Requirement%20Document/detailed_report.xml index c30a6a5ae272858879c0bf6289c6bd7da44232e1..c6faedd9a8e79d9bee6952d3a10f3889dae5d51d 100644 --- a/bt5/erp5_project/ActionTemplateItem/portal_types/Requirement%20Document/detailed_report.xml +++ b/bt5/erp5_project/ActionTemplateItem/portal_types/Requirement%20Document/detailed_report.xml @@ -54,7 +54,7 @@ </item> <item> <key> <string>priority</string> </key> - <value> <float>1.0</float> </value> + <value> <float>3.0</float> </value> </item> <item> <key> <string>title</string> </key> diff --git a/bt5/erp5_project/ActionTemplateItem/portal_types/Requirement%20Document/fast_input.xml b/bt5/erp5_project/ActionTemplateItem/portal_types/Requirement%20Document/fast_input.xml index 82007f95d7fe983f0e6f83a8dc22a53ea1818ddc..311b9592d448e3562253dbd3713bb2d8018952cd 100644 --- a/bt5/erp5_project/ActionTemplateItem/portal_types/Requirement%20Document/fast_input.xml +++ b/bt5/erp5_project/ActionTemplateItem/portal_types/Requirement%20Document/fast_input.xml @@ -54,7 +54,7 @@ </item> <item> <key> <string>priority</string> </key> - <value> <float>10.0</float> </value> + <value> <float>6.0</float> </value> </item> <item> <key> <string>title</string> </key> diff --git a/bt5/erp5_project/ActionTemplateItem/portal_types/Requirement%20Document/list_ui.xml b/bt5/erp5_project/ActionTemplateItem/portal_types/Requirement%20Document/list_ui.xml index 7abbd98ba48e03b9eaa8c9642cf261cf15abf3cc..c568f20a990e8fd2f424cdf887819711a1c27bba 100644 --- a/bt5/erp5_project/ActionTemplateItem/portal_types/Requirement%20Document/list_ui.xml +++ b/bt5/erp5_project/ActionTemplateItem/portal_types/Requirement%20Document/list_ui.xml @@ -54,7 +54,7 @@ </item> <item> <key> <string>priority</string> </key> - <value> <float>10.0</float> </value> + <value> <float>7.0</float> </value> </item> <item> <key> <string>title</string> </key> diff --git a/bt5/erp5_project/ActionTemplateItem/portal_types/Requirement%20Document/orphaned.xml b/bt5/erp5_project/ActionTemplateItem/portal_types/Requirement%20Document/orphaned.xml index 8e228e6ad9d5bd505e351de36e036d3d758cc3fb..8a55ca1f58963734b4c79e42cf706314700cd971 100644 --- a/bt5/erp5_project/ActionTemplateItem/portal_types/Requirement%20Document/orphaned.xml +++ b/bt5/erp5_project/ActionTemplateItem/portal_types/Requirement%20Document/orphaned.xml @@ -54,7 +54,7 @@ </item> <item> <key> <string>priority</string> </key> - <value> <float>1.0</float> </value> + <value> <float>2.0</float> </value> </item> <item> <key> <string>title</string> </key> diff --git a/bt5/erp5_project/ActionTemplateItem/portal_types/Requirement%20Document/print_pdf.xml b/bt5/erp5_project/ActionTemplateItem/portal_types/Requirement%20Document/print_pdf.xml index aed67763f7d2a4c1ae97c262c9257452d1a0d3f6..301db8a8b5f8f820d52cd63951278c90ff8b88d2 100644 --- a/bt5/erp5_project/ActionTemplateItem/portal_types/Requirement%20Document/print_pdf.xml +++ b/bt5/erp5_project/ActionTemplateItem/portal_types/Requirement%20Document/print_pdf.xml @@ -54,7 +54,7 @@ </item> <item> <key> <string>priority</string> </key> - <value> <float>10.0</float> </value> + <value> <float>5.0</float> </value> </item> <item> <key> <string>title</string> </key> diff --git a/bt5/erp5_project/ActionTemplateItem/portal_types/Requirement%20Document/project_mapping.xml b/bt5/erp5_project/ActionTemplateItem/portal_types/Requirement%20Document/project_mapping.xml index 7bcf1884dbb9bc2e5cae94ba3874696278c15c6c..0dbdffa36c536968d17e1af9164ddda5e177c902 100644 --- a/bt5/erp5_project/ActionTemplateItem/portal_types/Requirement%20Document/project_mapping.xml +++ b/bt5/erp5_project/ActionTemplateItem/portal_types/Requirement%20Document/project_mapping.xml @@ -54,7 +54,7 @@ </item> <item> <key> <string>priority</string> </key> - <value> <float>2.0</float> </value> + <value> <float>4.0</float> </value> </item> <item> <key> <string>title</string> </key> diff --git a/bt5/erp5_project/ActionTemplateItem/portal_types/Requirement%20Document/sort_on.xml b/bt5/erp5_project/ActionTemplateItem/portal_types/Requirement%20Document/sort_on.xml index 4b00418f4beeefe814d70ed98805a7a5851ed870..11e3a660ceaa215060c1ee360d5bab44cb67e0d7 100644 --- a/bt5/erp5_project/ActionTemplateItem/portal_types/Requirement%20Document/sort_on.xml +++ b/bt5/erp5_project/ActionTemplateItem/portal_types/Requirement%20Document/sort_on.xml @@ -54,7 +54,7 @@ </item> <item> <key> <string>priority</string> </key> - <value> <float>10.0</float> </value> + <value> <float>8.0</float> </value> </item> <item> <key> <string>title</string> </key> diff --git a/bt5/erp5_project/ActionTemplateItem/portal_types/Requirement%20Document/view.xml b/bt5/erp5_project/ActionTemplateItem/portal_types/Requirement%20Document/view.xml index bbf5cb4f253ee7e443c76c2bbcccee6f73dc7e01..085d71eb2d6f0f0bdee3ef1119669b890ac439e0 100644 --- a/bt5/erp5_project/ActionTemplateItem/portal_types/Requirement%20Document/view.xml +++ b/bt5/erp5_project/ActionTemplateItem/portal_types/Requirement%20Document/view.xml @@ -54,7 +54,7 @@ </item> <item> <key> <string>priority</string> </key> - <value> <float>10.0</float> </value> + <value> <float>1.0</float> </value> </item> <item> <key> <string>title</string> </key> diff --git a/bt5/erp5_project/ActionTemplateItem/portal_types/Requirement%20Module/list_ui.xml b/bt5/erp5_project/ActionTemplateItem/portal_types/Requirement%20Module/list_ui.xml index 7abbd98ba48e03b9eaa8c9642cf261cf15abf3cc..7e601a39e16b98422c19d5326cf8d134bec7e299 100644 --- a/bt5/erp5_project/ActionTemplateItem/portal_types/Requirement%20Module/list_ui.xml +++ b/bt5/erp5_project/ActionTemplateItem/portal_types/Requirement%20Module/list_ui.xml @@ -62,7 +62,7 @@ </item> <item> <key> <string>visible</string> </key> - <value> <int>1</int> </value> + <value> <int>0</int> </value> </item> </dictionary> </pickle> diff --git a/bt5/erp5_project/ActionTemplateItem/portal_types/Requirement/fast_input.xml b/bt5/erp5_project/ActionTemplateItem/portal_types/Requirement/fast_input.xml index 82007f95d7fe983f0e6f83a8dc22a53ea1818ddc..ac0b02272f26be828e1180fa88a80eefa0b3cc30 100644 --- a/bt5/erp5_project/ActionTemplateItem/portal_types/Requirement/fast_input.xml +++ b/bt5/erp5_project/ActionTemplateItem/portal_types/Requirement/fast_input.xml @@ -54,7 +54,7 @@ </item> <item> <key> <string>priority</string> </key> - <value> <float>10.0</float> </value> + <value> <float>2.0</float> </value> </item> <item> <key> <string>title</string> </key> diff --git a/bt5/erp5_project/ActionTemplateItem/portal_types/Requirement/print_pdf.xml b/bt5/erp5_project/ActionTemplateItem/portal_types/Requirement/print_pdf.xml index aed67763f7d2a4c1ae97c262c9257452d1a0d3f6..68c05125181402764779a623f109cee4b0ad14b4 100644 --- a/bt5/erp5_project/ActionTemplateItem/portal_types/Requirement/print_pdf.xml +++ b/bt5/erp5_project/ActionTemplateItem/portal_types/Requirement/print_pdf.xml @@ -54,7 +54,7 @@ </item> <item> <key> <string>priority</string> </key> - <value> <float>10.0</float> </value> + <value> <float>3.0</float> </value> </item> <item> <key> <string>title</string> </key> diff --git a/bt5/erp5_project/ActionTemplateItem/portal_types/Requirement/view.xml b/bt5/erp5_project/ActionTemplateItem/portal_types/Requirement/view.xml index 964a04594d313080035b92166e1f64bb9dbf83f3..a54268487c7925251fd2e1c766c138fb6caf1978 100644 --- a/bt5/erp5_project/ActionTemplateItem/portal_types/Requirement/view.xml +++ b/bt5/erp5_project/ActionTemplateItem/portal_types/Requirement/view.xml @@ -54,7 +54,7 @@ </item> <item> <key> <string>priority</string> </key> - <value> <float>10.0</float> </value> + <value> <float>1.0</float> </value> </item> <item> <key> <string>title</string> </key> diff --git a/bt5/erp5_project/SkinTemplateItem/portal_skins/erp5_project/ProjectLine_addTaskFastInput/listbox.xml b/bt5/erp5_project/SkinTemplateItem/portal_skins/erp5_project/ProjectLine_addTaskFastInput/listbox.xml index 9af3857652f0ef3fceea0b49840657f2cae0861e..1fafeba001cefd1adf028a6b50142298dc52318c 100644 --- a/bt5/erp5_project/SkinTemplateItem/portal_skins/erp5_project/ProjectLine_addTaskFastInput/listbox.xml +++ b/bt5/erp5_project/SkinTemplateItem/portal_skins/erp5_project/ProjectLine_addTaskFastInput/listbox.xml @@ -318,7 +318,7 @@ <value> <list> <tuple> - <string>atask_title</string> + <string>task_title</string> <string>Task Title</string> </tuple> <tuple> @@ -381,7 +381,7 @@ </tuple> <tuple> <string>task_requirement</string> - <string>te</string> + <string>Requeriment</string> </tuple> </list> </value> @@ -444,7 +444,7 @@ </tuple> <tuple> <string>task_requirement</string> - <string>te</string> + <string>Requeriment</string> </tuple> </list> </value> @@ -582,7 +582,7 @@ <dictionary> <item> <key> <string>method_name</string> </key> - <value> <string>FastInput_initialize</string> </value> + <value> <string>Project_initializeFastInput</string> </value> </item> </dictionary> </pickle> diff --git a/bt5/erp5_project/SkinTemplateItem/portal_skins/erp5_project/Project_initializeFastInput.xml b/bt5/erp5_project/SkinTemplateItem/portal_skins/erp5_project/Project_initializeFastInput.xml new file mode 100644 index 0000000000000000000000000000000000000000..7c6db0c22cc5d1d4e980cc5de41f38dec03c2547 --- /dev/null +++ b/bt5/erp5_project/SkinTemplateItem/portal_skins/erp5_project/Project_initializeFastInput.xml @@ -0,0 +1,189 @@ +<?xml version="1.0"?> +<ZopeData> + <record id="1" aka="AAAAAAAAAAE="> + <pickle> + <tuple> + <tuple> + <string>Products.PythonScripts.PythonScript</string> + <string>PythonScript</string> + </tuple> + <none/> + </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>from Products.ERP5Type.Document import newTempBase\n +from string import zfill\n +\n +global portal_object, new_id, l\n +\n +portal_object = context.getPortalObject()\n +new_id = 0\n +l = []\n +\n +# function to create a new fast input line\n +def createInputLine():\n + global portal_object, new_id, l\n + new_id += 1\n + int_len = 3\n + o = newTempBase( portal_object\n + , str(new_id)\n + , uid =\'new_%s\' % zfill(new_id, int_len)\n + )\n + l.append(o)\n +\n +# generate all lines for the fast input form\n +for x in range(lines_num):\n + createInputLine()\n +\n +# return the list of fast input lines\n +return l\n +</string> </value> + </item> + <item> + <key> <string>_code</string> </key> + <value> + <none/> + </value> + </item> + <item> + <key> <string>_filepath</string> </key> + <value> + <none/> + </value> + </item> + <item> + <key> <string>_owner</string> </key> + <value> + <none/> + </value> + </item> + <item> + <key> <string>_params</string> </key> + <value> <string>lines_num=7, **kw</string> </value> + </item> + <item> + <key> <string>errors</string> </key> + <value> + <tuple/> + </value> + </item> + <item> + <key> <string>func_code</string> </key> + <value> + <object> + <klass> + <global name="FuncCode" module="Shared.DC.Scripts.Signature"/> + </klass> + <tuple/> + <state> + <dictionary> + <item> + <key> <string>co_argcount</string> </key> + <value> <int>1</int> </value> + </item> + <item> + <key> <string>co_varnames</string> </key> + <value> + <tuple> + <string>lines_num</string> + <string>kw</string> + <string>Products.ERP5Type.Document</string> + <string>newTempBase</string> + <string>string</string> + <string>zfill</string> + <string>_getattr_</string> + <string>context</string> + <string>portal_object</string> + <string>new_id</string> + <string>l</string> + <string>createInputLine</string> + <string>_getiter_</string> + <string>range</string> + <string>x</string> + </tuple> + </value> + </item> + </dictionary> + </state> + </object> + </value> + </item> + <item> + <key> <string>func_defaults</string> </key> + <value> + <tuple> + <int>7</int> + </tuple> + </value> + </item> + <item> + <key> <string>id</string> </key> + <value> <string>Project_initializeFastInput</string> </value> + </item> + <item> + <key> <string>warnings</string> </key> + <value> + <tuple/> + </value> + </item> + </dictionary> + </pickle> + </record> +</ZopeData> diff --git a/bt5/erp5_project/SkinTemplateItem/portal_skins/erp5_project/Requirement_addDocumentFastInput/listbox.xml b/bt5/erp5_project/SkinTemplateItem/portal_skins/erp5_project/Requirement_addDocumentFastInput/listbox.xml index 99723121193fa012022b5d3f0c4573a80e0f66ba..f8ccbdcd972095a97751daa5f5e70640d9b2ca45 100644 --- a/bt5/erp5_project/SkinTemplateItem/portal_skins/erp5_project/Requirement_addDocumentFastInput/listbox.xml +++ b/bt5/erp5_project/SkinTemplateItem/portal_skins/erp5_project/Requirement_addDocumentFastInput/listbox.xml @@ -467,6 +467,10 @@ <list/> </value> </item> + <item> + <key> <string>page_template</string> </key> + <value> <string></string> </value> + </item> <item> <key> <string>portal_types</string> </key> <value> @@ -562,7 +566,7 @@ <dictionary> <item> <key> <string>method_name</string> </key> - <value> <string>FastInput_initialize</string> </value> + <value> <string>Project_initializeFastInput</string> </value> </item> </dictionary> </pickle> diff --git a/bt5/erp5_project/SkinTemplateItem/portal_skins/erp5_project/Requirement_addRequirementsFastInput/listbox.xml b/bt5/erp5_project/SkinTemplateItem/portal_skins/erp5_project/Requirement_addRequirementsFastInput/listbox.xml index 6df5bed5748ab2c57d64ed2559f6e349c1fbec40..b1b316af46c5325db79824ae49bd8e9c58d8cc91 100644 --- a/bt5/erp5_project/SkinTemplateItem/portal_skins/erp5_project/Requirement_addRequirementsFastInput/listbox.xml +++ b/bt5/erp5_project/SkinTemplateItem/portal_skins/erp5_project/Requirement_addRequirementsFastInput/listbox.xml @@ -186,6 +186,10 @@ <key> <string>columns</string> </key> <value> <string></string> </value> </item> + <item> + <key> <string>count_method</string> </key> + <value> <string></string> </value> + </item> <item> <key> <string>css_class</string> </key> <value> <string></string> </value> @@ -250,6 +254,10 @@ <key> <string>meta_types</string> </key> <value> <string></string> </value> </item> + <item> + <key> <string>page_template</string> </key> + <value> <string></string> </value> + </item> <item> <key> <string>portal_types</string> </key> <value> <string></string> </value> @@ -467,6 +475,10 @@ <list/> </value> </item> + <item> + <key> <string>page_template</string> </key> + <value> <string></string> </value> + </item> <item> <key> <string>portal_types</string> </key> <value> @@ -562,7 +574,7 @@ <dictionary> <item> <key> <string>method_name</string> </key> - <value> <string>FastInput_initialize</string> </value> + <value> <string>Project_initializeFastInput</string> </value> </item> </dictionary> </pickle> diff --git a/bt5/erp5_project/bt/revision b/bt5/erp5_project/bt/revision index 24af08a4875794564c5895aa8c9b664b2c78effe..8bfa2f5ecdcecb29a2a68f2b68907198364f6c90 100644 --- a/bt5/erp5_project/bt/revision +++ b/bt5/erp5_project/bt/revision @@ -1 +1 @@ -83 \ No newline at end of file +86 \ No newline at end of file