Přejít na obsah
Menu
You need to be registered to interact with the community.
This question has been flagged
1 Odpovědět
7268 Zobrazení

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
Zrušit
Nejlepší odpověď

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
Zrušit
Related Posts Odpovědi Zobrazení Aktivita
0
led 22
2489
2
srp 25
2426
1
čvc 25
919
1
srp 25
1151
0
kvě 25
1347