Contributors mailing list archives
Re: Header sorting in form viewby
Akretion France, David BEAL
Probably a good addition in oca repo ?
Le mar. 23 févr. 2021 à 23:36, Yann Papouin <firstname.lastname@example.org> a écrit :
For the record:Values are kept locally until a full reload.The user orderedBy is stored in a dictionary where the primary key is model,res_id and the secondary key is the field name.--
Yann PAPOUIN, Ingénieur R&D | DECLe lun. 11 janv. 2021 à 11:06, Yann Papouin <email@example.com> a écrit :Dear community,I'm looking for an addon or a way to keep user sorting choices.As you know, you can click on a One2Many or Many2Many header (of a stored field) to sort the lines but any action in the form (validate something or encoding quantities, etc.) reload it and reset the user sort.I don't have a great JS expertise that's why I'm asking here before starting to work on a new module/hook dedicated to this feature.Thank you.--Yann Papouin