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
Add tax-included taxes for purchases
Add property_reserve_and_surplus_account
Add some usefull information in the description of the module
bzr revid: alexis@via.ecp.fr-20120507180732-xewd970p1eizsq3n
Fix tax templates
Add a tax template "TVA 0% import (achat)"
Set sequence to 10 on all tax templates, to make it easier to manually defined taxes that must have a lower sequence (eco-taxes for example)
Update the "Code" field on tax templates to a meaning-full value
End the double definition of the tax templates (was defined in both fr_tax.xml and fr_pcg_taxes.xml ; now only in fr_tax.xml)
Fix typo in tax codes
Remove "classes 8" accounts, which are not official legal accounts
Update module description
lp bug: https://launchpad.net/bugs/924234 fixed
bzr revid: alexis@via.ecp.fr-20120423230316-ecx6lk6sc2mr2y2z