Commit 7e1c8509 authored by Aurel's avatar Aurel

modify some forms to display cash inventory

git-svn-id: https://svn.erp5.org/repos/public/erp5/trunk@8519 20353a03-c40f-0410-a6d1-a30d3c3de9de
parent 2b687a7c
......@@ -68,7 +68,7 @@
</item>
<item>
<key> <string>_body</string> </key>
<value> <string>return context.getDestinationValue().getBbanTextFormat()\n
<value> <string>return context.getDestinationPaymentValue().getReference()\n
</string> </value>
</item>
<item>
......
......@@ -234,7 +234,9 @@
</item>
<item>
<key> <string>default</string> </key>
<value> <string></string> </value>
<value>
<persistent> <string encoding="base64">AAAAAAAAAAI=</string> </persistent>
</value>
</item>
<item>
<key> <string>description</string> </key>
......@@ -292,6 +294,14 @@
<key> <string>max_length</string> </key>
<value> <string></string> </value>
</item>
<item>
<key> <string>max_linelength</string> </key>
<value> <string></string> </value>
</item>
<item>
<key> <string>max_lines</string> </key>
<value> <string></string> </value>
</item>
<item>
<key> <string>parameter_list</string> </key>
<value> <string></string> </value>
......@@ -500,4 +510,23 @@
</dictionary>
</pickle>
</record>
<record id="2" aka="AAAAAAAAAAI=">
<pickle>
<tuple>
<tuple>
<string>Products.Formulator.TALESField</string>
<string>TALESMethod</string>
</tuple>
<none/>
</tuple>
</pickle>
<pickle>
<dictionary>
<item>
<key> <string>_text</string> </key>
<value> <string>python: here.getDestinationPaymentValue().getReference()</string> </value>
</item>
</dictionary>
</pickle>
</record>
</ZopeData>
......@@ -356,7 +356,9 @@
</item>
<item>
<key> <string>count_method</string> </key>
<value> <string></string> </value>
<value>
<persistent> <string encoding="base64">AAAAAAAAAAI=</string> </persistent>
</value>
</item>
<item>
<key> <string>css_class</string> </key>
......@@ -393,7 +395,16 @@
<item>
<key> <string>editable_columns</string> </key>
<value>
<list/>
<list>
<tuple>
<string>destination</string>
<string>Destination Vault</string>
</tuple>
<tuple>
<string>total_price</string>
<string>Total Price</string>
</tuple>
</list>
</value>
</item>
<item>
......@@ -425,7 +436,7 @@
<item>
<key> <string>list_method</string> </key>
<value>
<persistent> <string encoding="base64">AAAAAAAAAAI=</string> </persistent>
<persistent> <string encoding="base64">AAAAAAAAAAM=</string> </persistent>
</value>
</item>
<item>
......@@ -517,6 +528,25 @@
</pickle>
</record>
<record id="2" aka="AAAAAAAAAAI=">
<pickle>
<tuple>
<tuple>
<string>Products.Formulator.MethodField</string>
<string>Method</string>
</tuple>
<none/>
</tuple>
</pickle>
<pickle>
<dictionary>
<item>
<key> <string>method_name</string> </key>
<value> <string>countFolder</string> </value>
</item>
</dictionary>
</pickle>
</record>
<record id="3" aka="AAAAAAAAAAM=">
<pickle>
<tuple>
<tuple>
......
......@@ -162,11 +162,15 @@
</item>
<item>
<key> <string>input_style</string> </key>
<value> <string></string> </value>
<value>
<persistent> <string encoding="base64">AAAAAAAAAAI=</string> </persistent>
</value>
</item>
<item>
<key> <string>precision</string> </key>
<value> <string></string> </value>
<value>
<persistent> <string encoding="base64">AAAAAAAAAAM=</string> </persistent>
</value>
</item>
<item>
<key> <string>required</string> </key>
......@@ -193,7 +197,7 @@
</item>
<item>
<key> <string>css_class</string> </key>
<value> <string></string> </value>
<value> <string>figure</string> </value>
</item>
<item>
<key> <string>default</string> </key>
......@@ -257,4 +261,42 @@
</dictionary>
</pickle>
</record>
<record id="2" aka="AAAAAAAAAAI=">
<pickle>
<tuple>
<tuple>
<string>Products.Formulator.TALESField</string>
<string>TALESMethod</string>
</tuple>
<none/>
</tuple>
</pickle>
<pickle>
<dictionary>
<item>
<key> <string>_text</string> </key>
<value> <string>string:-1 234.5 | preferences/getPreferredMoneyQuantityStyle</string> </value>
</item>
</dictionary>
</pickle>
</record>
<record id="3" aka="AAAAAAAAAAM=">
<pickle>
<tuple>
<tuple>
<string>Products.Formulator.TALESField</string>
<string>TALESMethod</string>
</tuple>
<none/>
</tuple>
</pickle>
<pickle>
<dictionary>
<item>
<key> <string>_text</string> </key>
<value> <string>python: here.gePriceCurrencyValue().getQuantityPrecision()</string> </value>
</item>
</dictionary>
</pickle>
</record>
</ZopeData>
......@@ -414,9 +414,9 @@
<key> <string>date</string> </key>
<value>
<list>
<string>year</string>
<string>month</string>
<string>day</string>
<string>year</string>
<string>month</string>
<string>day</string>
</list>
</value>
</item>
......@@ -424,9 +424,9 @@
<key> <string>time</string> </key>
<value>
<list>
<string>hour</string>
<string>minute</string>
<string>ampm</string>
<string>hour</string>
<string>minute</string>
<string>ampm</string>
</list>
</value>
</item>
......
......@@ -100,7 +100,7 @@
<list>
<string>matrixbox_membership_criterion_category_list</string>
<string>membership_criterion_base_category_list</string>
<string>matrixbox_inventory</string>
<string>matrixbox_quantity</string>
</list>
</value>
</item>
......@@ -108,7 +108,6 @@
<key> <string>left</string> </key>
<value>
<list>
<string>my_resource_title</string>
<string>my_total_price</string>
</list>
</value>
......@@ -116,7 +115,9 @@
<item>
<key> <string>right</string> </key>
<value>
<list/>
<list>
<string>my_resource_translated_title</string>
</list>
</value>
</item>
</dictionary>
......
......@@ -241,8 +241,8 @@
<value>
<list>
<tuple>
<string>inventory</string>
<string>inventory</string>
<string>quantity</string>
<string>quantity</string>
</tuple>
<tuple>
<string>membership_criterion_category_list</string>
......
......@@ -5,7 +5,7 @@
<tuple>
<tuple>
<string>Products.Formulator.StandardFields</string>
<string>IntegerField</string>
<string>FloatField</string>
</tuple>
<none/>
</tuple>
......@@ -20,7 +20,7 @@
</item>
<item>
<key> <string>id</string> </key>
<value> <string>matrixbox_inventory</string> </value>
<value> <string>matrixbox_quantity</string> </value>
</item>
<item>
<key> <string>message_values</string> </key>
......@@ -31,12 +31,8 @@
<value> <string>The input failed the external validator.</string> </value>
</item>
<item>
<key> <string>integer_out_of_range</string> </key>
<value> <string>The integer you entered was out of range.</string> </value>
</item>
<item>
<key> <string>not_integer</string> </key>
<value> <string>You did not enter an integer.</string> </value>
<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>
......@@ -81,10 +77,6 @@
<key> <string>enabled</string> </key>
<value> <string></string> </value>
</item>
<item>
<key> <string>end</string> </key>
<value> <string></string> </value>
</item>
<item>
<key> <string>external_validator</string> </key>
<value> <string></string> </value>
......@@ -98,11 +90,15 @@
<value> <string></string> </value>
</item>
<item>
<key> <string>required</string> </key>
<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>start</string> </key>
<key> <string>required</string> </key>
<value> <string></string> </value>
</item>
<item>
......@@ -154,10 +150,6 @@
<key> <string>enabled</string> </key>
<value> <string></string> </value>
</item>
<item>
<key> <string>end</string> </key>
<value> <string></string> </value>
</item>
<item>
<key> <string>external_validator</string> </key>
<value> <string></string> </value>
......@@ -171,11 +163,15 @@
<value> <string></string> </value>
</item>
<item>
<key> <string>required</string> </key>
<key> <string>input_style</string> </key>
<value> <string></string> </value>
</item>
<item>
<key> <string>start</string> </key>
<key> <string>precision</string> </key>
<value> <string></string> </value>
</item>
<item>
<key> <string>required</string> </key>
<value> <string></string> </value>
</item>
<item>
......@@ -225,33 +221,33 @@
<key> <string>enabled</string> </key>
<value> <int>1</int> </value>
</item>
<item>
<key> <string>end</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>align="right"</string> </value>
<value> <string></string> </value>
</item>
<item>
<key> <string>hidden</string> </key>
<value> <int>0</int> </value>
</item>
<item>
<key> <string>required</string> </key>
<key> <string>input_style</string> </key>
<value> <string>-1 234.5</string> </value>
</item>
<item>
<key> <string>precision</string> </key>
<value> <int>0</int> </value>
</item>
<item>
<key> <string>start</string> </key>
<value> <string></string> </value>
<key> <string>required</string> </key>
<value> <int>0</int> </value>
</item>
<item>
<key> <string>title</string> </key>
<value> <string>Inventory</string> </value>
<value> <string>matrixbox_quantity</string> </value>
</item>
<item>
<key> <string>whitespace_preserve</string> </key>
......@@ -277,7 +273,7 @@
<dictionary>
<item>
<key> <string>_text</string> </key>
<value> <string>python: here.Integer_toString(int(cell.getProperty(\'inventory\')))</string> </value>
<value> <string>python: cell.getProperty(\'quantity\')</string> </value>
</item>
</dictionary>
</pickle>
......
......@@ -20,7 +20,7 @@
</item>
<item>
<key> <string>id</string> </key>
<value> <string>my_resource_title</string> </value>
<value> <string>my_resource_translated_title</string> </value>
</item>
<item>
<key> <string>message_values</string> </key>
......
......@@ -87,9 +87,7 @@
<item>
<key> <string>hidden</string> </key>
<value>
<list>
<string>listbox_destination_logical_path</string>
</list>
<list/>
</value>
</item>
</dictionary>
......@@ -121,7 +119,7 @@
</item>
<item>
<key> <string>title</string> </key>
<value> <string>Cash Inventory List</string> </value>
<value> <string>Cash Inventories</string> </value>
</item>
<item>
<key> <string>unicode_mode</string> </key>
......
......@@ -312,8 +312,8 @@
<string>Title</string>
</tuple>
<tuple>
<string>destination_logical_path</string>
<string>Vault</string>
<string>description</string>
<string>Description</string>
</tuple>
<tuple>
<string>stop_date</string>
......@@ -324,7 +324,9 @@
</item>
<item>
<key> <string>count_method</string> </key>
<value> <string></string> </value>
<value>
<persistent> <string encoding="base64">AAAAAAAAAAI=</string> </persistent>
</value>
</item>
<item>
<key> <string>css_class</string> </key>
......@@ -393,7 +395,7 @@
<item>
<key> <string>list_method</string> </key>
<value>
<persistent> <string encoding="base64">AAAAAAAAAAI=</string> </persistent>
<persistent> <string encoding="base64">AAAAAAAAAAM=</string> </persistent>
</value>
</item>
<item>
......@@ -485,6 +487,25 @@
</pickle>
</record>
<record id="2" aka="AAAAAAAAAAI=">
<pickle>
<tuple>
<tuple>
<string>Products.Formulator.MethodField</string>
<string>Method</string>
</tuple>
<none/>
</tuple>
</pickle>
<pickle>
<dictionary>
<item>
<key> <string>method_name</string> </key>
<value> <string>countFolder</string> </value>
</item>
</dictionary>
</pickle>
</record>
<record id="3" aka="AAAAAAAAAAM=">
<pickle>
<tuple>
<tuple>
......
......@@ -96,7 +96,10 @@
<item>
<key> <string>hidden</string> </key>
<value>
<list/>
<list>
<string>listbox_total_price</string>
<string>listbox_total_quantity</string>
</list>
</value>
</item>
<item>
......
......@@ -336,15 +336,11 @@
<value>
<list>
<tuple>
<string>id</string>
<string>ID</string>
</tuple>
<tuple>
<string>resource_title</string>
<string>resource_translated_title</string>
<string>Resource</string>
</tuple>
<tuple>
<string>total_inventory</string>
<string>total_quantity</string>
<string>Inventory</string>
</tuple>
<tuple>
......@@ -393,7 +389,16 @@
<item>
<key> <string>editable_columns</string> </key>
<value>
<list/>
<list>
<tuple>
<string>total_quantity</string>
<string>Inventory</string>
</tuple>
<tuple>
<string>total_price</string>
<string>Total Price</string>
</tuple>
</list>
</value>
</item>
<item>
......@@ -492,7 +497,7 @@
<string>Resource</string>
</tuple>
<tuple>
<string>total_inventory</string>
<string>total_quantity</string>
<string>Inventory</string>
</tuple>
<tuple>
......
......@@ -5,7 +5,7 @@
<tuple>
<tuple>
<string>Products.Formulator.StandardFields</string>
<string>StringField</string>
<string>FloatField</string>
</tuple>
<none/>
</tuple>
......@@ -20,7 +20,7 @@
</item>
<item>
<key> <string>id</string> </key>
<value> <string>listbox_destination_logical_path</string> </value>
<value> <string>listbox_total_quantity</string> </value>
</item>
<item>
<key> <string>message_values</string> </key>
......@@ -31,12 +31,12 @@
<value> <string>The input failed the external validator.</string> </value>
</item>
<item>
<key> <string>required_not_found</string> </key>
<value> <string>Input is required but no input given.</string> </value>
<key> <string>not_float</string> </key>
<value> <string>You did not enter a floating point number.</string> </value>
</item>
<item>
<key> <string>too_long</string> </key>
<value> <string>Too much input was given.</string> </value>
<key> <string>required_not_found</string> </key>
<value> <string>Input is required but no input given.</string> </value>
</item>
</dictionary>
</value>
......@@ -90,23 +90,19 @@
<value> <string></string> </value>
</item>
<item>
<key> <string>max_length</string> </key>
<value> <string></string> </value>
</item>
<item>
<key> <string>required</string> </key>
<key> <string>input_style</string> </key>
<value> <string></string> </value>
</item>
<item>
<key> <string>title</string> </key>
<key> <string>precision</string> </key>
<value> <string></string> </value>
</item>
<item>
<key> <string>truncate</string> </key>
<key> <string>required</string> </key>
<value> <string></string> </value>
</item>
<item>
<key> <string>unicode</string> </key>
<key> <string>title</string> </key>
<value> <string></string> </value>
</item>
<item>
......@@ -130,9 +126,7 @@
</item>
<item>
<key> <string>default</string> </key>
<value>
<persistent> <string encoding="base64">AAAAAAAAAAI=</string> </persistent>
</value>
<value> <string></string> </value>
</item>
<item>
<key> <string>description</string> </key>
......@@ -167,23 +161,21 @@
<value> <string></string> </value>
</item>
<item>
<key> <string>max_length</string> </key>
<value> <string></string> </value>
</item>
<item>
<key> <string>required</string> </key>
<value> <string></string> </value>
<key> <string>input_style</string> </key>
<value>
<persistent> <string encoding="base64">AAAAAAAAAAI=</string> </persistent>
</value>
</item>
<item>
<key> <string>title</string> </key>
<key> <string>precision</string> </key>
<value> <string></string> </value>
</item>
<item>
<key> <string>truncate</string> </key>
<key> <string>required</string> </key>
<value> <string></string> </value>
</item>
<item>
<key> <string>unicode</string> </key>
<key> <string>title</string> </key>
<value> <string></string> </value>
</item>
<item>
......@@ -203,7 +195,7 @@
</item>
<item>
<key> <string>css_class</string> </key>
<value> <string></string> </value>
<value> <string>figure</string> </value>
</item>
<item>
<key> <string>default</string> </key>
......@@ -223,7 +215,7 @@
</item>
<item>
<key> <string>editable</string> </key>
<value> <int>1</int> </value>
<value> <int>0</int> </value>
</item>
<item>
<key> <string>enabled</string> </key>
......@@ -235,31 +227,27 @@
</item>
<item>
<key> <string>extra</string> </key>
<value> <string></string> </value>
<value> <string>align="right"</string> </value>
</item>
<item>
<key> <string>hidden</string> </key>
<value> <int>0</int> </value>
</item>
<item>
<key> <string>max_length</string> </key>
<value> <string></string> </value>
<key> <string>input_style</string> </key>
<value> <string>-1 234.5</string> </value>
</item>
<item>
<key> <string>required</string> </key>
<key> <string>precision</string> </key>
<value> <int>0</int> </value>
</item>
<item>
<key> <string>title</string> </key>
<value> <string>Vault</string> </value>
</item>
<item>
<key> <string>truncate</string> </key>
<key> <string>required</string> </key>
<value> <int>0</int> </value>
</item>
<item>
<key> <string>unicode</string> </key>
<value> <int>0</int> </value>
<key> <string>title</string> </key>
<value> <string>Quantity</string> </value>
</item>
<item>
<key> <string>whitespace_preserve</string> </key>
......@@ -285,7 +273,7 @@
<dictionary>
<item>
<key> <string>_text</string> </key>
<value> <string>python: here.Baobab_getStrippedPath(object=cell, destination=1)</string> </value>
<value> <string>string:-1 234.5 | preferences/getPreferredMoneyQuantityStyle</string> </value>
</item>
</dictionary>
</pickle>
......
......@@ -162,11 +162,15 @@
</item>
<item>
<key> <string>input_style</string> </key>
<value> <string></string> </value>
<value>
<persistent> <string encoding="base64">AAAAAAAAAAI=</string> </persistent>
</value>
</item>
<item>
<key> <string>precision</string> </key>
<value> <string></string> </value>
<value>
<persistent> <string encoding="base64">AAAAAAAAAAM=</string> </persistent>
</value>
</item>
<item>
<key> <string>required</string> </key>
......@@ -257,4 +261,42 @@
</dictionary>
</pickle>
</record>
<record id="2" aka="AAAAAAAAAAI=">
<pickle>
<tuple>
<tuple>
<string>Products.Formulator.TALESField</string>
<string>TALESMethod</string>
</tuple>
<none/>
</tuple>
</pickle>
<pickle>
<dictionary>
<item>
<key> <string>_text</string> </key>
<value> <string>string:-1 234.5 | preferences/getPreferredMoneyQuantityStyle</string> </value>
</item>
</dictionary>
</pickle>
</record>
<record id="3" aka="AAAAAAAAAAM=">
<pickle>
<tuple>
<tuple>
<string>Products.Formulator.TALESField</string>
<string>TALESMethod</string>
</tuple>
<none/>
</tuple>
</pickle>
<pickle>
<dictionary>
<item>
<key> <string>_text</string> </key>
<value> <string>python: here.getPriceCurrencyValue().getQuantityPrecision()</string> </value>
</item>
</dictionary>
</pickle>
</record>
</ZopeData>
......@@ -94,7 +94,7 @@ if currency_id == context.Baobab_getPortalReferenceCurrencyID():\n
else:\n
letter_list = [\'not_defined\']\n
variation_list = [\'not_defined\']\n
cash_status_list = [\'valid\']\n
cash_status_list = [\'not_defined\']\n
\n
cash_detail_dict = {\'line_portal_type\' : \'Cash Inventory Line\'\n
, \'operation_currency\' : context.getPriceCurrencyId()\n
......@@ -102,9 +102,9 @@ cash_detail_dict = {\'line_portal_type\' : \'Cash Inventory Line\'\n
, \'emission_letter_list\' : letter_list\n
, \'variation_list\' : variation_list\n
, \'currency_cash_portal_type\': None\n
, \'read_only\' : True\n
, \'read_only\' : False\n
, \'column_base_category\' : \'variation\'\n
, \'use_inventory\' : 1\n
, \'use_inventory\' : False\n
}\n
\n
return context.CashDelivery_generateCashDetailInputDialog( listbox = None\n
......@@ -172,7 +172,7 @@ return context.CashDelivery_generateCashDetailInputDialog( listbox
<string>letter_list</string>
<string>variation_list</string>
<string>cash_status_list</string>
<string>True</string>
<string>False</string>
<string>cash_detail_dict</string>
</tuple>
</value>
......
......@@ -45,7 +45,7 @@
<key> <string>_keys</string> </key>
<value>
<list>
<string>uid</string>
<string>uid</string>
</list>
</value>
</item>
......
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