diff --git a/bt5/erp5_mrp/SkinTemplateItem/portal_skins/erp5_mrp/ProductionOrderModule_getSelectionProductionOrderList.xml b/bt5/erp5_mrp/SkinTemplateItem/portal_skins/erp5_mrp/ProductionOrderModule_getSelectionProductionOrderList.xml index 32e5fc47d33d88bbceafd52913febe595b93cbfe..a5fb89b2fb649c36b486b5f40552e4a51efa3b68 100644 --- a/bt5/erp5_mrp/SkinTemplateItem/portal_skins/erp5_mrp/ProductionOrderModule_getSelectionProductionOrderList.xml +++ b/bt5/erp5_mrp/SkinTemplateItem/portal_skins/erp5_mrp/ProductionOrderModule_getSelectionProductionOrderList.xml @@ -50,8 +50,10 @@ </item> <item> <key> <string>_body</string> </key> - <value> <string>return context.portal_selections.getSelectionValueList(context=context,\n + <value> <string>return [brain\n + for brain in context.portal_selections.getSelectionValueList(context=context,\n selection_name= \'production_order_module_selection\')\n + if brain.getStartDate() is not None and brain.getStopDate() is not None]\n </string> </value> </item> <item> diff --git a/bt5/erp5_mrp/bt/change_log b/bt5/erp5_mrp/bt/change_log index 20665dde856bb39834f16f088312778e413b61c9..cdc0fa1f873526a996f8aacf2f8a062d4ab76e3c 100644 --- a/bt5/erp5_mrp/bt/change_log +++ b/bt5/erp5_mrp/bt/change_log @@ -1,3 +1,6 @@ +2011-06-07 yusei +* Stop displaying non-dated production order in planning box. It is useless. + 2011-06-02 arnaud.fontaine * Fix quantity unit conversion on ProductionOrder_viewMaterialConsumption. diff --git a/bt5/erp5_mrp/bt/revision b/bt5/erp5_mrp/bt/revision index 4754f24761375d44117927d26feadc16d867f3b6..a8114de9cfe66ff415376d115728191c625c1076 100644 --- a/bt5/erp5_mrp/bt/revision +++ b/bt5/erp5_mrp/bt/revision @@ -1 +1 @@ -461 \ No newline at end of file +462 \ No newline at end of file