Updates to existing product configurations with custom attributes were not correctly applied on configurator closure. This was probably caused by a recent update in the framework. Nevertheless, to solve the problem, this commit drops the use of custom code used only by the configurator to stick to the standard usage of magic commands. closes odoo/odoo#152934 Signed-off-by: Victor Feyens (vfe) <vfe@odoo.com>