• Julien Muchembled's avatar
    Review new amount generator · e2075796
    Julien Muchembled authored
    - Update API and interfaces
    - Make it possible to:
      - do non-linear calculation (via global type-based script)
        for every considered base_amount
        (i.e. not only for base_application of input movements).
        To avoid performance issue, the type-based script is changed to return
        functions instead of calculating results directly.
      - get accumulated values from movements while generating amounts for a
        delivery (i.e. for Amount Generator Lines targetting deliveries).
    - Produce amounts even if there is no resource, for reporting.
    - Drop probably useless create_line property: checking if there is a resource
      should be enough.
    - Prepare refactoring of MRP/Trade/Payroll by introducing AmountGeneratorLine
      class and property sheet.
    - Stop doing anything if there is no base_application on an AGL to avoid
      conflicts while figuring out if a movement was created manually or not.
    - Update some forms.
    - Update testTradeModelLine
    
    git-svn-id: https://svn.erp5.org/repos/public/erp5/sandbox/amount_generator@39028 20353a03-c40f-0410-a6d1-a30d3c3de9de
    e2075796
testTradeModelLine.py 48.4 KB