跳至内容
菜单
此问题已终结
1 回复
7151 查看

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
2367
2
8月 25
2168
1
7月 25
707
1
8月 25
1150
0
5月 25
1245