Hi, I would like to discuss about the search criteria on window actions.
First, for those who don't know what is search criteria, it is default value
that can be set in the client when openning a new tab. It is like the domain
except that they are visible (the search widgets are filled) and they are
editable. (There is no example currently in standard modules)
I think it could be good to have it filled in standard modules like sale,
purchase, account_invoice etc. Because they have models that will grow with
time and they can become annoying when working with a lot of records by
default.
So I propose to add a default search criteria on those actions like this one
for invoice:
{'invoice_date': ['between', datetime.date.today() -
datetime.timedelta(days=365)]}
It will show only the invoice from last year. You can try it in Tryton by
editing the invoices window actions in
"Administration>User Interface>Actions>Window Actions"
What do you think about?
If we agree I will implement it after the pyson [1] migration.
[1] http://groups.google.com/group/tryton-dev/browse_frm/thread/365e9d6b401f5cb8
--
Cédric Krier
B2CK SPRL
Rue de Rotterdam, 4
4000 Liège
Belgium
Tel: +32 472 54 46 59
Email: [email protected]
Jabber: [email protected]
Website: http://www.b2ck.com/
twitter: http://twitter.com/cedrickrier
identi.ca: http://identi.ca/cedrickrier
pgp3NJ42zi2CH.pgp
Description: PGP signature
