diff options
| author | Olivier Dony <odo@openerp.com> | 2013-10-21 14:47:48 +0200 |
|---|---|---|
| committer | Olivier Dony <odo@openerp.com> | 2013-10-21 14:47:48 +0200 |
| commit | 6a3683f116ef051a0f883fdc8ef3d10095d7ebd8 (patch) | |
| tree | 003fc7f76fc7da9f4e3cd42eccedde159327e23b /addons/project_long_term | |
| parent | 6ba45e5cbf37a1fe762ea19950cddb353fd850ae (diff) | |
[FIX] l10n_fr: 2014 tax update patch has removed obsolete templates, causing an error at module update
Due to the relationship between fiscal position
templates and tax templates, the removal of
obsolete tax templates may crash if the corresponding
fiscal positions are not deleted before.
In a recent l10n_fr patch [1] a number of
templates disappeared, which causes an error during
subsequent updates on databases where the obsolete
templates are still present.
As a workaround, we can force a deletion of
all fiscal position templates before loading
them. This is relatively safe because the templates
are not connected to live data, and will be
re-created during the update (except for the
obsolete ones which will be gone forever).
[1] addons 7.0 rev 9515 rev-id: odo@openerp.com-20131010114424-atzr3bl9e9diir2g
lp bug: https://launchpad.net/bugs/1240265 fixed
bzr revid: odo@openerp.com-20131021124748-x4jnibwyab4gam23
Diffstat (limited to 'addons/project_long_term')
0 files changed, 0 insertions, 0 deletions
