Update notes
Update of wb_voip_ansitel 19.0.2.x to 19.0.3.0.0
With 19.0.3.0.0 the neutral part moves to wb_voip_anlagen. When wb_voip_ansitel is updated, wb_voip_anlagen is
installed first as a new dependency; its pre_init_hook takes over the data (keys, devices, extensions, key bar, "My mobile
phone", reconciliation state, calls, parameters), sets the PBX type to "Ansitel" and restores keys and cron. No data is lost.
| before (up to 19.0.2.x) | now |
|---|---|
ansitel_aktiv (PBX) | adapter_aktiv |
ansitel_cdr_stand, ansitel_cdr_ab | abgleich_stand, abgleich_ab |
ansitel_geraet_ids | geraet_ids |
ansitel_interne_ziele | interne_ziele |
wb_voip_ansitel_nebenstelle (user) | wb_voip_nebenstelle |
wb_voip_ansitel_tastenleiste (user) | wb_voip_tastenleiste |
wb_voip_cdr_linkedid (call) | wb_voip_abgleich_gruppe |
system parameter wb_voip_ansitel.ausland_erlaubt | wb_voip_anlagen.ausland_erlaubt |
| cron "WB VoIP Ansitel: Abgleich mit der Anrufliste" | "WB VoIP: Abgleich mit der Anrufliste" |
The old field names (ansitel_aktiv, ansitel_cdr_stand, ansitel_cdr_ab, ansitel_geraet_ids,
ansitel_interne_ziele, wb_voip_ansitel_nebenstelle, wb_voip_ansitel_tastenleiste, wb_voip_cdr_linkedid on the call) were removed in
wb_voip_ansitel 19.0.4.0.0 (they had forwarded to the new ones before). The update switches saved filters, export
templates, window actions and record rules to the new names; customer views (without XML ID) are rewritten too; defaults (ir.default), "update record" actions (field and path), automation trigger fields and filter domains and related/depends of manual fields are re-pointed to the new names; Python code (server actions, compute) is not rewritten and only named in the log (ids); whatever cannot be matched is logged, not dropped silently
(wb_voip_ansitel 19.0.4.0.0 ... server actions with code), so adapt them and your own scripts by hand. To switch the
interface on, set the PBX type "Ansitel" and adapter_aktiv.
How to update: stop the Odoo server and its crons before -u, run the update without a pause and restart the server
immediately afterwards (otherwise old code runs against renamed columns; a running cron can abort the installation with a
serialization error, in which case nothing is written and the run is repeated). Back up first (database, code, filestore);
update wb_voip and wb_voip_ansitel together and add other installed wb_voip_* modules to the -u list. The way back is
restoring the backup with the old code; a -u with old code does not undo the renames.