Alberto, thanks for reporting this error.
The fix was applied some time ago in revision 2263
[email protected], so I am closing the issue.
** Changed in: openobject-server
Status: New => Fix Released
--
[6.0] US states not loaded (import specification does not contain 'id' in init
mode)
https://bugs.launchpad.net/bugs/582351
You received this bug notification because you are a member of C2C
OERPScenario, which is subscribed to the OpenERP Project Group.
Status in OpenObject Server: Fix Released
Bug description:
Hello,
Reloading all modules with "--update=all" option, one of our instances of 5.2
server prompted following error when updating "base" module:
ERROR:init:Import specification does not contain 'id' and we are in init mode,
Cannot continue.
Debugging such module, I realized that problem was in "res.country.state.csv"
file found under <server_path>/bin/addons/base/data. In this file, there's no
"id" field (mandatory as it's said in 'convert.py' file, under
<server_path>/bin/tools), only a "country_id:id" referencing United States
country, so I created this field, entering values like "us_state_XX" as it can
be seen in attached diff.
After these changes, this error disappeared and the modules' load went just
fine.
Hope this helps.
_______________________________________________
Mailing list: https://launchpad.net/~c2c-oerpscenario
Post to : [email protected]
Unsubscribe : https://launchpad.net/~c2c-oerpscenario
More help : https://help.launchpad.net/ListHelp