Cache invoices
All the data of invoices are static, so it would be nice to cache it to get better performance. Change-Id: Idb9fb970350ddb9bc1dacedd177301ad84913e4c
This commit is contained in:
parent
d906c733a2
commit
19e1a8ccb5
|
@ -234,6 +234,7 @@ class OdooDriver(driver.BaseDriver):
|
|||
|
||||
return detail_dict
|
||||
|
||||
@cache.memoize
|
||||
def get_invoices(self, start, end, project_id, detailed=False):
|
||||
"""Get history invoices from Odoo given a time range.
|
||||
|
||||
|
|
Loading…
Reference in New Issue