Hello all,
I want to make a filter in a search view.
This filter must accept invoices when their date is in this the current week or the last week.
We consider that the week begins at monday. We consider that the week ends at sunday.
If we are at the beginning of the week actually, we don't go back for 14 days. Current week always begins to the last monday (or the actual monday if we already are monday) and last week always begin to the previous monday. (Do you understand what I mean? Not easy to write it in english...)