Commit 591b2f2b authored by Tatuya Kamada's avatar Tatuya Kamada

2009-11-10 tatuya

* Fix Sale and PurchaseOrder_view/listbox_quantity_unit  to show empty drop-down list if the line does not have any resource. This fix makes Delivery and Line  consistence of quantity_unit displaying.

git-svn-id: https://svn.erp5.org/repos/public/erp5/trunk@30465 20353a03-c40f-0410-a6d1-a30d3c3de9de
parent 04fa647c
...@@ -130,7 +130,7 @@ ...@@ -130,7 +130,7 @@
<dictionary> <dictionary>
<item> <item>
<key> <string>_text</string> </key> <key> <string>_text</string> </key>
<value> <string>python: (\'cell\' in CONTEXTS and cell.getResource()) and cell.getResourceValue().getQuantityUnitList() and [(\'\', \'\')] + [(x.getTranslatedLogicalPath(), x.getCategoryRelativeUrl(base=0)) for x in cell.getResourceValue().getQuantityUnitValueList()] or getattr(here.portal_categories[\'quantity_unit\'], preferences.getPreference(\'preferred_category_child_item_list_method_id\', \'getCategoryChildCompactLogicalPathItemList\'))(base=0, local_sort_id=(\'int_index\', \'translated_title\'), checked_permission=\'View\')</string> </value> <value> <string>python: (\'cell\' in CONTEXTS and cell.getResource()) and cell.getResourceValue().getQuantityUnitList() and [(\'\', \'\')] + [(x.getTranslatedLogicalPath(), x.getCategoryRelativeUrl(base=0)) for x in cell.getResourceValue().getQuantityUnitValueList()]</string> </value>
</item> </item>
</dictionary> </dictionary>
</pickle> </pickle>
......
...@@ -13,8 +13,8 @@ ...@@ -13,8 +13,8 @@
<key> <string>delegated_list</string> </key> <key> <string>delegated_list</string> </key>
<value> <value>
<list> <list>
<string>items</string>
<string>enabled</string> <string>enabled</string>
<string>items</string>
</list> </list>
</value> </value>
</item> </item>
...@@ -124,7 +124,7 @@ ...@@ -124,7 +124,7 @@
<dictionary> <dictionary>
<item> <item>
<key> <string>_text</string> </key> <key> <string>_text</string> </key>
<value> <string>python: (\'cell\' in CONTEXTS and cell.getResource()) and cell.getResourceValue().getQuantityUnitList() and [(\'\', \'\')] + [(x.getLogicalPath(), x.getCategoryRelativeUrl(base=0)) for x in cell.getResourceValue().getQuantityUnitValueList()] or getattr(here.portal_categories[\'quantity_unit\'], preferences.getPreference(\'preferred_category_child_item_list_method_id\', \'getCategoryChildCompactLogicalPathItemList\'))(base=0, local_sort_id=(\'int_index\', \'translated_title\'), checked_permission=\'View\')</string> </value> <value> <string>python: (\'cell\' in CONTEXTS and cell.getResource()) and cell.getResourceValue().getQuantityUnitList() and [(\'\', \'\')] + [(x.getTranslatedLogicalPath(), x.getCategoryRelativeUrl(base=0)) for x in cell.getResourceValue().getQuantityUnitValueList()]</string> </value>
</item> </item>
</dictionary> </dictionary>
</pickle> </pickle>
......
2009-11-10 tatuya
* Fix Sale and PurchaseOrder_view/listbox_quantity_unit to show empty drop-down list if the line does not have any resource. This fix makes Delivery and Line consistence of quantity_unit displaying.
2009-10-23 tatuya 2009-10-23 tatuya
* Clean-up returned sale packing list forms, workflows according to sale/purchase packing list. * Clean-up returned sale packing list forms, workflows according to sale/purchase packing list.
......
769 779
\ 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