Skip to Content
Menu
This question has been flagged
1 Reply
7129 Views

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.

Avatar
Discard
Best Answer

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

   


Avatar
Discard
Related Posts Replies Views Activity
0
Jan 22
2353
2
Aug 25
1924
1
Jul 25
589
1
Jun 25
1147
0
May 25
1234