← Back to team overview

openerp-india team mailing list archive

[Bug 914840] [NEW] [trunk] [stock] red color in warehouse management views not appropriate

 

Public bug reported:

A line in the list of delivery orders, incoming shippments or internal moves become red when the current date is higher than the order date.
in stock_view.xml
line 864 :
        <record id="view_picking_out_tree" model="ir.ui.view">
            <field name="name">stock.picking.out.tree</field>
            <field name="model">stock.picking</field>
            <field name="type">tree</field>
            <field name="arch" type="xml">
                <tree colors="blue:state == 'draft';grey:state == 'cancel';red:state not in ('cancel', 'done') and date &lt; current_date" string="Delivery Orders">

date in stock_picking is the date of order.

so the color is red even if the delivery is not late. Maybe the
comparated date should be the max_date.

Best regards,

** Affects: openobject-addons
     Importance: Undecided
         Status: New

-- 
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/914840

Title:
  [trunk] [stock] red color in warehouse management views not
  appropriate

Status in OpenERP Addons (modules):
  New

Bug description:
  A line in the list of delivery orders, incoming shippments or internal moves become red when the current date is higher than the order date.
  in stock_view.xml
  line 864 :
          <record id="view_picking_out_tree" model="ir.ui.view">
              <field name="name">stock.picking.out.tree</field>
              <field name="model">stock.picking</field>
              <field name="type">tree</field>
              <field name="arch" type="xml">
                  <tree colors="blue:state == 'draft';grey:state == 'cancel';red:state not in ('cancel', 'done') and date &lt; current_date" string="Delivery Orders">

  date in stock_picking is the date of order.

  so the color is red even if the delivery is not late. Maybe the
  comparated date should be the max_date.

  Best regards,

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


Follow ups

References