• Jérome Perrin's avatar
    Simplify budget model variations, only 2 simple class are used: · 5fd031ec
    Jérome Perrin authored
     - NodeBudgetVariation that explicitly lists the possible values one by one,
       either by selecting them of specifying a script to return this list of
       values
     - CategoryBudgetVariation that uses a base category
    for each one, you specify what will be the "axis" used for getInventory (node,
    mirror_node, node_category etc)
    
    "SectionCategoryBudgetVariation" is therefore useless, it's a
    CategoryBudgetVariation where the axis is "section_category"
    
    Budget Cell, Budget Line and now Budget itself can be variated
     
    
    
    git-svn-id: https://svn.erp5.org/repos/public/erp5/trunk@25611 20353a03-c40f-0410-a6d1-a30d3c3de9de
    5fd031ec
CategoryBudgetVariation.py 6.4 KB