openerp-community team mailing list archive
-
openerp-community team
-
Mailing list archive
-
Message #02318
Re: lp:~openerp-community/openobject-addons/trunk-bug-1090224 into lp:openobject-addons
Hi
To search on function fields you need make a fnct_search and return the
search parameters, without store=True
El 25/02/2013 09:46, "Michael Telahun Makonnen" <mmakonnen@xxxxxxxxx>
escribió:
> Hi there,
>
> I believe that for related and function fields unless you store the value
> in the database you cannot search or filter on it. So, in this case
> instead of just setting store=False it might be better to use store={...}
>
> See here for an example:
> http://doc.openerp.com/v6.0/developer/2_5_Objects_Fields_Methods/field_type.html#store-parameter
>
> --
>
> https://code.launchpad.net/~openerp-community/openobject-addons/trunk-bug-1090224/+merge/149980
> Your team OpenERP Community is subscribed to branch
> lp:~openerp-community/openobject-addons/trunk-bug-1090224.
>
> _______________________________________________
> Mailing list: https://launchpad.net/~openerp-community
> Post to : openerp-community@xxxxxxxxxxxxxxxxxxx
> Unsubscribe : https://launchpad.net/~openerp-community
> More help : https://help.launchpad.net/ListHelp
>
--
https://code.launchpad.net/~openerp-community/openobject-addons/trunk-bug-1090224/+merge/149980
Your team OpenERP Community is subscribed to branch lp:~openerp-community/openobject-addons/trunk-bug-1090224.
Follow ups
References