We only have to eval any context/domain when it contains an xml_id reference. The time,uid,any field ,etc. are handled properly at client end. Tell me if you disagree.
The domain="[('section_id','=',section_id)]" is a case which is fair and fine, we have to get domain passed to client and client will take care of this.
Currently, we can't do an operation like finding 'ref' string from unEVALed context/domain and if it has 'ref', then eval(x).
So, try except sounds to be a good way as of now.
I would go for the patch which stops the headache.
If we have a Better solution, we can have that applied.
As I wrote already,
We only have to eval any context/domain when it contains an xml_id reference. The time,uid,any field ,etc. are handled properly at client end. Tell me if you disagree.
The domain= "[('section_ id','=' ,section_ id)]" is a case which is fair and fine, we have to get domain passed to client and client will take care of this.
Currently, we can't do an operation like finding 'ref' string from unEVALed context/domain and if it has 'ref', then eval(x).
So, try except sounds to be a good way as of now.
I would go for the patch which stops the headache.
If we have a Better solution, we can have that applied.
Thanks.