diff --git a/bt5/erp5_budget/SkinTemplateItem/portal_skins/erp5_budget/BudgetCell_getConsumedBudget.xml b/bt5/erp5_budget/SkinTemplateItem/portal_skins/erp5_budget/BudgetCell_getConsumedBudget.xml index daf01d87f7e37f0b84518ab6f6d211db4a82167d..fe3640ed9c0b82bf5a10637e51d53d1c65c068a7 100644 --- a/bt5/erp5_budget/SkinTemplateItem/portal_skins/erp5_budget/BudgetCell_getConsumedBudget.xml +++ b/bt5/erp5_budget/SkinTemplateItem/portal_skins/erp5_budget/BudgetCell_getConsumedBudget.xml @@ -59,12 +59,6 @@ budget_model = budget.getSpecialiseValue(portal_type=\'Budget Model\')\n if budget_model is not None:\n kw = budget_model.getInventoryQueryDict(context)\n \n -kw.setdefault(\'from_date\', budget.getStartDateRangeMin())\n -start_date_range_max = budget.getStartDateRangeMax()\n -if start_date_range_max:\n - start_date_range_max = start_date_range_max.latestTime()\n -kw.setdefault(\'at_date\', start_date_range_max)\n -\n if from_date:\n kw[\'from_date\'] = from_date\n if at_date:\n @@ -120,7 +114,6 @@ return (context.portal_simulation.getCurrentInventoryAssetPrice(**kw) or 0) * co <string>budget</string> <string>budget_model</string> <string>None</string> - <string>start_date_range_max</string> <string>_write_</string> <string>_apply_</string> </tuple> diff --git a/bt5/erp5_budget/SkinTemplateItem/portal_skins/erp5_budget/BudgetCell_getEngagedBudget.xml b/bt5/erp5_budget/SkinTemplateItem/portal_skins/erp5_budget/BudgetCell_getEngagedBudget.xml index 7c7addd77af7324bf67a9c37abc2c08112974475..3fa7703a899ce33e9e0268bfdc86f2fb67095d48 100644 --- a/bt5/erp5_budget/SkinTemplateItem/portal_skins/erp5_budget/BudgetCell_getEngagedBudget.xml +++ b/bt5/erp5_budget/SkinTemplateItem/portal_skins/erp5_budget/BudgetCell_getEngagedBudget.xml @@ -59,12 +59,6 @@ budget_model = budget.getSpecialiseValue(portal_type=\'Budget Model\')\n if budget_model is not None:\n kw = budget_model.getInventoryQueryDict(context)\n \n -kw.setdefault(\'from_date\', budget.getStartDateRangeMin())\n -start_date_range_max = budget.getStartDateRangeMax()\n -if start_date_range_max:\n - start_date_range_max = start_date_range_max.latestTime()\n -kw.setdefault(\'at_date\', start_date_range_max)\n -\n if from_date:\n kw[\'from_date\'] = from_date\n if at_date:\n @@ -124,7 +118,6 @@ return (context.portal_simulation.getInventoryAssetPrice(**kw) or 0) * context.g <string>budget</string> <string>budget_model</string> <string>None</string> - <string>start_date_range_max</string> <string>_write_</string> <string>_apply_</string> </tuple> diff --git a/bt5/erp5_budget/bt/revision b/bt5/erp5_budget/bt/revision index 2d828461b6912dc00f044b46a61b4336403c56f4..eff3954851315ae44a180cce680a290c307a0899 100644 --- a/bt5/erp5_budget/bt/revision +++ b/bt5/erp5_budget/bt/revision @@ -1 +1 @@ -289 \ No newline at end of file +290 \ No newline at end of file