← Back to team overview

c2c-oerpscenario team mailing list archive

[Bug 535157] Re: [trunk] Configuration wizard fails if no next action is available! (cannot create chart of accounts after installation)

 

@Borja López Soilán

First, I would like to thank your for your additional input on this
matter.

Second, considering you seem quite anal on parsing comments you might want to note the following from mine:
> If that is the actual issue
The curt reply was therefore unrequired, especially in the light of

Third,
> A lot of people has confirmed this bug, so please, take the time to read the bug description next time.
I did and that is the issue, and that is also why complete repro cases can be the difference between a bug rotting or being fixed: the report is technically incorrect. To wit:

> It's not possible to use the "Generate chart of Accounts from a Chart
Template" wizard (wizard.multi.charts.accounts) directly, it only works
if used during the installation.

It is and has always been possible to directly relaunch any
configuration wizard at any moment from Administration > Configuration >
Configuration Wizards.

What does not work is to launch this specific wizard it via Accounting >
Configuration > Templates. I am guessing this contributed to this issue
not being given extreme amounts of attention considering the wizard was
re-executable.

-- 
[trunk] Configuration wizard fails if no next action is available! (cannot create chart of accounts after installation)
https://bugs.launchpad.net/bugs/535157
You received this bug notification because you are a member of C2C
OERPScenario, which is subscribed to OpenERP OpenObject.

Status in OpenObject Server: Confirmed

Bug description:
It's not possible to use the "Generate chart of Accounts from a Chart Template" wizard (wizard.multi.charts.accounts) directly, it only works if used during the installation.

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_todo(cr, uid, state='done') and in this function (_set_previous_todo) executes:
previous_todo = self._next_action(cr, uid) this function it searches for open ir.actions.todo but as I said before the installation is finised and it doesn't found anything open then the behavior is:
 if not previous_todo:
      raise LookupError(_("Couldn't find previous ir.actions.todo"))

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