Commit 9a84bf08 authored by Jérome Perrin's avatar Jérome Perrin

funding is also uid based

git-svn-id: https://svn.erp5.org/repos/public/erp5/trunk@42706 20353a03-c40f-0410-a6d1-a30d3c3de9de
parent 60b49d1b
...@@ -94,7 +94,7 @@ class CategoryBudgetVariation(BudgetVariation): ...@@ -94,7 +94,7 @@ class CategoryBudgetVariation(BudgetVariation):
axis = 'default_strict_%s_uid' % base_category axis = 'default_strict_%s_uid' % base_category
uid_based_axis = True uid_based_axis = True
elif axis in ('node', 'section', 'payment', 'function', 'project', elif axis in ('node', 'section', 'payment', 'function', 'project',
'mirror_section', 'mirror_node' ): 'mirror_section', 'mirror_node', 'funding' ):
axis = '%s_uid' % axis axis = '%s_uid' % axis
uid_based_axis = True uid_based_axis = True
......
...@@ -128,7 +128,7 @@ class NodeBudgetVariation(BudgetVariation): ...@@ -128,7 +128,7 @@ class NodeBudgetVariation(BudgetVariation):
uid_based_axis = False uid_based_axis = False
if axis in ('node', 'section', 'payment', 'function', 'project', if axis in ('node', 'section', 'payment', 'function', 'project',
'mirror_section', 'mirror_node' ): 'mirror_section', 'mirror_node', 'funding' ):
axis = '%s_uid' % axis axis = '%s_uid' % axis
uid_based_axis = True uid_based_axis = True
...@@ -214,7 +214,7 @@ class NodeBudgetVariation(BudgetVariation): ...@@ -214,7 +214,7 @@ class NodeBudgetVariation(BudgetVariation):
uid_based_axis = False uid_based_axis = False
if axis in ('node', 'section', 'payment', 'function', 'project', if axis in ('node', 'section', 'payment', 'function', 'project',
'mirror_section', 'mirror_node' ): 'mirror_section', 'mirror_node', 'funding' ):
axis = '%s_uid' % axis axis = '%s_uid' % axis
uid_based_axis = True uid_based_axis = True
......
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