跳至內容
選單
此問題已被標幟
1 回覆
7158 瀏覽次數

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.

頭像
捨棄
最佳答案

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

   


頭像
捨棄
相關帖文 回覆 瀏覽次數 活動
0
1月 22
2374
2
8月 25
2205
1
7月 25
750
1
8月 25
1150
0
5月 25
1258