no error in clientscreen anymore
All checks were successful
odoo-restore-open_workshop-install / run-odoo-backup-in-docker (push) Successful in 4m38s
All checks were successful
odoo-restore-open_workshop-install / run-odoo-backup-in-docker (push) Successful in 4m38s
This commit is contained in:
parent
3e0abbf184
commit
93468530af
|
|
@ -16,6 +16,7 @@ odoo.define('machine_access_sidebar', function (require) {
|
|||
init: function(parent, options) {
|
||||
this._super(parent, options);
|
||||
this.partner = null;
|
||||
this.pos.bind('change:selectedOrder', this.bind_order_events, this);
|
||||
},
|
||||
|
||||
show: function() {
|
||||
|
|
@ -53,10 +54,10 @@ odoo.define('machine_access_sidebar', function (require) {
|
|||
var order = this.pos.get_order();
|
||||
if (!order) return;
|
||||
|
||||
order.unbind('change:client', this);
|
||||
/*order.unbind('change:client', this);
|
||||
order.bind('change:client', this, function () {
|
||||
this.update_machine_access(order.get_client());
|
||||
});
|
||||
});*/
|
||||
|
||||
this.update_machine_access(order.get_client());
|
||||
}
|
||||
|
|
@ -97,7 +98,7 @@ odoo.define('machine_access_sidebar', function (require) {
|
|||
this.sidebar_widget = sidebar;
|
||||
sidebar.appendTo(this.$el);
|
||||
|
||||
this.pos.bind('change:selectedOrder', sidebar.bind_order_events, sidebar);
|
||||
//this.pos.bind('change:selectedOrder', sidebar.bind_order_events, sidebar);
|
||||
|
||||
if (this.pos.get_order()) {
|
||||
sidebar.bind_order_events();
|
||||
|
|
|
|||
|
|
@ -12,7 +12,7 @@ odoo.define('open_workshop.models', function (require) {
|
|||
|
||||
});
|
||||
|
||||
odoo.define('open_workshop.partner_access_popup', function (require) {
|
||||
/* odoo.define('open_workshop.partner_access_popup', function (require) {
|
||||
"use strict";
|
||||
|
||||
var screens = require('point_of_sale.screens');
|
||||
|
|
@ -46,4 +46,4 @@ odoo.define('open_workshop.partner_access_popup', function (require) {
|
|||
});
|
||||
},
|
||||
});
|
||||
});
|
||||
});*/
|
||||
|
|
|
|||
Loading…
Reference in New Issue
Block a user