Přejít na obsah
Menu
You need to be registered to interact with the community.
This question has been flagged
1 Odpovědět
1900 Zobrazení

Hi,


I'm using default_group_by="state" to group quotation, but the order of the columns seems random.


How do I change the order of the columns?


I want to go from this:




To something like this:


Avatar
Zrušit
Nejlepší odpověď

They are not random, but the alphabetic order of the field value in DB ('canceled', 'darft', 'sale', 'sent'.
('draft', 'Quotation'),
('sent', 'Quotation Sent'),
('sale', 'Sales Order'),
('cancel', 'Cancelled'),
to change the order, you shall change the fields.Selection defination to something like:
('1draft', 'Quotation'),
('2sent', 'Quotation Sent'),
('3sale', 'Sales Order'),
('4cancel', 'Cancelled'),

Avatar
Zrušit