Tryton - Issues

 

Issue7423

Title Order shipment by planned date
Priority feature Status chatting
Superseder Nosy List ced, pokoli
Type behavior Components stock
Assigned To Keywords easy
Reviews

Created on 2018-05-09.15:12:23 by ced, last changed by ced.

Messages
msg40601 (view) Author: [hidden] (ced) (Tryton committer) (Tryton translator) Date: 2018-05-09.15:45:06
On 2018-05-09 15:29, Sergi Almacellas Abellana wrote:
> I'm wondering if it won't be worth to allow to define the order on the tab_domain also.

I thought about it but I'm not sure if it is a good idea.
Any way, this should be discussed on another issue.
msg40599 (view) Author: [hidden] (pokoli) (Tryton committer) (Tryton translator) Date: 2018-05-09.15:29:12
I'm wondering if it won't be worth to allow to define the order on the tab_domain also. We have a use case on a custom task view where we list the "Pending" and the "Done" tasks. For the Pending task it makes sense to order by date ascending but for the done tasks it makes sense to order by date descending so the older actions are hidden. 

It think this also makes sense for the shipments as the all tabs may be ordered by the planned date but the all should be ordered by effective date descending with null first.
msg40598 (view) Author: [hidden] (ced) (Tryton committer) (Tryton translator) Date: 2018-05-09.15:12:22
I think it makes more sense to order shipment by planned date.
The only view where it makes less sense is the "All" tabs because there are shipment done which may have a different planned and effective date. But I think it is any way better than the current behavior.
History
Date User Action Args
2018-05-09 15:45:07cedsetmessages: + msg40601
2018-05-09 15:29:12pokolisetstatus: unread -> chatting
nosy: + pokoli
messages: + msg40599
2018-05-09 15:12:23cedcreate

Showing 10 items. Show all history (warning: this could be VERY long)