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
- Contabilidad
- Inventario
- PoS
- Project
- MRP
Se marcó esta pregunta
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')]"/>
¿Le interesa esta conversación? ¡Participe en ella!
Cree una cuenta para poder utilizar funciones exclusivas e interactuar con la comunidad.
InscribirsePublicaciones relacionadas | Respuestas | Vistas | Actividad | |
---|---|---|---|---|
|
1
nov 22
|
1926 | ||
|
2
jul 25
|
3903 | ||
|
1
nov 22
|
3178 | ||
|
1
mar 22
|
2527 | ||
|
1
may 24
|
3159 |