[IMP] base_setup: also pre-fill the fields of the second tab
bzr revid: christophe@tinyerp.com-20090429162016-hph7aum99l4z8b57
This commit is contained in:
@@ -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]
|
||||
|
||||
Reference in New Issue
Block a user