Skip to content

Commit

Permalink
[FIX] remove console.log
Browse files Browse the repository at this point in the history
  • Loading branch information
legalsylvain committed Mar 6, 2018
1 parent 8edaa1e commit 7e5e612
Showing 1 changed file with 0 additions and 2 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -21,7 +21,6 @@ openerp.pos_order_to_sale_order = function(instance, local) {
template: 'CreateSaleOrderButtonWidget',

init: function(parent, options){
console.log(options);
this._super(parent, options);
this.sale_order_state = options.sale_order_state;
if (this.sale_order_state == 'draft') {
Expand Down Expand Up @@ -83,7 +82,6 @@ openerp.pos_order_to_sale_order = function(instance, local) {
// Overload This function to send custom sale order data to server
prepare_create_sale_order: function(order) {
var res = order.export_as_JSON();
console.log(res);
res.sale_order_state = this.sale_order_state;
return res;
},
Expand Down

0 comments on commit 7e5e612

Please sign in to comment.