Commit d24185d3 authored by Aurel's avatar Aurel

2006-06-05 aurel

* complete rewrite of the script that save the fast input for delivery and fix naming convention

git-svn-id: https://svn.erp5.org/repos/public/erp5/trunk@7611 20353a03-c40f-0410-a6d1-a30d3c3de9de
parent 90fed2c7
...@@ -288,7 +288,7 @@ if listbox is None:\n ...@@ -288,7 +288,7 @@ if listbox is None:\n
, emission_letter_list = emission_letter_list\n , emission_letter_list = emission_letter_list\n
, variation_list = variation_list\n , variation_list = variation_list\n
, other_parameter = other_parameter_list\n , other_parameter = other_parameter_list\n
).CashDetail_fastInputForm(**kw)\n ).CashDetail_viewLineFastInputForm(**kw)\n
\n \n
\n \n
else :\n else :\n
...@@ -306,7 +306,7 @@ else :\n ...@@ -306,7 +306,7 @@ else :\n
# we don\'t update anything in read only mode\n # we don\'t update anything in read only mode\n
if read_only == "True":\n if read_only == "True":\n
context.Base_updateDialogForm(listbox=listbox, empty_line_number=0)\n context.Base_updateDialogForm(listbox=listbox, empty_line_number=0)\n
return context.asContext(context=None, portal_type=context.getPortalType() ,**kw ).CashDetail_fastInputForm(**kw)\n return context.asContext(context=None, portal_type=context.getPortalType() ,**kw ).CashDetail_viewLineFastInputForm(**kw)\n
\n \n
# get the maximum number of line allowed for a variation\n # get the maximum number of line allowed for a variation\n
if column_base_category == \'cash_status\':\n if column_base_category == \'cash_status\':\n
...@@ -371,7 +371,7 @@ else :\n ...@@ -371,7 +371,7 @@ else :\n
, portal_type=context.getPortalType()\n , portal_type=context.getPortalType()\n
, calculated_price=total_price\n , calculated_price=total_price\n
,**kw\n ,**kw\n
).CashDetail_fastInputForm(**kw)\n ).CashDetail_viewLineFastInputForm(**kw)\n
]]></string> </value> ]]></string> </value>
......
...@@ -133,7 +133,6 @@ for x in column_base_list:\n ...@@ -133,7 +133,6 @@ for x in column_base_list:\n
return_list.append([\'column\'+str(counter),x[0]])\n return_list.append([\'column\'+str(counter),x[0]])\n
counter += 1\n counter += 1\n
return_list.append([\'price\',\'Price\'])\n return_list.append([\'price\',\'Price\'])\n
return_list.append([\'resource_translated_title\',\'\'])\n
return_list.append([\'resource_id\',\'\'])\n return_list.append([\'resource_id\',\'\'])\n
return return_list\n return return_list\n
......
<?xml version="1.0"?>
<ZopeData>
<record id="1" aka="AAAAAAAAAAE=">
<pickle>
<tuple>
<tuple>
<string>Products.ERP5Form.Form</string>
<string>ERP5Form</string>
</tuple>
<none/>
</tuple>
</pickle>
<pickle>
<dictionary>
<item>
<key> <string>__ac_local_roles__</string> </key>
<value>
<none/>
</value>
</item>
<item>
<key> <string>_bind_names</string> </key>
<value>
<object>
<klass>
<global name="NameAssignments" module="Shared.DC.Scripts.Bindings"/>
</klass>
<tuple/>
<state>
<dictionary>
<item>
<key> <string>_asgns</string> </key>
<value>
<dictionary/>
</value>
</item>
</dictionary>
</state>
</object>
</value>
</item>
<item>
<key> <string>_objects</string> </key>
<value>
<tuple/>
</value>
</item>
<item>
<key> <string>_owner</string> </key>
<value>
<none/>
</value>
</item>
<item>
<key> <string>action</string> </key>
<value> <string>CashDetail_saveFastInputLine</string> </value>
</item>
<item>
<key> <string>encoding</string> </key>
<value> <string>UTF-8</string> </value>
</item>
<item>
<key> <string>enctype</string> </key>
<value> <string>multipart/form-data</string> </value>
</item>
<item>
<key> <string>group_list</string> </key>
<value>
<list>
<string>left</string>
<string>right</string>
<string>center</string>
<string>bottom</string>
<string>hidden</string>
</list>
</value>
</item>
<item>
<key> <string>groups</string> </key>
<value>
<dictionary>
<item>
<key> <string>bottom</string> </key>
<value>
<list>
<string>listbox</string>
</list>
</value>
</item>
<item>
<key> <string>center</string> </key>
<value>
<list/>
</value>
</item>
<item>
<key> <string>hidden</string> </key>
<value>
<list>
<string>listbox_price</string>
<string>listbox_displayed_resource</string>
<string>listbox_variation</string>
<string>listbox_column1</string>
<string>listbox_column10</string>
<string>listbox_column2</string>
<string>listbox_column3</string>
<string>listbox_column4</string>
<string>listbox_column5</string>
<string>listbox_column6</string>
<string>listbox_column7</string>
<string>listbox_column8</string>
<string>listbox_column9</string>
<string>listbox_column11</string>
<string>listbox_column12</string>
<string>listbox_column13</string>
<string>listbox_column14</string>
<string>listbox_column15</string>
<string>listbox_cash_status</string>
<string>listbox_emission_letter</string>
<string>listbox_number_line_to_add</string>
<string>listbox_resource_id</string>
</list>
</value>
</item>
<item>
<key> <string>left</string> </key>
<value>
<list>
<string>my_variation_list</string>
<string>my_operation_currency</string>
<string>my_cash_status_list</string>
<string>my_emission_letter_list</string>
<string>my_line_portal_type</string>
<string>my_other_parameter</string>
</list>
</value>
</item>
<item>
<key> <string>right</string> </key>
<value>
<list>
<string>my_calculated_price</string>
</list>
</value>
</item>
</dictionary>
</value>
</item>
<item>
<key> <string>id</string> </key>
<value> <string>CashDetail_viewLineFastInputForm</string> </value>
</item>
<item>
<key> <string>method</string> </key>
<value> <string>POST</string> </value>
</item>
<item>
<key> <string>name</string> </key>
<value> <string>CashDelivery_generateCashDetailInputDialog</string> </value>
</item>
<item>
<key> <string>pt</string> </key>
<value> <string>form_dialog</string> </value>
</item>
<item>
<key> <string>row_length</string> </key>
<value> <int>4</int> </value>
</item>
<item>
<key> <string>stored_encoding</string> </key>
<value> <string>UTF-8</string> </value>
</item>
<item>
<key> <string>title</string> </key>
<value> <string>Save</string> </value>
</item>
<item>
<key> <string>unicode_mode</string> </key>
<value> <int>0</int> </value>
</item>
<item>
<key> <string>update_action</string> </key>
<value> <string>CashDelivery_generateCashDetailInputDialog</string> </value>
</item>
</dictionary>
</pickle>
</record>
</ZopeData>
...@@ -221,7 +221,7 @@ ...@@ -221,7 +221,7 @@
</item> </item>
<item> <item>
<key> <string>enabled</string> </key> <key> <string>enabled</string> </key>
<value> <int>1</int> </value> <value> <int>0</int> </value>
</item> </item>
<item> <item>
<key> <string>external_validator</string> </key> <key> <string>external_validator</string> </key>
......
...@@ -221,7 +221,7 @@ ...@@ -221,7 +221,7 @@
</item> </item>
<item> <item>
<key> <string>enabled</string> </key> <key> <string>enabled</string> </key>
<value> <int>1</int> </value> <value> <int>0</int> </value>
</item> </item>
<item> <item>
<key> <string>external_validator</string> </key> <key> <string>external_validator</string> </key>
......
2006-06-05 aurel
* complete rewrite of the script that save the fast input for delivery
2006-06-02 aurel 2006-06-02 aurel
* finish the rewrite of fast input script * finish the rewrite of fast input script
......
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