Merge pull request #1731 from hmen89/8.0-pos-dom-cache-fix

[FIX] point_of_sale: DOM Cache Error
This commit is contained in:
Frédéric Van der Essen 2014-08-11 18:12:01 +02:00
commit 519a704cba
1 changed files with 1 additions and 1 deletions

View File

@ -27,7 +27,7 @@ function openerp_pos_widgets(instance, module){ //module is instance.point_of_sa
oldest_key = key;
}
}
if(oldestKey){
if(oldest_key){
delete this.cache[oldest_key];
delete this.access_time[oldest_key];
}