_defaults erróneo en l10n_es_aeat_mod340

Bug #797725 reported by Equipo OPENTIA (http://www.opentia.com)
10
This bug affects 2 people
Affects Status Importance Assigned to Milestone
OpenERP Spanish Localization Project
Fix Released
Undecided
Unassigned

Bug Description

El valor predeterminado para el campo 'vat_type' está puesto a 1 (int), mientras que el tipo del campo es fields.selection y sus índices son de tipo str.

Este valor rompe cosas, por citar un ejemplo, como el wizard de conversión de Iniciativa a Oportunidad en el módulo 'crm', en el paso de creación de nueva empresa. Al crear nuevos registros de tipo res.partner, se produce una excepción que muestra el mensaje de error:

       The value "1" for the field "vat_type" is not in the selection

Revision history for this message
Equipo OPENTIA (http://www.opentia.com) (opentia) wrote :
description: updated
description: updated
description: updated
description: updated
summary: - l10n_es_aeat_mod340 rompe wizard de creación de nueva empresa del addon
- crm
+ _defaults erróneo en l10n_es_aeat_mod340
Revision history for this message
Albert Cervera i Areny - http://www.NaN-tic.com (albert-nan) wrote :

Hecho el commit. Gracias!

Changed in openerp-spain:
status: New → Fix Released
To post a comment you must log in.
This report contains Public information  
Everyone can see this information.

Other bug subscribers

Remote bug watches

Bug watches keep track of this bug in other bug trackers.