From f4b8f2776bfac105b2f02e5f56c7d352c22d50c0 Mon Sep 17 00:00:00 2001 From: Xavier Morel Date: Thu, 21 Jan 2010 15:39:11 +0100 Subject: [PATCH] [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 --- addons/base_setup/todo.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/addons/base_setup/todo.py b/addons/base_setup/todo.py index f1c55c1de83..d23ac71d60b 100644 --- a/addons/base_setup/todo.py +++ b/addons/base_setup/todo.py @@ -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: