Contributors mailing list archives

contributors@odoo-community.org

Avatar

Re: Header sorting in form view

by
Akretion France, David BEAL
- 24/02/2021 07:56:39
Thanks Yann,

Probably a good addition in oca repo ?



Le mar. 23 févr. 2021 à 23:36, Yann Papouin <y.papouin@dec-industrie.com> 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 | DEC


Le lun. 11 janv. 2021 à 11:06, Yann Papouin <y.papouin@dec-industrie.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

_______________________________________________
Mailing-List: https://odoo-community.org/groups/contributors-15
Post to: mailto:contributors@odoo-community.org
Unsubscribe: https://odoo-community.org/groups?unsubscribe

Reference