CRM | e-Commerce | Accounting | Inventory | PoS | Project management | MRP | etc.
I'm in Odoo 8. Here is the XML for a filter. This filter displays invoice from the current year.
If I use :
Invoices are grouped by period (monthly) correctly.
If I use 'date_invoice' instead, invoice are ALSO grouped monthly. Same thing than 'period_id'.
<record id="filters_lapagept.ventes_annuelles_cf" model="ir.filters">
<field name="name">Ventes annuelles - CF</field>
<field name="is_default" eval="False" />
<field name="user_id" ref="" />
Do you know I could group my invoice by date_invoice instead of by period (month)?
I have found my answer here : https://www.odoo.com/fr_FR/forum/help-1/question/how-to-group-by-day-25139
When I think about my question, it's true that the field 'date_invoice' contents himself a day, a month and a year...
So, these lines work well :
About This Community
Odoo Training Center
|Asked: 12/7/15, 2:41 PM|
|Seen: 1203 times|
|Last updated: 12/7/15, 7:45 PM|