Community mailing list archives

community@mail.odoo.com

Re: "More" button: submenu sequence

by
Pedro M. Baeza
- 08/27/2015 05:50:05
Cédric, are you taken the challenge for v9?

Regards.

2015-08-26 10:58 GMT+02:00 Martin Trigaux <mat@odoo.com>:
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

_______________________________________________
Mailing-List: https://www.odoo.com/groups/community-59
Post to: mailto:community@mail.odoo.com
Unsubscribe: https://www.odoo.com/groups?unsubscribe