← Back to team overview

c2c-oerpscenario team mailing list archive

[Bug 744370] [NEW] account: when generating a chart, only "open" the l10n_x selected

 

Public bug reported:

Suppose we are in a situation where l10n_be, l10n_fr, l10n_es and l10n_gr
are loaded. If we follow the configuration wizards, the corresponding
ir.actions.todo of each module will launch, asking us to generate a chart
of accounts 4x times.
This will also happen if we have loaded l10n_be for a start, and then we
define a second company and wish to install, say, a Spanish chart for it.

Now, all l10n_xx modules _should_ define their todos in state 'done' for
a start. This code will reset them from done -> open when appropriate.

This step is necessary, in order to introduce subclassed installation wizards
per country. In that case, it is even more required to launch the correct
ir.actions.todo, rather any of the 'wizard.multi.charts.accounts'.

** Affects: openobject-addons
     Importance: Undecided
     Assignee: xrg (xrg)
         Status: Fix Committed


** Tags: account

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

** Changed in: openobject-addons
     Assignee: (unassigned) => xrg (xrg)

** Branch linked: lp:~openerp-dev/openobject-addons/6.0-bug-744370-xrg

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

-- 
You received this bug notification because you are a member of C2C
OERPScenario, which is subscribed to the OpenERP Project Group.
https://bugs.launchpad.net/bugs/744370

Title:
  account: when generating a chart, only "open" the l10n_x selected

Status in OpenERP Modules (addons):
  Fix Committed

Bug description:
  Suppose we are in a situation where l10n_be, l10n_fr, l10n_es and l10n_gr
  are loaded. If we follow the configuration wizards, the corresponding
  ir.actions.todo of each module will launch, asking us to generate a chart
  of accounts 4x times.
  This will also happen if we have loaded l10n_be for a start, and then we
  define a second company and wish to install, say, a Spanish chart for it.

  Now, all l10n_xx modules _should_ define their todos in state 'done' for
  a start. This code will reset them from done -> open when appropriate.

  This step is necessary, in order to introduce subclassed installation wizards
  per country. In that case, it is even more required to launch the correct
  ir.actions.todo, rather any of the 'wizard.multi.charts.accounts'.



Follow ups

References