[6.0, project] Assign invalid state to analytic account
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
OpenUpgrade Addons |
Fix Released
|
Low
|
Stefan Rijnhart (Opener) |
Bug Description
When migrating from 5.0.13 to 6.0 during the module project I get this error:
ERROR:OpenUpgra
e" for the field "state" is not in the selection')
[2012-11-05 13:48:09,
File "6.0/bin/
func(cr, version)
File "project/
migrate_
File "project/
'state': row[9] or False,
File "openupgrade-
return super(account_
File "6.0/bin/
self.
File "6.0/bin/
_('The value "%s" for the field "%s" is not in the selection') % (value, field))
except_orm: ('ValidateError', u'The value "done" for the field "state" is not in the selection')
Browsing the code for openupgrade-
Hi Ignacio,
thank you for reporting this. Seems like an easy thing to fix so I pushed an untested branch for this. It would be great if you could try this branch to see if it fixes the problem for you: lp:~therp-nl/openupgrade-addons/6.0-lp1075200-map_project_states_to_analytic
Cheers,
Stefan.