I get an error related, i create a new object with ref field (as char),
this ref contains name field value from Purchase order, i create an
action to launch Purchase but filter does not works in client see this :
ERROR:tools.expr_eval:[('name', '=', <function ref at 0xaae61ec>)]
Traceback (most recent call last):
File "/home/ovnicraft/development/openerp/client/bin/tools/__init__.py", line
52, in expr_eval
temp = eval(string, context)
File "<string>", line 1
[('name', '=', <function ref at 0xaae61ec>)]
<act_window
id="act_trade_purchase"
name="Purchase Order"
domain="[('name','=', ref )]"
res_model="purchase.order"
src_model="trade.import"/>
Regards,
PS: Sorry for paste ocde here
--
You received this bug notification because you are a member of OpenERP
sa GTK client R&D, which is a bug assignee.
https://bugs.launchpad.net/bugs/701100
Title:
[6.0] cannot search partner by 'ref' code in custom filter when not
using en_US
Status in OpenObject GTK Client:
Confirmed
Bug description:
Hello
I think lot's of companies, will have some 'ref' code for their partners and
they need to use it as a search field.
So I think we would better have an index on it + have it in the default
partner search view.
Any good reason not too?
_______________________________________________
Mailing list: https://launchpad.net/~openerp-dev-gtk
Post to : [email protected]
Unsubscribe : https://launchpad.net/~openerp-dev-gtk
More help : https://help.launchpad.net/ListHelp