In your new module did you override the "order_line" code like this?

'order_line': fields.one2many('sale.order.line', 'order_id', 'Order Lines', 
readonly=True, states={'draft': [('readonly', False)], 
'wait_confirm':[('readonly',False)]}),

If you did that it should theoretically work.  Otherwise I would run a test by 
switching it back to the original code, update the module, then see if it works 
like it did at first.  Sounds like a syntax problem...




-------------------- m2f --------------------

--
http://www.openobject.com/forum/viewtopic.php?p=57220#57220

-------------------- m2f --------------------


_______________________________________________
Tinyerp-users mailing list
http://tiny.be/mailman2/listinfo/tinyerp-users

Reply via email to