[trunk] Chart of Account Configuration wizard may fail if executed from Accounting > Configuration menu)
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
Odoo Server (MOVED TO GITHUB) |
Fix Released
|
Medium
|
Nicolas Vanhoren (OpenERP) | ||
Bug Description
It's not possible to use the "Generate chart of Accounts from a Chart Template" wizard (wizard.
Full description:
The wizard "Generate chart of Accounts from a Chart Template" of account module inherits of res.config, this wizard not is an installation wizard, when you finish to install account you can generate your accounts with this wizard, the installation or configuration was completed then when you execute this wizard it executes action_next with next button, in first line of this function call to _set_previous_
previous_todo = self._next_
if not previous_todo:
raise LookupError(
And the wizard doesn't continue. I think it is an bug in this behavior or in the wizard that mustn't inherit of res.config.
Thanks
Changed in openobject-server: | |
importance: | Undecided → Medium |
milestone: | none → 6.0 |
status: | New → Confirmed |
Changed in openobject-server: | |
assignee: | nobody → Xavier (Open ERP) (xmo) |
summary: |
- [base trunk] incorrect behavior about previous ir.actions.todo + [Trunk] Configuration wizard fails if no next action is available! |
summary: |
- [Trunk] Configuration wizard fails if no next action is available! + [trunk] Configuration wizard fails if no next action is available! + (cannot create chart of accounts) |
description: | updated |
affects: | openobject-addons → openobject-server |
Changed in openobject-server: | |
milestone: | 6.0 → none |
Changed in openobject-server: | |
status: | In Progress → Fix Released |
> this wizard not is an installation wizard, when you finish to install account you can generate your accounts with this wizard, the installation or configuration was completed
Nope. This wizard is a configuration item (hence inheriting from res.config, in fact it installs chart of accounts and is thus an installer) and it's part of the initial configuration. Same as every other res.config.
> this function it searches for open ir.actions.todo but as I said before the installation is finised and it doesn't found anything
It should find something: the res.config generating charts of accounts, whose state hasn't been changed yet. Otherwise it would not have executed that config item in the first place.
Further, I can not reproduce this issue at this point. This might have been a bug in the early days of the new config. Do you still have this problem?