• Jérome Perrin's avatar
    ERP5: do not lookup price during movement.edit(price=x) · a78c0126
    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.
    a78c0126
Movement.py 35.5 KB