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 aa15afe49b394da889fd507b6814e76365d85161..c7411eabf1db86ceb5483a120d76d5565e1297c1 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 7b28e60ee0b3af499f94c8c8825ebbb21c40d261..d2088cbb16ff7a1aa3037353cbf7982bb338c274 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 a5a504bd0ede6a1e18b00cf4a2305b117ae8aad4..84efa7e06a44889fdf6b29b7ddd360dfd91c8ce8 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