Issue 9875

Title
Different behaviors GTK and SAO when validate trigger conditions
Priority
bug
Status
invalid
Nosy list
ced, pokoli, resteve
Assigned to
Keywords

Created on 2020-11-24.16:11:38 by resteve, last changed 1 month ago by pokoli.

Messages

Author: [hidden] (pokoli) Tryton committer Tryton translator
Date: 2021-03-04.17:37:55

I'm closing this issue as no steps to reproduce had been provided.
Please reopen with some steps if you do not agree.

Author: [hidden] (ced) Tryton committer Tryton translator
Date: 2021-01-05.23:26:17

The PYSON And and Or are tested so please provide at least a reproducible test.

Author: [hidden] (resteve)
Date: 2020-11-24.16:11:38

We detect that has a different behaviors with GTK and SAO clients when validate trigger conditions:

The condition is:

And(In(Get(Eval('self', {}), 'party', ''), [3906]), Equal(Get(Eval('self', {}), 'state', ''), 'quotation'))
  1. GTK

Ok and can save.

  1. SAO

Ko and can not save.

  1. At SAO, try separately the AND condition and the validation is ok:

Ok:

In(Get(Eval("self", {}), "party", ""), [3906])

OK:

Equal(Get(Eval("self", {}), "state", ""), "quotation")

I think with And and Or, SAO can not validate.

History
Date User Action Args
2021-03-04 17:37:55pokolisetmessages: + msg65096
nosy: + pokoli, - jaik
status: need-eg -> invalid
2021-01-10 10:34:18cedsetmessages: - msg63836
2021-01-10 04:08:10jaiksetmessages: + msg63836
nosy: + jaik
2021-01-05 23:26:17cedsetmessages: + msg63778
nosy: + ced
status: chatting -> need-eg
2020-11-24 16:11:38restevecreate

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