How can i create multiple filter of same model?

Hello everyone

hey i am genrating purchase order .i have added some more atributes like purchase order is from client or vendor. my question is how can i create a different menu item for the vendor and client for the same purchase module with filter showing clients only or vendor only?


You should create a new ir.action.act_window record and attach it to a menu entry. On the action window you can use the domain attribute to apply a filter on the records shown.