Comment 6 for bug 701100

Revision history for this message
Cristian Salamea (ovnicraft) wrote :

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