~sergio-incaser/openerp-spain/openerp-spain

« back to all changes in this revision

Viewing changes to l10n_es_extras/l10n_ES_toponyms/l10n_ES_toponyms_wizard.xml

  • Committer: Jordi Esteve
  • Date: 2009-12-14 17:53:50 UTC
  • mfrom: (81.1.90 lp-openerp-spain-5.0)
  • Revision ID: jesteve@zikzakmedia.com-20091214175350-6vzzt3avtsof25a2
Recuperación del estado actual del repositorio de localización española de OpenERP: Aplicación de todos los merges pendientes desde la versión 81 (15-11-2008) hasta la actual (02-12-2009)

Show diffs side-by-side

added added

removed removed

Lines of Context:
1
 
<?xml version="1.0" ?>
2
 
<terp>
3
 
        <data>
4
 
 
5
 
<record model="ir.actions.wizard" id="wizard_crear_cpostal">
6
 
        <field name="name">Crear códigos postales</field>
7
 
        <field name="wiz_name">l10n_ES_toponyms.crear_cpostal</field>
8
 
</record>
9
 
 
10
 
<menuitem
11
 
        name="Partners/Configuration/Localisation/Asociar municipios y provincias a códigos postales de España"
12
 
        action="wizard_crear_cpostal"
13
 
        type="wizard"
14
 
        id="l10n_ES_toponyms_crear_cpostal"/>
 
1
<?xml version="1.0" encoding="utf-8"?>
 
2
<openerp>
 
3
    <data>
 
4
 
 
5
       <record id="view_confirm_toponyms_es_form" model="ir.ui.view">
 
6
            <field name="name">config.ES.toponyms</field>
 
7
            <field name="model">config.ES.toponyms</field>
 
8
            <field name="type">form</field>
 
9
            <field name="arch" type="xml">
 
10
                <form string="State configuration">
 
11
                    <separator col="4" colspan="4" string="Select the toponym version of the Spanish states"/>
 
12
                    <field name="state"/>
 
13
                    <label colspan="2" string="For example: Official (Girona), Spanish (Gerona), Both (Gerona / Girona)" align="0.0"/>
 
14
                    <newline/>
 
15
                    <separator col="4" colspan="4" string="Add city and state information associated to the zip codes for all the Spanish cities"/>
 
16
                    <field name="city_info" on_change="_onchange_city_info(city_info, city_module)"/>
 
17
                    <label colspan="2" string="This allows to fill automatically the city and states fields of partner and contact forms from the zip code." align="0.0"/>
 
18
                    <field name="city_info_recover" attrs="{'readonly':[('city_info','=','no'),('city_module','=','uninstalled')]}"/>
 
19
                    <label colspan="2" string="If the city module has been installed, recover the location data there was in the partner addresses before installing it." align="0.0"/>
 
20
                    <field name="city_module" invisible="1"/>
 
21
                    <newline/>
 
22
                    <label colspan="4" string="Warning! Adding more than 15000 zip codes can take several minutes and it will be done in a background process."/>
 
23
                    <separator string="" colspan="4"/>
 
24
                    <label string="" colspan="2"/>
 
25
                    <group col="2" colspan="2">
 
26
                        <button icon="gtk-cancel" name="action_cancel" string="Skip" type="object" special="cancel"/>
 
27
                        <button icon="gtk-ok" name="action_set" string="Create" type="object"/>
 
28
                    </group>
 
29
                </form>
 
30
            </field>
 
31
        </record>
 
32
 
 
33
        <record id="action_config_toponyms_es_form" model="ir.actions.act_window">
 
34
            <field name="name">Spanish toponyms configuration</field>
 
35
            <field name="type">ir.actions.act_window</field>
 
36
            <field name="res_model">config.ES.toponyms</field>
 
37
            <field name="view_type">form</field>
 
38
            <field name="view_mode">form</field>
 
39
            <field name="target">new</field>
 
40
        </record>
 
41
 
 
42
        <!-- register on configuratuion -->
 
43
        <record id="config_wizard_toponyms_es" model="ir.actions.todo">
 
44
            <field name="name">Spanish toponyms configuration</field>
 
45
            <field name="note">You can select the toponym version of the Spanish states and add the Spanish cities associated to the zip codes.</field>
 
46
            <field name="action_id" ref="action_config_toponyms_es_form"/>
 
47
            <field name="state">open</field>
 
48
            <field name="sequence">20</field>
 
49
        </record>
15
50
 
16
51
</data>
17
 
</terp>
 
52
</openerp>