Tryton - Issues



Title Add employee to rule context
Priority feature Status resolved
Superseder Nosy List ced, reviewbot, roundup-bot
Type feature request Components company
Assigned To ced Keywords review
Reviews 252621002
View: 252621002

Created on 2019-11-15.11:27:52 by ced, last changed by roundup-bot.

New changeset 5d714f327489 by Cédric Krier in branch 'default':
Add employee to rule context
New changeset 46940aee60d4 by Cédric Krier in branch 'default':
Add employee to rule context
review252621002 updated at
msg53195 (view) Author: [hidden] (ced) (Tryton committer) (Tryton translator) Date: 2019-11-15.11:27:51
If we want to write rules using employee attributes (like subordinates from issue8820), it is not possible as EvalEnvironment convert Eval('user', {}).get('employee') into id.
So we could add the employee in the context.
Date User Action Args
2019-12-07 15:15:49roundup-botsetmessages: + msg54356
2019-12-07 15:15:43roundup-botsetstatus: testing -> resolved
nosy: + roundup-bot
messages: + msg54355
2019-11-15 11:36:35reviewbotsetnosy: + reviewbot
messages: + msg53196
2019-11-15 11:29:05cedsetstatus: in-progress -> testing
reviews: 252621002
keyword: + review
2019-11-15 11:27:52cedcreate

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