diff --git a/tryton-sao.js b/tryton-sao.js index 5780ca6..dcb0f39 100644 --- a/tryton-sao.js +++ b/tryton-sao.js @@ -11456,9 +11456,11 @@ var Sao = { .on('dragover', false) .on('drop', this.attach_drop.bind(this)); - // if (this.screen.model_name === 'purchase.dashboard') { - // toolbar.hide(); - // } + console.log('title',this.title) + console.log('name',this.name) + if (this.title === 'Bought') { + toolbar.hide(); + } return toolbar; }, create_tabcontent: function() {