Issue 4612

Some models which represents surrogate entities are difficult to understand
Nosy list
ced, nicoe, ohuisman, reviewbot
Assigned to

Created on 2015-03-05.13:30:07 by nicoe, last changed 4 days ago by ced.


Author: [hidden] (ced) Tryton committer Tryton translator
Date: 2022-09-25.20:54:00

For me it is no more needed because the two models modified are already writable only by corresponding admin group. So this means that the fields are already readonly and so it is not possible to edit the target from there for other users.

Author: [hidden] (ced) Tryton committer Tryton translator
Date: 2016-09-29.09:19:19
Indeed I do not like to hard code group ids in the states.
I'm wondering if issue4540 does not solve the problem.
Author: [hidden] (nicoe) Tryton committer
Date: 2015-03-05.13:30:05
For example the bank use the party as rec_name, the employee also use the party as rec_name. Those both models are quite simple yet sometimes puzzling for the users.

A behavior that has been noticed is that the user when presented with a M2O on those models will change the party related to those surrogate entities instead of changing the employee/bank.

The review removes to users not present in some group the possibility to edit existing models.
Date User Action Args
2022-10-02 11:05:57cedsetstatus: in-progress -> invalid
2022-09-25 20:54:00cedsetmessages: + msg78315
2022-09-23 10:16:48reviewbotsetmessages: + msg78275
nosy: + reviewbot
2016-09-29 09:19:20cedsetstatus: chatting -> in-progress
nosy: + ced
messages: + msg29080
2015-07-11 05:39:06nicoesetstatus: chatting
2015-03-05 13:42:21ohuismansetstatus: unread -> (no value)
nosy: + ohuisman
2015-03-05 13:30:07nicoecreate

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