Comment 8 for bug 865308

Revision history for this message
Nicolas Vanhoren (OpenERP) (niv-openerp) wrote :

Hello Thibault.

Please note there are some problems in your bug report.

I see this:
<field name="fake_object_child_ids" context="{'this_does_not_work' : date, 'neither_this' : active_id}"/>

You don't tell me what 'date' represents. Is it a field? Something else?

Just telling me "Context is not evaluted on one2many fields" is not sufficient, and I know it's not true. I could cite you 10 examples in the OpenERP addons where that works. I don't say there is no bugs at all, that it works 100% of the time, but if I don't have enough information to reproduce this bug locally I can't resolve it, I can't even decide if it's a bug.

Plus you seem to conclude the active_id is not usable by simply relying on this same test, despite the fact that this test clearly fails due to that 'date' value that the context evaluator is not able to find.

Also please note that we know the web client stops when it encounters an error. That's a decision we made that the new web client would be less tolerant than the gtk client or the old web client, it was made on purpose and won't be changed. We prefer our program to completely crash with a big message when it encounters an error rather than trying to make stupid things to build an illusion of a working application.