Fix some business template update bugs

Several bug fixes for business template update bugs, including a fix for the problem preventing to update erp5_accounting_l10n_fr

See merge request !1112
17 jobs for master
in 0 seconds, using 0 compute credits, and was queued for 0 seconds