[IMP] pos_restaurant: use /web controller instead of /website to load the background image, so as to not depend on the website module
This commit is contained in:
committed by
Frédéric van der Essen
parent
c90f52391a
commit
3f28b34b87
@@ -331,7 +331,7 @@ function openerp_restaurant_floors(instance,module){
|
||||
}
|
||||
},
|
||||
background_image_url: function(floor) {
|
||||
return '/website/image/restaurant.floor/'+floor.id+'/background_image';
|
||||
return '/web/binary/image?model=restaurant.floor&id='+floor.id+'&field=background_image';
|
||||
},
|
||||
deselect_tables: function(){
|
||||
for (var i = 0; i < this.table_widgets.length; i++) {
|
||||
|
||||
Reference in New Issue
Block a user