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

How To Give Domain For A Field Based On Another Field with odoo studio?


Ảnh đại diện
Huỷ bỏ
Câu trả lời hay nhất

Hi,

If you are using odoo13 and below, you can follow this approach of returning the domain in onchange.

See this sample from the code: How To Give Domain For A Field Based On Another Field

If you need to do it from UI, try with the server action: Add Onchange Function From User Interface In Odoo


Thanks

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