Community mailing list archives

community@mail.odoo.com

Re: easy way to filter weekdays

by
Skillteam, Houssine BAKKALI
- 06/24/2015 03:04:42
Hi Mohamed,

i think that creating a function field returning the day of the week for the invoice day should work.

just make sure to add that field in your tree view and then create a filter where the day of the week of the invoices are in  ('saterday', 'sunday')

2015-06-24 3:28 GMT+02:00 Mohamed M. Hagag <mohamedhagag1981@gmail.com>:

any advice ?!!


On 05/29/2015 01:15 AM, Mohamed M. Hagag wrote:
<blockquote cite="mid:5567A177.7040601@gmail.com" type="cite">

Dears,


I want to create a domain filter that lists all invoices created on Saturdays or Sundays .


what function can I use in the filter ?


Regards,


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