[FIX] point_of_sale: load disabled uoms
this is needed when selling products with a disabled uom
This commit is contained in:
parent
6e090f5d5b
commit
a8c6e666fa
|
@ -151,6 +151,7 @@ function openerp_pos_models(instance, module){ //module is instance.point_of_sal
|
||||||
model: 'product.uom',
|
model: 'product.uom',
|
||||||
fields: [],
|
fields: [],
|
||||||
domain: null,
|
domain: null,
|
||||||
|
context: function(self){ return { active_test: false }; },
|
||||||
loaded: function(self,units){
|
loaded: function(self,units){
|
||||||
self.units = units;
|
self.units = units;
|
||||||
var units_by_id = {};
|
var units_by_id = {};
|
||||||
|
|
Loading…
Reference in New Issue