Odoo Help


How to add an item to the 'More' drop down list in sales module?

on 9/3/14, 3:17 PM 5,544 views

Hi everyone, i can't seem to figure out, where and how to put the code for adding a an item in the more list, to make batch action for more than one sale. I would really appreciate if you shed some light, is there a tag i can use to add it in the header?


Leonardo Donelli

--Leonardo Donelli--
| 5 4 8
Roma, Italy
--Leonardo Donelli--

Physics student and part-time developer.

Leonardo Donelli
On 9/4/14, 8:08 AM

What appears under the "more" drop-down button/menu (and, also, the "print" one) is determined by the model/table ir_values

To make an action appear under the 'more' menu, for example, you should define an ir_values record with

  • key="action" (this is for separate the "record type" from ir_values with key="default" which are a completely different thing)
  • key2="action_client_multi"
  • value="ir.actions.act_window,46" (replace 46 with your action id)
  • model="your model".
  • Other easy or non required parameters

The xml tag `<act_window>`, which I suggest to use instead of `<record model="ir.actions.act_window">` has an optional key2 parameter that takes care of automatically creating the correct `ir_values` record for you.

The same thing happens for the "print" button, where key2 is now `client_print_multi` and the <report> xml tag (to be used in place of <record model="ir.actions.report">) also creates that for you.


Thanks for your answer, i will try this now. Should i put this piece of code in some specific place? like inside the definition of the tree view? or makes no difference?

on 9/4/14, 11:18 AM

i am asking because when i put it in sale_view.xml does not appear, and i know this is the way to do it, so maybe i am putting it in a wrong place.

on 9/4/14, 11:45 AM

write this action after the tree view

on 9/5/14, 6:28 AM

Yeah, it's alright, worked! thanks

on 9/6/14, 9:53 PM

Techno-Functional Associate with 7+ years of experience in Odoo (formerly known as OpenERP).

On 9/4/14, 3:06 AM


you can achieve it using "client_action_multi"

Here is an example:

<act_window id="YOUR_ACTION_ID"
            key2="client_action_multi" name="DISPLAY  IN MORE"
            res_model="OBJECT" src_model="OBJECT"
            view_mode="form" target="new" view_type="form"

Hope this helps you...



How can I remove such an item from more option??

Sebin Siby
on 7/2/16, 2:18 AM
On 9/4/14, 7:51 AM

        <act_window id="action_name"
            key2="client_action_multi" name="Name o Display in Mor"
            res_model="object.object" src_model="object.object"
            view_mode="form" target="new" view_type="form" />

ok ;)

abdallah ghrir
on 10/27/14, 10:49 AM


How can I remove such an item from more option??

Sebin Siby
on 7/2/16, 2:20 AM

About This Community

This platform is for beginners and experts willing to share their Odoo knowledge. It's not a forum to discuss ideas, but a knowledge base of questions and their answers.


Odoo Training Center

Access to our E-learning platform and experience all Odoo Apps through learning videos, exercises and Quizz.

Test it now

Question tools

1 follower(s)


Asked: 9/3/14, 3:17 PM
Seen: 5544 times
Last updated: 3/16/15, 8:10 AM