Hi,

This bug is in the server because, the bug is in base module.

If you don't want fix this bug with the patch, you should show an exception 
with this information, it shouldn't break. 
I think that, it doesn't cost you anything to fix it, the patch works fine and 
it doesn't block any other behaviour. 
We have two templates of chart of accounts in the same module and many modules 
related with it, that is we need to configure our localization, We don't 
install only l10n_chart_ES. Usually our customer is an small or medium 
business, for this costumer, we install an installer module that it has 
dependencies of l10n_chart_ES and more modules, then, we generate the 
correspondent chart of account, selecting between templates, from this wizard.

Other case could be that, our costumer is multi-company and his
companies uses different chart of account we need use another time this
wizard for generate the chart of account for new company, it is possible
in 6.0 or not? Then, why have we to do that workaround for it?, the
patch is very simple.

There are many people, not only in Spanish localization, see the
comments, they usually use this wizard after installation.

-- 
[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