filtering sale.order with act_window using context_today () error window opens but filters properly
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
Odoo Addons (MOVED TO GITHUB) |
New
|
Undecided
|
Unassigned |
Bug Description
I'm filtering by domain sale.order in the act_window.
[('state','not in',('draft'
when I access to sales menu openerp send me this error but de filter work fine:
2013-09-23 16:05:48,393 5324 ERROR demo openerp.
Traceback (most recent call last):
File "/home/
except Exception:
File "", line 1, in <module>
NameError: name 'context_today' is not defined
2013-09-23 16:05:48,394 5324 ERROR demo openerp.osv.osv: Uncaught exception
Traceback (most recent call last):
File "/home/
return f(self, dbname, *args, **kwargs)
File "/home/
res = self.execute_cr(cr, uid, obj, method, *args, **kw)
File "/home/
return fct_src(cr, uid, model, method, *args, **kw)
File "/home/
return getattr(object, method)(cr, uid, *args, **kw)
File "/home/
dom = menu.action.domain and eval(menu.
File "/home/
except Exception:
File "", line 1, in <module>
NameError: name 'context_today' is not defined
2013-09-23 16:05:48,394 5324 ERROR demo openerp.netsvc: name 'context_today' is not defined
Traceback (most recent call last):
File "/home/
result = ExportService.
File "/home/
res = fn(db, uid, *params)
File "/home/
return self.execute(db, uid, obj, method, *args, **kw or {})
File "/home/
return f(self, dbname, *args, **kwargs)
File "/home/
res = self.execute_cr(cr, uid, obj, method, *args, **kw)
File "/home/
return fct_src(cr, uid, model, method, *args, **kw)
File "/home/
return getattr(object, method)(cr, uid, *args, **kw)
File "/home/
dom = menu.action.domain and eval(menu.
File "/home/
except Exception:
File "", line 1, in <module>
NameError: name 'context_today' is not defined
Regards :-)