Community mailing list archives

community@mail.odoo.com

Re: How to change default view in Sales module?

by
Elmatica AS, Luis Alberto Panozzo
- 04/18/2016 12:56:19
1.- Give Sales Orders "Menu Item" a lower priority than "Customers" or, ofr any given member change the Home Action in the User Profile preferences tab.
2.- In the associated action remove the context Action in the 
3.- Add a tree attribute default_order="date desc" in the XML view definition
4.- This one I have not tried but the domain of the window action should do the trick 


Luis Panozzo (Lp)
Technology Manager
Elmatica AS
luis.panozzo@elmatica.com
Skype: luispanozzo

On 18 April 2016 at 18:33, Jörg Ricardo Schumacher <joerg.schumacher@ehanse.de> wrote:
Hi,

when you activate the Sales module, by default you will get to the
section "Customers"

I want to
 - have the Sales Orders section as default
 - unset the filter "My", instead view all Sales Orders
 - order them by date, descending
 - filter out Sales Orders in status "cancelled"

How can I acheive this? I already have a little experience with custom
modules, but normally I do not know which models to touch etc.

Brgds
Jörg

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