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

I have two menu invoice and advanced cash and both have same action.

The requirement is that:
Invoice menu contain res.partner many2one as Customer field. res.partner have is_employee boolean field. 
When click on invoice menu res.partner select only customer from is_employee is true.

Same,

Advanced cash menu contain res.partner many2one as Customer field. res.partner have is_employee boolean field. 
When click on Advanced cashq menu res.partner select only customer from is_employee is false.

Please give me solutions.

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

Hi Dharmesh,


Base on your Requirement ,


Solution is that , Create different action for both Menu and pass context in the Action 

Base on context pass domain in the both form view Customer field

Regards,




Email:   odoo@aktivsoftware.com

Skype: kalpeshmaheshwari

   


Ảnh đại diện
Huỷ bỏ
Bài viết liên quan Trả lời Lượt xem Hoạt động
0
thg 1 22
2486
2
thg 8 25
2421
1
thg 7 25
916
1
thg 8 25
1151
0
thg 5 25
1347