← Back to team overview

openerp-india team mailing list archive

[Bug 1265608] [NEW] Stock move sorting not usefull after reception

 

Public bug reported:

Stock move sorting is defined as 'date_expected desc, id' . This is
useful as long as the items did not arrive yet. At this stage the date
field is not used/empty.

At delivery the date field is set as the real reception date.  After
reception it is IMHO no longer interesting to have the sorting driven by
the expected date but from the received date.

In order not to loose the original expected date, thus still allowing to
check if a delivery was in time etc, I propose to update the date from
the date_expected as long as the move is not in state done and to define
sorting as   'date_expected desc, id'. Additionally the date field is
set to readonly (in views)  in order to avoid that it is changed
manually.

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

** Branch linked: lp:~hirt/ocb-addons/6.1_stock_use_date_always

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

Title:
  Stock move sorting not usefull after reception

Status in OpenERP Addons (modules):
  New

Bug description:
  Stock move sorting is defined as 'date_expected desc, id' . This is
  useful as long as the items did not arrive yet. At this stage the date
  field is not used/empty.

  At delivery the date field is set as the real reception date.  After
  reception it is IMHO no longer interesting to have the sorting driven
  by the expected date but from the received date.

  In order not to loose the original expected date, thus still allowing
  to check if a delivery was in time etc, I propose to update the date
  from the date_expected as long as the move is not in state done and to
  define sorting as   'date_expected desc, id'. Additionally the date
  field is set to readonly (in views)  in order to avoid that it is
  changed manually.

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


Follow ups

References