← Back to team overview

c2c-oerpscenario team mailing list archive

[Bug 821484] Re: sales order - tree view - custom filter "is bigger" or "is less" by date not working

 

Thanks Naresh it seems that is like you said so , 
here is the result for filtering if requested_date is equal or bigger

requested_date is equal 2011-08-05 
DEBUG_RPC:rpc.request:('execute', 'PilotAzuga', 1, '*', (u'sale.order', 'search', [('requested_date', '=', '2011-08-05')], 0, 80, False, {'lang': u'ro_RO', 'project_id': False, 'tz': u'Europe/Bucharest', 'active_model': 'ir.ui.menu', 'department_id': False, 'section_id': False, 'search_default_user_id': 1, 'active_ids': [360], 'active_id': 360}))
DEBUG_RPC:rpc.request:('execute', 'PilotAzuga', 1, '*', (u'sale.order', 'read', [493, 488, 487, 486, 485], ['amount_untaxed', 'name', 'invoiced_rate', 'picked_rate', 'state', 'client_order_ref', 'user_id', 'date_order', 'partner_id', 'amount_total', '__last_update'], {'lang': u'ro_RO', 'active_ids': [360], 'tz': u'Europe/Bucharest', 'active_model': 'ir.ui.menu', 'section_id': False, 'active_id': 360, 'bin_size': True, 'search_default_user_id': 1, 'project_id': False, 'department_id': False}))


requested_date is bigger 2011-08-05 

DEBUG_RPC:rpc.request:('execute', 'PilotAzuga', 1, '*', (u'sale.order', 'search', [], 0, 80, False, {'lang': u'ro_RO', 'project_id': False, 'tz': u'Europe/Bucharest', 'active_model': 'ir.ui.menu', 'department_id': False, 'section_id': False, 'search_default_user_id': 1, 'active_ids': [360], 'active_id': 360}))
DEBUG_RPC:rpc.request:('execute', 'PilotAzuga', 1, '*', (u'sale.order', 'search_count', [], {'lang': u'ro_RO', 'project_id': False, 'tz': u'Europe/Bucharest', 'active_model': 'ir.ui.menu', 'department_id': False, 'section_id': False, 'search_default_user_id': 1, 'active_ids': [360], 'active_id': 360}))
DEBUG_RPC:rpc.request:('execute', 'PilotAzuga', 1, '*', (u'sale.order', 'read', [26, 24, 23, 22, 21, 20, 19, 18, 17, 495, 494, 493, 492, 491, 490, 488, 487, 486, 485, 484, 483, 482, 481, 480, 479, 478, 477, 476, 475, 474, 473, 472, 471, 470, 469, 468, 467, 466, 465, 464, 463, 462, 461, 460, 459, 458, 457, 456, 455, 454, 453, 452, 451, 450, 449, 448, 447, 446, 445, 444, 443, 442, 441, 440, 439, 438, 437, 436, 435, 434, 433, 432, 431, 430, 429, 428, 427, 426, 425, 424], ['amount_untaxed', 'name', 'invoiced_rate', 'picked_rate', 'state', 'client_order_ref', 'user_id', 'date_order', 'partner_id', 'amount_total', '__last_update'], {'lang': u'ro_RO', 'active_ids': [360], 'tz': u'Europe/Bucharest', 'active_model': 'ir.ui.menu', 'section_id': False, 'active_id': 360, 'bin_size': True, 'search_default_user_id': 1, 'project_id': False, 'department_id': False}))

-- 
You received this bug notification because you are a member of C2C
OERPScenario, which is subscribed to the OpenERP Project Group.
https://bugs.launchpad.net/bugs/821484

Title:
  sales order - tree view - custom filter "is bigger" or "is less" by
  date not working

Status in OpenERP Modules (addons):
  Invalid

Bug description:
  If I go to sales orders - tree view, I want to filter by date if is bigger or lower than a certain date, is not working
  returns all records.

  It works or "equal"

  But still not for creation date.

  Thanks

To manage notifications about this bug go to:
https://bugs.launchpad.net/openobject-addons/+bug/821484/+subscriptions


References