From ce1be146026e72e5ad81d3c6eb79cdaff1864201 Mon Sep 17 00:00:00 2001 From: laurentbarontini Date: Sun, 8 Feb 2026 11:23:38 +0100 Subject: [PATCH] 08.02.26 --- tryton-sao.js | 8 +++++--- 1 file changed, 5 insertions(+), 3 deletions(-) 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() {