Inventory Brain: Avoid calling getObject when not required
* date attribute is converted to timezone only when attribute is accessed (and not in __init__ anymore). Some code that needs performance may be able to use date_utc attribute wich is the date as UTC * debit, credit, debit_price and credit_price uses "is_cancellation" column instead of getObject().isCancellationAmount()
Showing
Please register or sign in to comment