Commit b4462b79 authored by Yusei Tahara's avatar Yusei Tahara

Improve Base_getBySiteCurrentStockList and support group category.

parent f665695d
......@@ -53,6 +53,13 @@
<value> <string encoding="cdata"><![CDATA[
site = context.portal_categories.site.restrictedTraverse(site)\n
if group:\n
group = context.portal_categories.group.restrictedTraverse(group)\n
else:\n
group = None\n
\n
if group is not None:\n
kw[\'stock_section_category_uid\'] = group.getUid()\n
\n
def mycmp(line_a, line_b):\n
"""\n
......@@ -100,7 +107,7 @@ return result_list\n
</item>
<item>
<key> <string>_params</string> </key>
<value> <string>at_date=None, site=None, positive_stock=None, negative_stock=None, zero_stock=None, **kw</string> </value>
<value> <string>at_date=None, site=None, group=None, positive_stock=None, negative_stock=None, zero_stock=None, **kw</string> </value>
</item>
<item>
<key> <string>id</string> </key>
......
2011-09-28 yusei
* Improve Base_getBySiteCurrentStockList and support group category.
2011-09-20 tatuya
* Modify Order_zSelectMovement to make Packing List enable to represent Transfer of rights(ownership). To do this, remove WHERE expression to exclude simulation movements that have same source and destination.
......
1141
\ No newline at end of file
1142
\ 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