Commit a2cf7415 authored by Aurel's avatar Aurel

fix form order

git-svn-id: https://svn.erp5.org/repos/public/erp5/trunk@14600 20353a03-c40f-0410-a6d1-a30d3c3de9de
parent da240715
...@@ -88,6 +88,7 @@ ...@@ -88,6 +88,7 @@
<string>listbox_source_total_asset_price</string> <string>listbox_source_total_asset_price</string>
<string>listbox_source_logical_path</string> <string>listbox_source_logical_path</string>
<string>listbox_start_date</string> <string>listbox_start_date</string>
<string>listbox_price</string>
</list> </list>
</value> </value>
</item> </item>
......
...@@ -65,9 +65,11 @@ ...@@ -65,9 +65,11 @@
</item> </item>
<item> <item>
<key> <string>_body</string> </key> <key> <string>_body</string> </key>
<value> <string>cash_detail_dict= { \'line_portal_type\' : \'Outgoing Cash Exchange Line\' # The portal type that the fastinput will create\n <value> <string>#cash_status = [\'valid\', \'new_emitted\']\n
cash_status = [\'valid\']\n
cash_detail_dict= { \'line_portal_type\' : \'Outgoing Cash Exchange Line\' # The portal type that the fastinput will create\n
, \'operation_currency\' : \'XOF\' # The operation currently\n , \'operation_currency\' : \'XOF\' # The operation currently\n
, \'cash_status_list\' : [\'valid\', \'new_emitted\'] # List of possible cashStatus or None if all\n , \'cash_status_list\' : cash_status # List of possible cashStatus or None if all\n
, \'emission_letter_list\' : context.Baobab_getUserEmissionLetterList() # List of possible emissionLetter or None if all\n , \'emission_letter_list\' : context.Baobab_getUserEmissionLetterList() # List of possible emissionLetter or None if all\n
, \'variation_list\' : context.Baobab_getResourceVintageList(banknote=1, coin=1) # List of possible variation or None if all #[\'2003\'] # List of possible variation or None if all\n , \'variation_list\' : context.Baobab_getResourceVintageList(banknote=1, coin=1) # List of possible variation or None if all #[\'2003\'] # List of possible variation or None if all\n
, \'currency_cash_portal_type\': None # \'Coin\' or \'Banknote\' or None if both\n , \'currency_cash_portal_type\': None # \'Coin\' or \'Banknote\' or None if both\n
...@@ -127,6 +129,7 @@ return context.CashDelivery_generateCashDetailInputDialog(listbox = None\n ...@@ -127,6 +129,7 @@ return context.CashDelivery_generateCashDetailInputDialog(listbox = None\n
<key> <string>co_varnames</string> </key> <key> <string>co_varnames</string> </key>
<value> <value>
<tuple> <tuple>
<string>cash_status</string>
<string>_getattr_</string> <string>_getattr_</string>
<string>context</string> <string>context</string>
<string>None</string> <string>None</string>
......
...@@ -69,7 +69,8 @@ ...@@ -69,7 +69,8 @@
source = context.getSource()\n source = context.getSource()\n
source_section = context.getSourceSection()\n source_section = context.getSourceSection()\n
\n \n
cash_status = [\'valid\', \'new_emitted\']\n #cash_status = [\'valid\', \'new_emitted\']\n
cash_status = [\'valid\']\n
#emission_letter = None\n #emission_letter = None\n
#emission_letter = list((context.getSourceValue().getCodification()[0]).lower())\n #emission_letter = list((context.getSourceValue().getCodification()[0]).lower())\n
emission_letter = context.Baobab_getUserEmissionLetterList()\n emission_letter = context.Baobab_getUserEmissionLetterList()\n
......
...@@ -87,6 +87,7 @@ ...@@ -87,6 +87,7 @@
<list> <list>
<string>listbox_destination_logical_path</string> <string>listbox_destination_logical_path</string>
<string>listbox_start_date</string> <string>listbox_start_date</string>
<string>listbox_source_total_asset_price</string>
</list> </list>
</value> </value>
</item> </item>
......
...@@ -86,6 +86,7 @@ ...@@ -86,6 +86,7 @@
<value> <value>
<list> <list>
<string>listbox_start_date</string> <string>listbox_start_date</string>
<string>listbox_source_total_asset_price</string>
</list> </list>
</value> </value>
</item> </item>
......
...@@ -86,6 +86,7 @@ ...@@ -86,6 +86,7 @@
<value> <value>
<list> <list>
<string>listbox_start_date</string> <string>listbox_start_date</string>
<string>listbox_source_total_asset_price</string>
</list> </list>
</value> </value>
</item> </item>
......
...@@ -87,6 +87,7 @@ ...@@ -87,6 +87,7 @@
<list> <list>
<string>listbox_destination_logical_path</string> <string>listbox_destination_logical_path</string>
<string>listbox_start_date</string> <string>listbox_start_date</string>
<string>listbox_source_total_asset_price</string>
</list> </list>
</value> </value>
</item> </item>
......
...@@ -65,9 +65,12 @@ ...@@ -65,9 +65,12 @@
</item> </item>
<item> <item>
<key> <string>_body</string> </key> <key> <string>_body</string> </key>
<value> <string>cash_detail_dict = {\'line_portal_type\' : \'Outgoing Mutilated Banknote Line\'\n <value> <string>#cash_status = [\'valid\', \'new_emitted\']\n
cash_status = [\'valid\']\n
\n
cash_detail_dict = {\'line_portal_type\' : \'Outgoing Mutilated Banknote Line\'\n
, \'operation_currency\' : context.Baobab_getPortalReferenceCurrencyID()\n , \'operation_currency\' : context.Baobab_getPortalReferenceCurrencyID()\n
, \'cash_status_list\' : [\'new_emitted\', \'valid\']\n , \'cash_status_list\' : cash_status\n
, \'emission_letter_list\' : context.Baobab_getUserEmissionLetterList()\n , \'emission_letter_list\' : context.Baobab_getUserEmissionLetterList()\n
, \'variation_list\' : context.Baobab_getResourceVintageList(banknote=1)\n , \'variation_list\' : context.Baobab_getResourceVintageList(banknote=1)\n
, \'currency_cash_portal_type\': \'Banknote\'\n , \'currency_cash_portal_type\': \'Banknote\'\n
...@@ -126,6 +129,7 @@ return context.CashDelivery_generateCashDetailInputDialog(listbox = None\n ...@@ -126,6 +129,7 @@ return context.CashDelivery_generateCashDetailInputDialog(listbox = None\n
<key> <string>co_varnames</string> </key> <key> <string>co_varnames</string> </key>
<value> <value>
<tuple> <tuple>
<string>cash_status</string>
<string>_getattr_</string> <string>_getattr_</string>
<string>context</string> <string>context</string>
<string>False</string> <string>False</string>
......
...@@ -86,6 +86,7 @@ ...@@ -86,6 +86,7 @@
<value> <value>
<list> <list>
<string>listbox_start_date</string> <string>listbox_start_date</string>
<string>listbox_source_total_asset_price</string>
</list> </list>
</value> </value>
</item> </item>
......
...@@ -79,7 +79,8 @@ if currency != context.Baobab_getPortalReferenceCurrencyID():\n ...@@ -79,7 +79,8 @@ if currency != context.Baobab_getPortalReferenceCurrencyID():\n
emission_letter = [\'not_defined\']\n emission_letter = [\'not_defined\']\n
variation = [\'not_defined\']\n variation = [\'not_defined\']\n
else:\n else:\n
cash_status = [\'valid\',\'new_emitted\']\n #cash_status = [\'valid\',\'new_emitted\']\n
cash_status = [\'valid\']\n
emission_letter = [\'not_defined\'] + context.Baobab_getUserEmissionLetterList()\n emission_letter = [\'not_defined\'] + context.Baobab_getUserEmissionLetterList()\n
variation = context.Baobab_getResourceVintageList(banknote=1, coin=1)\n variation = context.Baobab_getResourceVintageList(banknote=1, coin=1)\n
\n \n
......
323 325
\ 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