[IMP] base_setup: also pre-fill the fields of the second tab

bzr revid: christophe@tinyerp.com-20090429162016-hph7aum99l4z8b57
This commit is contained in:
Christophe Simonis
2009-04-29 18:20:16 +02:00
parent 6d553a36fd
commit 9c960eee26
@@ -118,10 +118,10 @@ class wizard_base_setup(wizard.interface):
return {}
company = company_obj.browse(cr, uid, ids)[0]
res = {
'name': company.name,
'currency': company.currency_id.id,
}
res = {'currency': company.currency_id.id}
for field in 'name logo rml_header1 rml_footer1 rml_footer2'.split():
res[field] = company[field]
if company.partner_id.address:
address = company.partner_id.address[0]