Hi,
I want to create a wizard that display two forms:

- first form is to select fields

- second form is to summarize information and confirm operation

Fields are:
- many2one fields to select account_analytic_account entry (name: account)
- text fields to contain summary (name: summary)

Now: how can I change/update value of text field ???
For example, after the first form I have the account_analytic_account ID, and I 
want to open the second form with text field contain a custom string (like 'you 
have selected account number ') and the ID.

I tried to use the following code:
account_id = data['form']['account']
data.update({'form': {'account': account_id, 
'summary': 'you have selected account number 
'+str(account_id)}})
but in the second form I don't have any value for field summary.

Anyone know how can I update form field values between forms ???

Thank in advance

Zipgem




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

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

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


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

Reply via email to