lulus parameter ke wizard odoo
def create_field(self):
form_view = self.env.ref("your_wizard_form_view_external_id")
return{
'name': 'Wizard Name',
'views': [
(form_view.id, 'form'),
],
'res_model': 'dieu.chinh',
'target': 'new',
'type': 'ir.actions.act_window',
'context': {
'default_wizard_field_name': self.name.id, # for passing Many2One field context value in Wizard form view
},
}
Doubtful Deer