credativ team mailing list archive
-
credativ team
-
Mailing list archive
-
Message #04616
[Bug 903929] Re: Bank import: browse record is written to
Hmmm.... in trunk browse_record class has refresh function which does what we want.
We can possibly backport this for our purposes =)
def refresh(self):
"""Force refreshing this browse_record's data and all the data of the
records that belong to the same cache, by emptying the cache completely,
preserving only the record identifiers (for prefetching optimizations).
"""
for model, model_cache in self._cache.iteritems():
# only preserve the ids of the records that were in the cache
cached_ids = dict([(i, {'id': i}) for i in model_cache.keys()])
self._cache[model].clear()
self._cache[model].update(cached_ids)
--
You received this bug notification because you are a member of Banking
Addons Team, which is the registrant for Banking Addons.
https://bugs.launchpad.net/bugs/903929
Title:
Bank import: browse record is written to
Status in Banking Addons:
Fix Released
Bug description:
in account_banking/wizard/bank_import.py, in _get_move_info() the
browse record 'move_line' is being written to.
To manage notifications about this bug go to:
https://bugs.launchpad.net/banking-addons/+bug/903929/+subscriptions
References