[FIX] point_of_sale: load disabled uoms

this is needed when selling products with a disabled uom
This commit is contained in:
Julien Legros 2015-07-24 12:01:55 +02:00
parent 6e090f5d5b
commit a8c6e666fa
1 changed files with 1 additions and 0 deletions

View File

@ -151,6 +151,7 @@ function openerp_pos_models(instance, module){ //module is instance.point_of_sal
model: 'product.uom',
fields: [],
domain: null,
context: function(self){ return { active_test: false }; },
loaded: function(self,units){
self.units = units;
var units_by_id = {};