On 14/10/13 13:22 -0700, Narasimha Murthy wrote:
> Hi,
> I want to create a invoice view to show all the invoices pending for today 
> only.
> Can i use domain in xml to filter?how do i use domain. 
> domain('invoice_date',Eval(
> 'datetime.date.today()')) is correct?
> I am trying with XML view instead of writing own method.

Use the PYSON Date:
http://doc.tryton.org/2.8/trytond/doc/ref/pyson.html?highlight=pyson#trytond.pyson.Date

-- 
Cédric Krier

B2CK SPRL
Rue de Rotterdam, 4
4000 Liège
Belgium
Tel: +32 472 54 46 59
Email/Jabber: [email protected]
Website: http://www.b2ck.com/

Attachment: pgpOHICGnJQvi.pgp
Description: PGP signature

Reply via email to