← Back to team overview

credativ team mailing list archive

[Bug 898358] Re: picking tree view date/min_date color

 

Hello Xavier ,

This is not a bug its your suggestion  so currently I am setting it as an opinion.
We welcomed the suggestions from experts.

Thanks for Reporting.


** Changed in: openobject-addons
       Status: New => Opinion

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

Title:
  picking tree view date/min_date color

Status in OpenERP Addons (modules):
  Opinion

Bug description:
  In picking view: stock.view_picking_out_tree
  tree color attribute is:
  <tree colors="blue:state in ('draft');grey:state in ('cancel');red:state not in ('cancel', 'done') and date &lt; current_date" string="Delivery Orders">

  the "red:state not in ('cancel', 'done') and date &lt; current_date" is bugging me:
  it might not be a bug, but I think it would make more sense if it was "red:state not in ('cancel', 'done') and min_date &lt; current_date" instead.

  min_date is the expected date, date is supposed to be the order date: why bother signaling picking which were done in the past ?
  All my picking were ordered in the past...

          'min_date': fields.function(get_min_max_date, fnct_inv=_set_minimum_date, multi="min_max_date",
                   method=True, store=True, type='datetime', string='Expected Date', select=1, help="Expected date for the picking to be processed"),

          'date': fields.datetime('Order Date', help="Date of Order",
  select=True),

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


References