How to add entry to 'More' menu or top menu to add action on multiple selections?

后端 未结 1 568
忘了有多久
忘了有多久 2020-12-10 19:02

Goal

I want to create delivery from a selection of order lines, but I can\'t get the button to appear.

Module

compose_delivery_order/
├─         


        
1条回答
  •  自闭症患者
    2020-12-10 19:54

    You need take care of below things while adding new menu on More menu.

    • register form view
    • register action view
    • register ir_values (from where you want to display menu)
    • give proper related view_id reference
    • target attribute in action view
    • give related name for record tag

    Try with below code (add code on .xml file):

    
    
        
            
                Create Delivery
                sale.order.line
                
                    
    Create Delivery ir.actions.act_window sale.order.line form form new True Create Delivery client_action_multi action sale.order.line

    0 讨论(0)
提交回复
热议问题