Some more info: this issue occurs only when you try to open an installer
wizard while all ir.actions.todo entries are marked as "done". This does
not look like a showstopper for developing the localization module
itself.

Quick manual workaround: mark the corresponding "config wizard" as
"Todo" in Administration > Configuration > Configuration Wizard. You may
also start it directly from there.

Proper workaround: instead of opening the view directly, the menuitem in
the Accounting Configuration (currently named "New Company Financial
Settings") should be a server action (like the one that launches the
config wizard in Administration > Configuration > Start Configuration)
that marks the corresponding ir.actions.todo entries as "todo" and only
afterwards opens the view.

@Nicolas: can you make this change? (reassigning to you)

Now it would be quite interesting to know why the spanish localization
needs to install its charts of accounts *after* Accounting module has
been installed. Normally it should simply be detected and displayed in
the list of available Charts of Accounts, and do its job from the main
account installer. Anyone shed some light here?

Thanks!

PS: moved to openobject-addons, this is not a bug in the server as far
as I can see

** Project changed: openobject-server => openobject-addons

** Changed in: openobject-addons
       Status: Confirmed => In Progress

** Changed in: openobject-addons
    Milestone: 6.0 => None

** Changed in: openobject-addons
     Assignee: Xavier (Open ERP) (xmo) => Nicolas Vanhoren (niv-openerp)

** Changed in: openobject-addons
    Milestone: None => 6.0

** Summary changed:

- [trunk] Configuration wizard fails if no next action is available! (cannot 
create chart of accounts after installation)
+ [trunk] Chart of Account Configuration wizard may fail if executed from 
Accounting > Configuration menu)

-- 
[trunk] Chart of Account Configuration wizard may fail if executed from 
Accounting > Configuration menu)
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 Addons Modules: In Progress

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





_______________________________________________
Mailing list: https://launchpad.net/~c2c-oerpscenario
Post to     : [email protected]
Unsubscribe : https://launchpad.net/~c2c-oerpscenario
More help   : https://help.launchpad.net/ListHelp

Reply via email to