I need a today filter with confirmed sale order. Can anyone help with this?
Odoo is the world's easiest all-in-one management software.
It includes hundreds of business apps:
- CRM
- e-Commerce
- Księgowość
- Zapasy
- PoS
- Project
- MRP
To pytanie dostało ostrzeżenie
Hey Abdul Razak,
Find code in Comment
Hope this answer helps you.
Thanks
Thanks & Regards,
Email: odoo@aktivsoftware.com
Skype: kalpeshmaheshwari
You need to inherit search view and add below line to have filter of all the confirmed SOs today:
<filter string="Confirmed SOs Today" name="confirmed_so_today"
domain="[('date_order', '>=', context_today().strftime('%Y-%m-%d')),('date_order', '<=', context_today().strftime('%Y-%m-%d')),('state','=','sale')]"/>
Podoba Ci się ta dyskusja? Dołącz do niej!
Stwórz konto dzisiaj, aby cieszyć się ekskluzywnymi funkcjami i wchodzić w interakcje z naszą wspaniałą społecznością!
Zarejestruj sięPowiązane posty | Odpowiedzi | Widoki | Czynność | |
---|---|---|---|---|
|
1
lis 22
|
1970 | ||
|
2
lip 25
|
4031 | ||
|
1
lis 22
|
3246 | ||
|
1
mar 22
|
2618 | ||
|
1
maj 24
|
3312 |