Issue 11169

Title
Order selection field by selection definition
Priority
feature
Status
resolved
Nosy list
ced, reviewbot, roundup-bot
Assigned to
ced
Keywords
review

Created on 2022-01-24.11:00:22 by ced, last changed 4 months ago by roundup-bot.

Messages

New changeset 2996e843ca5f by Cédric Krier in branch 'default':
Order unsorted Selection by index definition
https://hg.tryton.org/tryton-env/rev/2996e843ca5f

New changeset 2b8a021992fa by Cédric Krier in branch 'default':
Do not sort state selection
https://hg.tryton.org/tryton-env/rev/2b8a021992fa
New changeset 8f1b91ce455e by Cédric Krier in branch 'default':
Order unsorted Selection by index definition
https://hg.tryton.org/trytond/rev/8f1b91ce455e

New changeset a0269564ec24 by Cédric Krier in branch 'default':
Do not sort state selection
https://hg.tryton.org/trytond/rev/a0269564ec24
New changeset 7b57f323cd35 by Cédric Krier in branch 'default':
Do not sort state selection
https://hg.tryton.org/modules/stock_quantity_issue/rev/7b57f323cd35
New changeset bb5320d29520 by Cédric Krier in branch 'default':
Do not sort state selection
https://hg.tryton.org/modules/stock_quantity_early_planning/rev/bb5320d29520
New changeset f3fbc5b55543 by Cédric Krier in branch 'default':
Do not sort state selection
https://hg.tryton.org/modules/stock_forecast/rev/f3fbc5b55543
New changeset 7db58c00d232 by Cédric Krier in branch 'default':
Do not sort state selection
https://hg.tryton.org/modules/stock/rev/7db58c00d232
New changeset 454081b6f0f8 by Cédric Krier in branch 'default':
Do not sort state selection
https://hg.tryton.org/modules/sale_supply_drop_shipment/rev/454081b6f0f8
New changeset 54d77055793b by Cédric Krier in branch 'default':
Do not sort state selection
https://hg.tryton.org/modules/sale_subscription/rev/54d77055793b
New changeset cb4d06a670fe by Cédric Krier in branch 'default':
Do not sort state selection
https://hg.tryton.org/modules/sale_point/rev/cb4d06a670fe
New changeset 6574035fe28c by Cédric Krier in branch 'default':
Do not sort state selection
https://hg.tryton.org/modules/sale_opportunity/rev/6574035fe28c
New changeset 27a1534e746f by Cédric Krier in branch 'default':
Do not sort state selection
https://hg.tryton.org/modules/sale_complaint/rev/27a1534e746f
New changeset b28e5ff83d01 by Cédric Krier in branch 'default':
Do not sort state selection
https://hg.tryton.org/modules/sale_amendment/rev/b28e5ff83d01
New changeset a6b936440fd1 by Cédric Krier in branch 'default':
Do not sort state selection
https://hg.tryton.org/modules/sale/rev/a6b936440fd1
New changeset ce6c3844b8a8 by Cédric Krier in branch 'default':
Do not sort state selection
https://hg.tryton.org/modules/purchase_requisition/rev/ce6c3844b8a8
New changeset 8bb8d6dc5151 by Cédric Krier in branch 'default':
Do not sort state selection
https://hg.tryton.org/modules/purchase_request_quotation/rev/8bb8d6dc5151
New changeset 020feb2f5e68 by Cédric Krier in branch 'default':
Do not sort state selection
https://hg.tryton.org/modules/purchase_request/rev/020feb2f5e68
New changeset 1e83a5f2ad18 by Cédric Krier in branch 'default':
Do not sort state selection
https://hg.tryton.org/modules/purchase_amendment/rev/1e83a5f2ad18
New changeset ebdd7b78a2ee by Cédric Krier in branch 'default':
Do not sort state selection
https://hg.tryton.org/modules/purchase/rev/ebdd7b78a2ee
New changeset f9051e996bdf by Cédric Krier in branch 'default':
Do not sort state selection
https://hg.tryton.org/modules/production_work/rev/f9051e996bdf
New changeset 85b742e89d15 by Cédric Krier in branch 'default':
Do not sort state selection
https://hg.tryton.org/modules/production/rev/85b742e89d15
New changeset 78ab8e3550ce by Cédric Krier in branch 'default':
Do not sort state selection
https://hg.tryton.org/modules/marketing_email/rev/78ab8e3550ce
New changeset bf7aa03ab1e9 by Cédric Krier in branch 'default':
Do not sort state selection
https://hg.tryton.org/modules/marketing_automation/rev/bf7aa03ab1e9
New changeset 62d82752349e by Cédric Krier in branch 'default':
Do not sort state selection
https://hg.tryton.org/modules/attendance/rev/62d82752349e
New changeset f17a253c795d by Cédric Krier in branch 'default':
Do not sort state selection
https://hg.tryton.org/modules/analytic_account/rev/f17a253c795d
New changeset 1fbf7b9931c0 by Cédric Krier in branch 'default':
Do not sort state selection
https://hg.tryton.org/modules/account_stock_shipment_cost/rev/1fbf7b9931c0
New changeset 3e623bbd8cbc by Cédric Krier in branch 'default':
Do not sort state selection
https://hg.tryton.org/modules/account_stock_landed_cost/rev/3e623bbd8cbc
New changeset 45be4843c4e3 by Cédric Krier in branch 'default':
Do not sort state selection
https://hg.tryton.org/modules/account_statement/rev/45be4843c4e3
New changeset f56e5756f590 by Cédric Krier in branch 'default':
Do not sort state selection
https://hg.tryton.org/modules/account_payment_stripe/rev/f56e5756f590
New changeset 1935475344d7 by Cédric Krier in branch 'default':
Do not sort state selection
https://hg.tryton.org/modules/account_payment_sepa/rev/1935475344d7
New changeset 1d0423ceb2c2 by Cédric Krier in branch 'default':
Do not sort state selection
https://hg.tryton.org/modules/account_payment_braintree/rev/1d0423ceb2c2
New changeset e8595979f961 by Cédric Krier in branch 'default':
Do not sort state selection
https://hg.tryton.org/modules/account_payment/rev/e8595979f961
New changeset 65c5e196cb08 by Cédric Krier in branch 'default':
Do not sort state selection
https://hg.tryton.org/modules/account_move_line_grouping/rev/65c5e196cb08
New changeset 8b38197ef110 by Cédric Krier in branch 'default':
Do not sort state selection
https://hg.tryton.org/modules/account_invoice_defer/rev/8b38197ef110
New changeset 8057570f55c1 by Cédric Krier in branch 'default':
Do not sort state selection
https://hg.tryton.org/modules/account_invoice/rev/8057570f55c1
New changeset 0b384db8c6f8 by Cédric Krier in branch 'default':
Do not sort state selection
https://hg.tryton.org/modules/account_dunning/rev/0b384db8c6f8
New changeset 28a4c9473012 by Cédric Krier in branch 'default':
Do not sort state selection
https://hg.tryton.org/modules/account_asset/rev/28a4c9473012
New changeset 2f6c83d6f7ab by Cédric Krier in branch 'default':
Do not sort state selection
https://hg.tryton.org/modules/account/rev/2f6c83d6f7ab
Author: [hidden] (ced) Tryton committer Tryton translator
Date: 2022-01-24.11:00:22

Some Selection fields have a selection definition not sorted (by alphabetical order). Such case means that the selection order has its own logic. So for me we should use the index in the definition when ordering record by this selection.
For example most of the state fields should be defined unsorted and so ordering sales by state should result this order no matter the translation: draft, quotation, confirmed, processing, done and cancelled.

History
Date User Action Args
2022-02-15 00:12:20roundup-botsetmessages: + msg74153
2022-02-15 00:12:15roundup-botsetmessages: + msg74152
2022-02-15 00:12:12roundup-botsetmessages: + msg74151
2022-02-15 00:12:08roundup-botsetmessages: + msg74150
2022-02-15 00:12:05roundup-botsetmessages: + msg74149
2022-02-15 00:12:01roundup-botsetmessages: + msg74148
2022-02-15 00:11:57roundup-botsetmessages: + msg74147
2022-02-15 00:11:52roundup-botsetmessages: + msg74146
2022-02-15 00:11:48roundup-botsetmessages: + msg74145
2022-02-15 00:11:42roundup-botsetmessages: + msg74144

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