← Back to team overview

openerp-community-reviewer team mailing list archive

[Bug 1179398] Re: [6.1]Invalid "Year" filter domain in sale.report.search

 

** Changed in: ocb-addons/6.1
       Status: Confirmed => Fix Released

** Changed in: ocb-addons
       Status: Confirmed => Fix Released

-- 
You received this bug notification because you are a member of OpenERP
Community Backports Team, which is subscribed to OpenERP Community
Backports (Addons).
https://bugs.launchpad.net/bugs/1179398

Title:
  [6.1]Invalid "Year" filter domain in sale.report.search

Status in OpenERP Community Backports (Addons):
  Fix Released
Status in OpenERP Community Backports (Addons) 6.1 series:
  Fix Released
Status in OpenERP Addons (modules):
  Invalid

Bug description:
  The sale analysis search views domain for the "Year" field is
  incorrect, when a user create a custom dashboard based on this, it
  returns non updated values:

  ./addons/sale/report/sale_report_view.xml

  BUG:
  domain="[('date','<=', time.strftime('%%Y-%%m-%%d')),('date','>=',time.strftime('%%Y-01-01'))]"

  FIX:
  domain="[('date','<=', time.strftime('%%Y-12-31')),('date','>=',time.strftime('%%Y-01-01'))]"

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