Community mailing list archives

community@mail.odoo.com

Re: "More" button: submenu sequence

by
Martin Trigaux (mat)
- 08/26/2015 04:54:20
On 26/08/15 10:22, Pedro Manuel Baeza Romero wrote:
> I see no sequence in ir.values, so I'm afraid there's no possibility to
> do it.

Indeed, there is currently no sort criteria, but could be a good pull 
request for master ;-)

FYI fetching and combining the actions is done at these levels
https://github.com/odoo/odoo/blob/cd9a7760/openerp/addons/base/ir/ir_values.py#L445
https://github.com/odoo/odoo/blob/cd9a7760/openerp/models.py#L1560
https://github.com/odoo/odoo/blob/cd9a7760/addons/web/static/src/js/views.js#L1245

So it requires a bit more work than just adding an _order

Martin

-- 
Martin Trigaux
Odoo (Formerly OpenERP)
https://odoo.com
https://github.com/mart-e