Tryton - Issues



Author ced
Date 2020-06-16.15:11:27
Most wizards run over a record or a set of records. We get them from the active_* context keys. But we do not:

- ensure the ensure that the active_model correspond to the Model used
- check that user as read access on the ids
- ensure that the model correspond to the model in ir.action.wizard

Moreover we duplicate the code in almost each wizard to get the instances using the active* context keys.

I propose to add in check_access of Wizard, the validation of the active_model and active_id(s). But also to add properties for model, record and records.
Date User Action Args
2020-06-16 15:11:28cedsetmessageid: <>
2020-06-16 15:11:28cedlinkissue9421 messages
2020-06-16 15:11:27cedcreate

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