I found a solution with JS : in the button function :
action_def: function (e) {
var self = this;
var active_id = this.model.get(this.handle).getContext()['active_ids'];
var model_name = this.model.get(this.handle).getContext()['active_model'];
var context = this.model.get(this.handle).getContext()
var datas = self.model.localData
var domain ;
for (const [key, value] of Object.entries(datas)) {
domain = value.domain;
break;
};
self.do_action({
type: 'ir.actions.act_window',
res_model: 'imprimer.rapport',
view_mode: 'form',
view_type: 'form',
view_id: 'imprimer_livre_tiers_view',
views: [[false, 'form']],
target: 'new',
context:{"default_domain_record": domain},
});
},