From b1f9ee42f36aad7a5c0fe618b5d61745321ce9e9 Mon Sep 17 00:00:00 2001 From: Yoshinori Okuji <yo@nexedi.com> Date: Sat, 12 Dec 2009 09:57:48 +0000 Subject: [PATCH] 2009-12-12 yo * Show translated logical paths instead of paths of quantity units in the Stock tab. git-svn-id: https://svn.erp5.org/repos/public/erp5/trunk@31259 20353a03-c40f-0410-a6d1-a30d3c3de9de --- .../Delivery_viewInventory/listbox_order_quantity_unit.xml | 4 ++-- bt5/erp5_trade/bt/change_log | 3 +++ bt5/erp5_trade/bt/revision | 2 +- 3 files changed, 6 insertions(+), 3 deletions(-) diff --git a/bt5/erp5_trade/SkinTemplateItem/portal_skins/erp5_trade/Delivery_viewInventory/listbox_order_quantity_unit.xml b/bt5/erp5_trade/SkinTemplateItem/portal_skins/erp5_trade/Delivery_viewInventory/listbox_order_quantity_unit.xml index aa15afe49b..c7411eabf1 100644 --- a/bt5/erp5_trade/SkinTemplateItem/portal_skins/erp5_trade/Delivery_viewInventory/listbox_order_quantity_unit.xml +++ b/bt5/erp5_trade/SkinTemplateItem/portal_skins/erp5_trade/Delivery_viewInventory/listbox_order_quantity_unit.xml @@ -13,8 +13,8 @@ <key> <string>delegated_list</string> </key> <value> <list> - <string>items</string> <string>enabled</string> + <string>items</string> </list> </value> </item> @@ -124,7 +124,7 @@ <dictionary> <item> <key> <string>_text</string> </key> - <value> <string>python: cell.getQuantityUnitList()</string> </value> + <value> <string>python: [(x.getTranslatedLogicalPath(), x.getCategoryRelativeUrl(base=0)) for x in cell.getResourceValue().getQuantityUnitValueList()] or [(\'\', \'\')]</string> </value> </item> </dictionary> </pickle> diff --git a/bt5/erp5_trade/bt/change_log b/bt5/erp5_trade/bt/change_log index 7b28e60ee0..d2088cbb16 100644 --- a/bt5/erp5_trade/bt/change_log +++ b/bt5/erp5_trade/bt/change_log @@ -1,3 +1,6 @@ +2009-12-12 yo +* Show translated logical paths instead of paths of quantity units in the Stock tab. + 2009-12-11 yusei * Display use category on trade model lines and aggregated amounts. diff --git a/bt5/erp5_trade/bt/revision b/bt5/erp5_trade/bt/revision index a5a504bd0e..84efa7e06a 100644 --- a/bt5/erp5_trade/bt/revision +++ b/bt5/erp5_trade/bt/revision @@ -1 +1 @@ -799 \ No newline at end of file +801 \ No newline at end of file -- 2.30.9