29_12_25
This commit is contained in:
@@ -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) {
|
||||
|
||||
Reference in New Issue
Block a user