hr_timesheet_invoice: lines are not sorted by date
Bug #594139 reported by
jugglefish
This bug affects 1 person
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
Odoo Addons (MOVED TO GITHUB) |
Fix Released
|
Low
|
Unassigned |
Bug Description
if using the wizard 'wizard/
Related branches
lp:~pniederlag/openobject-addons/fix_hr_timesheet_invoice_5.0
- Jay Vora (Serpent Consulting Services) (community): Approve
-
Diff: 22 lines (+3/-2)1 file modifiedhr_timesheet_invoice/wizard/hr_timesheet_invoice_create.py (+3/-2)
Changed in openobject-addons: | |
status: | New → Confirmed |
To post a comment you must log in.
Hello Jugglefish,
We have sorting done on the basis of the 'Invoice Number'.
In invoice.py :
_name = "account.invoice"
_order = "number"
However, you can have the invoices sorted on the basis of other field(date) for example by using: "date_invoice"
_order=
Hope this helps.
Thank you.