• Jérome Perrin's avatar
    ERP5: do not lookup price during movement.edit(price=x) · 9d340a75
    Jérome Perrin authored
    Base.edit has this feature of not actually modifying the properties when
    the new property value is same as the current one, so when we do
    `movement.edit(price=x)`, this will cause an implicit getPrice.
    
    As price lookup is a bit slow, do not lookup price in this case.
    9d340a75
Movement.py 35.5 KB