"[REVERT][FIX] point_of_sale: field date of report.pos.order should be a datetime"
This reverts commit 97d097a2af
.
As explained in the commit comments (on Github), this patch leads to an infinite loop in 7.0, the filter of the pos orders report using the '=' operator in its domain, which is not available for datetime fields, but is for date fields.
This should not be forward ported to newer release (saas-3)
This commit is contained in:
parent
8044a37b3a
commit
18d365ce05
|
@ -27,7 +27,7 @@ class pos_order_report(osv.osv):
|
|||
_description = "Point of Sale Orders Statistics"
|
||||
_auto = False
|
||||
_columns = {
|
||||
'date': fields.datetime('Date Order', readonly=True),
|
||||
'date': fields.date('Date Order', readonly=True),
|
||||
'year': fields.char('Year', size=4, readonly=True),
|
||||
'month':fields.selection([('01','January'), ('02','February'), ('03','March'), ('04','April'),
|
||||
('05','May'), ('06','June'), ('07','July'), ('08','August'), ('09','September'),
|
||||
|
|
Loading…
Reference in New Issue