[fix] base_setup: setting up the state_id to a state id rather than a country id might be a smart move

bzr revid: xmo@tinyerp.com-20100121143911-be1r8l8xzw9fmw2a
This commit is contained in:
Xavier Morel
2010-01-21 15:39:11 +01:00
parent b3d3e23201
commit f4b8f2776b
+1 -1
View File
@@ -135,7 +135,7 @@ IBAN: BE74 1262 0121 6907 - SWIFT: CPDF BE71 - VAT: BE0477.472.701'''),
'email':payload.email,
'phone':payload.phone,
'country_id':int(payload.country_id),
'state_id':int(payload.country_id),
'state_id':int(payload.state_id),
}
if company.partner_id.address: