Sales/Purchase not compatible with leap year
Sales and purchase cannot be opened using the Tryton client 2.2:
I think it is caused by the default value in the Search: Create date: > 29/02/2011.
File "/home/ohuisman/trytond23/tryton/tryton/gui/window/view_form/view/list.py", line 686, in
__sig_switch
if not self.screen.row_activate() and self.children_field:
File "/home/ohuisman/trytond23/tryton/tryton/gui/window/view_form/screen/screen.py", line 286,
in default_row_activate
}, context=self.context.copy(), warning=False)
File "/home/ohuisman/trytond23/tryton/tryton/action/main.py", line 170, in exec_keyword
Action._exec_action(action, data, context=context)
File "/home/ohuisman/trytond23/tryton/tryton/action/main.py", line 118, in _exec_action
action['pyson_search_value'] or '[]')
File "/usr/lib/python2.7/dist-packages/simplejson/decoder.py", line 402, in decode
obj, end = self.raw_decode(s, idx=_w(s, 0).end())
File "/usr/lib/python2.7/dist-packages/simplejson/decoder.py", line 418, in raw_decode
obj, end = self.scan_once(s, idx)
File "/home/ohuisman/trytond23/tryton/tryton/pyson.py", line 107, in _object_hook
return klass.eval(dct, self.__context)
File "/home/ohuisman/trytond23/tryton/tryton/pyson.py", line 520, in eval
date = Date.eval(dct, context)
File "/home/ohuisman/trytond23/tryton/tryton/pyson.py", line 464, in eval
date = date.replace(year=year)