odoo M2o Search more display custom views

#Model 
load_id = fields.Many2one ( 'urban.file ' , onDelete = ' NO Action ' , required = True) 
#View
adding context attribute <Field name = "Load the _id " context = " { 'tree_view_ref': 'module name. custom view ID '} " />

Details Reference: https://www.jianshu.com/p/0822f304810b

Guess you like

Origin www.cnblogs.com/da-tong/p/11589143.html