Bỏ qua để đến Nội dung
Menu
Câu hỏi này đã bị gắn cờ
1213 Lượt xem

Hello 
currently am working on odoo 15. in this i have two drop down on first drop down i am getting table name and on second drop down am getting those tables fields on my selection. is there any way to select multiple tables fields from the drop down without storing data to database ?

 

here are my fields

 

table_selection = fields.Selection(selection=lambda self: self._get_table_selection(), default=False,string="All DB Table Selection")
table_fields_selection = fields.Selection(selection='_compute_selection_values',string="Table Fields Selection",store=True,readonly=False)

Ảnh đại diện
Huỷ bỏ