[FIX] point_of_sale: I should have tested this more
bzr revid: fva@openerp.com-20120903145958-c7i93lp8q8w8ilop
This commit is contained in:
@@ -70,7 +70,7 @@ function openerp_pos_models(instance, module){ //module is instance.point_of_sal
|
||||
// helper function to load data from the server
|
||||
fetch: function(model, fields, domain, ctx){
|
||||
return new instance.web.Model(model).query(fields).filter(domain).context(ctx).all()
|
||||
};
|
||||
},
|
||||
// loads all the needed data on the sever. returns a deferred indicating when all the data has loaded.
|
||||
load_server_data: function(){
|
||||
var self = this;
|
||||
|
||||
Reference in New Issue
Block a user