[IMP] Usability of export wizard

Purpose: Issue fixed regarding sorting order in fields to export and not remove selected fields by changing export type

More Details:
Task: https://www.odoo.com/web#id=5110&view_type=form&model=project.task&menu_id=3942&action=327

Pad: https://pad.odoo.com/p/r.lZVj53TW0aZDnp2v

Thanks
rba-odoo

Hi Richard and Xavier,

Yes we did exactly the same as described by Xavier but that we can not differentiate import compatible fields of one2many, we will not have all the field in one go, like if I have one2many field so when expand that one2many then and only then it calls get_fields of that one2many model.

So if I have one2many fields in fields selection and then I change the mode to Import compatible from export all fields then first time I'll have first level fields only so I can not compare for one2many's child fields.

For this reason we need to add logic in get_fields itself.

Yes I am going to improve this logic and test it does not break any scenario.