This commit is contained in:
2025-12-29 20:08:30 +01:00
parent 5d4fadcd35
commit c96c15ab59

View File

@@ -20692,8 +20692,8 @@ function eval_pyson(value){
name: 'Lots matched', name: 'Lots matched',
res_model: 'lot.report', res_model: 'lot.report',
// PYSON sous forme de string // PYSON JSON-compatible
pyson_domain: "[('r_lot_matched', '>', 0)]", pyson_domain: '[["r_lot_matched", ">", 0]]',
pyson_context: JSON.stringify({ pyson_context: JSON.stringify({
purchase: null, purchase: null,
@@ -20705,23 +20705,11 @@ function eval_pyson(value){
group: 'by_physic' group: 'by_physic'
}), }),
views: [], // ou préciser des vues si besoin views: [],
domains: [] // onglets de domaine (optionnel) domains: []
}; };
// Données actives (souvent vides pour une action menu) Sao.Action.exec_action(action, {ids: []}, {});
var data = {
model: null,
id: null,
ids: []
};
// Contexte supplémentaire (optionnel)
var context = {};
// Exécution
Sao.Action.exec_action(action, data, context);
} }
}); });