This question has been flagged
1 Reply
3449 Views

I need to show sale order form view in two form ,one in purchase order and one in sale order.In Sale order form once confirm sale is clicked it should go to closed state in this view,the other two button create invoice and delivery order should hidden.But when we go to purchase order the create invoice and view delivery order should view for this sale.How its possible.Need a help.


Avatar
Discard
Best Answer

You cannot use the same menu.  You need to define 2 menus (with 2 different parents).  A menu calls an action (usually window action).  You can define an action with domain (See the Setting >> Technical >> Actions >> Window Actions and select one record to see).

So, yes you can have 2 menus, calling 2 action windows that will pick different set of records from the same model (sale.order).

Avatar
Discard
Author

ok Ivan will try..thanks for answer..