← Back to team overview

c2c-oerpscenario team mailing list archive

[Bug 491817] Re: support for 'or' in attrs keyword

 

There's a bug in the code of the patch.

The old code started the if with "if model and ...".  The current code
does not check if there is a model before doing anything and so in some
situations, when there is no model, it raises an exception, when all it
should do would be to just return None as the old one.

I see that this bug now says "Fix Released", I'm not sure WHERE it's
been released.  If you can point me to the current code, I can prepare a
patch.

-- 
You received this bug notification because you are a member of C2C
OERPScenario, which is subscribed to the OpenERP Project Group.
https://bugs.launchpad.net/bugs/491817

Title:
  support for 'or' in attrs keyword

Status in OpenObject GTK Client:
  Fix Released
Status in OpenObject Web Client:
  Confirmed

Bug description:
  The GTK client (and maybe the web client too) do not support or-conditions which is a great lack in term of flexibilty

The attached patch adds this functionality.