I want to create delivery from a selection of order lines, but I can\'t get the button to appear.
compose_delivery_order/
├─
You need take care of below things while adding new menu on More menu.
Try with below code (add code on .xml file):
<?xml version="1.0" encoding="utf-8"?>
<openerp>
<data>
<record id="view_create_delivery_button" model="ir.ui.view">
<field name="name">Create Delivery</field>
<field name="model">sale.order.line</field>
<field name="arch" type="xml">
<form string="Create Delivery" version="7.0">
<!-- Design Form or put your field here -->
<footer>
<!-- Add button on footer of pop-up window -->
</footer>
</form>
</field>
</record>
<record id="action_create_delivery_button" model="ir.actions.act_window">
<field name="name">Create Delivery</field>
<field name="type">ir.actions.act_window</field>
<field name="res_model">sale.order.line</field>
<field name="view_type">form</field>
<field name="view_mode">form</field>
<field name="view_id" ref="view_create_delivery_button"/>
<field name="target">new</field>
<field name="multi">True</field>
</record>
<record model="ir.values" id="ir_values_create_delivery_button">
<field name="model_id" ref="sale.model_sale_order_line" />
<field name="name">Create Delivery</field>
<field name="key2">client_action_multi</field>
<field name="value" eval="'ir.actions.act_window,' + str(ref('action_create_delivery_button'))" />
<field name="key">action</field>
<field name="model">sale.order.line</field>
</record>
</data>
</openerp>