Community mailing list archives

Re: How to change default view in Sales module?

- 04/18/2016 16:08:30
Hello Luis,

thanks for your help. Only the last trick, editing the domain, gives me a

ValueError: Invalid domain term ('state', 'not in', 'cancel')
Any idea? Brgds

Am 18.04.2016 um 19:10 schrieb Luis Panozzo:
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
Skype: luispanozzo

On 18 April 2016 at 18:33, Jörg Ricardo Schumacher <> wrote:

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.


Post to:

Post to: