From 44a5cb9f648d6f958b607b5d435f4ee7ec15e7c8 Mon Sep 17 00:00:00 2001 From: laurentbarontini Date: Mon, 29 Dec 2025 20:50:07 +0100 Subject: [PATCH] 29_12_25 --- tryton-sao.js | 12 ++---------- 1 file changed, 2 insertions(+), 10 deletions(-) diff --git a/tryton-sao.js b/tryton-sao.js index a309cbc..1d487fa 100644 --- a/tryton-sao.js +++ b/tryton-sao.js @@ -20687,9 +20687,9 @@ function eval_pyson(value){ if (event.data?.type === "exec_window"){ const { model, res_id, view_mode, domain } = event.data.payload || {}; var action = { - id: 'act_allocation_matched_form', + // id: 'act_allocation_matched_form', type: 'ir.action.act_window', - name: 'Lots matched', + // name: 'Lots matched', res_model: 'lot.report', pyson_domain: '[["r_lot_matched", ">", 0]]', @@ -20713,14 +20713,6 @@ function eval_pyson(value){ Sao.Action.exec_action(action, { ids: [] }, {}); } - if (event.data?.type === "exec_window2"){ - Sao.rpc({ - method: 'model.ir.action.act_window.get_action', - params: ['act_allocation_matched_form'] - }, Sao.Session.current_session).then(function(action) { - Sao.Action.exec_action(action, { ids: [] }, {}); - }); - } }); Sao.renderHTMLViewerContent = function(container, value, height, width, record) {