For eg:
action : project.project
Different Menu : Project, Implementation, ...
We are calling same action for different menus, both the menus are idependent. When we create a record in Project Menu,it should not appear in Implementation menu,viceversa.
<record model="ir.actions.act_window.view" id="a_unique_name_as_id"> <field name="sequence" eval="2"/> <field name="view_mode">form</field> <field name="view_id" ref="your_view_ref_id"/><!--use ref="purchase_order_hash_form_test"--> <field name="act_window_id" ref="your_action_reference_id"/><!--use ref='action_PO_hash_test'--> </record>
I know this.
But i want to know,Any solution to assign Menus for same action through xml code or interface?
I think need to create two different action for same object w/ith based on domain condition. Example Refer Base Module res_partner_view.xml File.
You mean for supplier and customer?? But still we can view all partners there?