← Back to team overview

openerp-india team mailing list archive

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

 

** Also affects: ocb-addons
   Importance: Undecided
       Status: New

** Changed in: ocb-addons
     Assignee: (unassigned) => Yann Papouin (yann-papouin)

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

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

Status in OpenERP Community Backports (Addons):
  New
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