Commit 68ed21c1 authored by Jérome Perrin's avatar Jérome Perrin

don't show variation_text but variation title

simplify Resource_getMovementHistoryStat

git-svn-id: https://svn.erp5.org/repos/public/erp5/trunk@22866 20353a03-c40f-0410-a6d1-a30d3c3de9de
parent 8df58eb8
......@@ -68,8 +68,7 @@
<value> <string>from Products.PythonScripts.standard import Object\n
\n
return [Object(uid="new_",\n
total_quantity=context.getMovementHistoryStat(\n
selection_domain=kw.get(\'selection_domain\', None))[0][\'total_quantity\'],) ]\n
total_quantity=context.getMovementHistoryStat(**kw)[0][\'total_quantity\'],) ]\n
</string> </value>
</item>
<item>
......@@ -116,9 +115,9 @@ return [Object(uid="new_",\n
<string>Products.PythonScripts.standard</string>
<string>Object</string>
<string>_getitem_</string>
<string>_apply_</string>
<string>_getattr_</string>
<string>context</string>
<string>None</string>
</tuple>
</value>
</item>
......
......@@ -99,6 +99,7 @@
<string>listbox_inventory</string>
<string>listbox_getCurrentInventory</string>
<string>listbox_getAvailableInventory</string>
<string>listbox_variation_category_item_list</string>
</list>
</value>
</item>
......
......@@ -356,7 +356,7 @@
<string>Site or Warehouse</string>
</tuple>
<tuple>
<string>variation_text</string>
<string>variation_category_item_list</string>
<string>Variation</string>
</tuple>
<tuple>
......@@ -433,6 +433,10 @@
<string>inventory</string>
<string>Future</string>
</tuple>
<tuple>
<string>variation_category_item_list</string>
<string>Variation</string>
</tuple>
</list>
</value>
</item>
......
......@@ -98,6 +98,7 @@
<list>
<string>listbox_total_quantity</string>
<string>listbox_date</string>
<string>listbox_variation_category_item_list</string>
</list>
</value>
</item>
......
......@@ -321,7 +321,7 @@
<string>Owner</string>
</tuple>
<tuple>
<string>variation_text</string>
<string>variation_category_item_list</string>
<string>Variation</string>
</tuple>
<tuple>
......@@ -392,6 +392,10 @@
<string>total_quantity</string>
<string>Quantity</string>
</tuple>
<tuple>
<string>variation_category_item_list</string>
<string>Variation</string>
</tuple>
</list>
</value>
</item>
......
273
\ No newline at end of file
275
\ 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