[FIX] point_of_sale: DOM Cache Error

This commit is contained in:
Grover Menacho 2014-08-11 11:58:15 -04:00
parent fda1e7d290
commit 1cb4495422
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];
}