@gisce/react-ooui 2.0.0-alpha.23 → 2.0.0-alpha.24

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@gisce/react-ooui",
3
- "version": "2.0.0-alpha.23",
3
+ "version": "2.0.0-alpha.24",
4
4
  "engines": {
5
5
  "node": "20.5.0"
6
6
  },
@@ -34,7 +34,7 @@
34
34
  "dependencies": {
35
35
  "@ant-design/plots": "^1.0.9",
36
36
  "@gisce/fiber-diagram": "^1.1.0-rc.3",
37
- "@gisce/ooui": "1.0.0-alpha.4",
37
+ "@gisce/ooui": "1.0.0-alpha.5",
38
38
  "@gisce/react-formiga-components": "^1.0.9-rc.21",
39
39
  "@gisce/react-formiga-table": "^0.8.6",
40
40
  "@monaco-editor/react": "^4.4.5",
@@ -13,6 +13,7 @@ export const Default = (): React.ReactElement => {
13
13
  <Form
14
14
  model={"giscedata.polissa.modcontractual"}
15
15
  id={6}
16
+ readOnly={true}
16
17
  onCancel={() => {
17
18
  console.log();
18
19
  }}
@@ -48,11 +48,28 @@ export default {
48
48
  pu: "6",
49
49
  ref_catastral: "referencia catastral",
50
50
  tv: false,
51
+ state: "baixa",
51
52
  },
52
53
  form: {
53
- arch: '<form string="CUPS">\n <notebook colspan="4">\n <page string="Corbes"> <group colspan="4"> <group string="Validada" colspan="2"> <field name="ax" string="AX"/> <field name="bq" string="Format"/> </group> <group string="Facturada" colspan="2"> <field name="bq" string="Última corba"/> <field name="bq" string="Format"/> </group> <group string="Autoconsumida" colspan="2"> <field name="bq" string="Última corba"/> <field name="bq" string="Format"/> </group> <group string="Generada Neta" colspan="2"> <field name="bq" string="Última corba"/> <field name="bq" string="Format"/> </group> <group string="Quart-Horària" colspan="2"> <field name="bq1" string="Última corba"/> <field name="bq" string="Format"/> </group> </group> </page> <page string="General">\n <field name="name" select="1" size="25"/>\n <field name="active" select="1"/>\n <field name="distribuidora_id" domain="[(\'supplier\',\'=\',True)]" context="{\'task\': \'test\'}" required="1" select="1"/>\n <field name="id_municipi" select="1"/>\n <field name="id_provincia"/>\n <field name="id_poblacio" select="1" domain="[(\'municipi_id.id\', \'=\', id_municipi)]"/>\n <field name="dp"/>\n <field name="direccio" select="1" colspan="4"/>\n <field name="polissa_polissa" select="1"/>\n <field name="polissa_comptador" select="1"/>\n <field name="polissa_potencia"/>\n <field name="potencia_adscrita" attrs="{\'readonly\':[(\'force_potencia_adscrita\',\'=\',0)]}"/>\n <field name="force_potencia_adscrita"/>\n <group colspan="4" string="Adreces">\n <notebook colspan="4">\n <page string="Principal">\n <separator string="Zona urbana" colspan="4"/>\n <field name="tv"/>\n <field name="nv" select="1"/>\n <field name="pnp" select="1"/>\n <field name="bq" select="1"/>\n <field name="es" select="1"/>\n <field name="pt" select="1"/>\n <field name="pu" select="1"/>\n <field name="aclarador" colspan="4" select="1"/>\n <separator string="Zona industrial" colspan="4"/>\n <field name="cpo" select="1"/>\n <field name="cpa" select="1"/>\n </page>\n <page string="Cadastre">\n <separator string="Zona urbana" colspan="4"/>\n <field name="catas_np"/>\n <field name="catas_nm"/>\n <field name="ref_catastral" select="1"/>\n <button type="object" name="update_dir_from_ref" string="Obtenir del Cadastre"/>\n <button type="object" name="delete_dir_ref" string="Eliminar dades del Cadastre" confirm="Està segur que vol eliminar les dades que s\'han obtingut del cadastre?"/>\n <field name="catas_ldt" colspan="4"/>\n <field name="catas_tv"/>\n <field name="catas_nv"/>\n <field name="catas_pnp"/>\n <field name="catas_bq"/>\n <field name="catas_es"/>\n <field name="catas_pt"/>\n <field name="catas_pu"/>\n <field name="catas_dp"/>\n <separator string="Zona industrial" colspan="4"/>\n <field name="catas_cpo"/>\n <field name="catas_cpa"/>\n <separator string="Sincronització amb el cadastre" colspan="4"/>\n <label colspan="2" string="Si disposa de la referencia cadastral pot copiar les dades del cadastre a l\'adreça principal mitjançant aquest botó"/>\n <button type="object" name="copy_to_alternative" string="Copiar a la principal"/>\n </page>\n <page string="Notes">\n <field name="notes" colspan="4" nolabel="1"/>\n </page>\n </notebook>\n </group>\n </page>\n <page string="Autoconsum">\n <field name="autoconsum_id" readonly="1" colspan="4"/>\n <field name="coef_repartiment" readonly="1" colspan="4"/>\n </page>\n <page string="Butlletins">\n <field name="butlletins" colspan="4" nolabel="1" context="{\'cups_id\': active_id}"/>\n </page>\n <page string="Històric d\'autoconsums">\n <field name="hist_autoconsum" nolabel="1" context="{\'default_cups_id\': active_id}" readonly="1"/>\n </page>\n <page string="Històric de pòlisses">\n <field name="polisses" nolabel="1" colspan="4">\n </field>\n </page>\n </notebook>\n </form>',
54
+ arch: '<form string="CUPS">\n <button type="action" name="417" string="readonly1" icon="gtk-print" readonly="1"/><button type="action" name="417" string="readonly0" icon="gtk-print" readonly="0"/><button type="action" name="417" string="readonlyVariable1" icon="gtk-print" attrs="{\'readonly\':[(\'state\',\'!=\',\'actiu\')]}"/><button type="action" name="417" string="readonlyVariable2" icon="gtk-print" attrs="{\'readonly\':[(\'state\',\'==\',\'actiu\')]}"/> <button type="object" name="417" string="readonly1" icon="gtk-print" readonly="1"/><button type="object" name="417" string="readonly0" icon="gtk-print" readonly="0"/><button type="object" name="417" string="readonlyVariable3" icon="gtk-print" attrs="{\'readonly\':[(\'state\',\'!=\',\'actiu\')]}"/><button type="object" name="417" string="readonlyVariable4" icon="gtk-print" attrs="{\'readonly\':[(\'state\',\'==\',\'actiu\')]}"/> <notebook colspan="4">\n <page string="Corbes"> <group colspan="4"> <group string="Validada" colspan="2"> <field name="ax" string="AX"/> <field name="bq" string="Format"/> </group> <group string="Facturada" colspan="2"> <field name="bq" string="Última corba"/> <field name="bq" string="Format"/> </group> <group string="Autoconsumida" colspan="2"> <field name="bq" string="Última corba"/> <field name="bq" string="Format"/> </group> <group string="Generada Neta" colspan="2"> <field name="bq" string="Última corba"/> <field name="bq" string="Format"/> </group> <group string="Quart-Horària" colspan="2"> <field name="bq1" string="Última corba"/> <field name="bq" string="Format"/> </group> </group> </page> <page string="General">\n <field name="name" select="1" size="25"/>\n <field name="active" select="1"/>\n <field name="distribuidora_id" domain="[(\'supplier\',\'=\',True)]" context="{\'task\': \'test\'}" required="1" select="1"/>\n <field name="id_municipi" select="1"/>\n <field name="id_provincia"/>\n <field name="id_poblacio" select="1" domain="[(\'municipi_id.id\', \'=\', id_municipi)]"/>\n <field name="dp"/>\n <field name="direccio" select="1" colspan="4"/>\n <field name="polissa_polissa" select="1"/>\n <field name="polissa_comptador" select="1"/>\n <field name="polissa_potencia"/>\n <field name="potencia_adscrita" attrs="{\'readonly\':[(\'force_potencia_adscrita\',\'=\',0)]}"/>\n <field name="force_potencia_adscrita"/>\n <group colspan="4" string="Adreces">\n <notebook colspan="4">\n <page string="Principal">\n <separator string="Zona urbana" colspan="4"/>\n <field name="tv"/>\n <field name="nv" select="1"/>\n <field name="pnp" select="1"/>\n <field name="bq" select="1"/>\n <field name="es" select="1"/>\n <field name="pt" select="1"/>\n <field name="pu" select="1"/>\n <field name="aclarador" colspan="4" select="1"/>\n <separator string="Zona industrial" colspan="4"/>\n <field name="cpo" select="1"/>\n <field name="cpa" select="1"/>\n </page>\n <page string="Cadastre">\n <separator string="Zona urbana" colspan="4"/>\n <field name="catas_np"/>\n <field name="catas_nm"/>\n <field name="ref_catastral" select="1"/>\n <button type="object" name="update_dir_from_ref" string="Obtenir del Cadastre"/>\n <button type="object" name="delete_dir_ref" string="Eliminar dades del Cadastre" confirm="Està segur que vol eliminar les dades que s\'han obtingut del cadastre?"/>\n <field name="catas_ldt" colspan="4"/>\n <field name="catas_tv"/>\n <field name="catas_nv"/>\n <field name="catas_pnp"/>\n <field name="catas_bq"/>\n <field name="catas_es"/>\n <field name="catas_pt"/>\n <field name="catas_pu"/>\n <field name="catas_dp"/>\n <separator string="Zona industrial" colspan="4"/>\n <field name="catas_cpo"/>\n <field name="catas_cpa"/>\n <separator string="Sincronització amb el cadastre" colspan="4"/>\n <label colspan="2" string="Si disposa de la referencia cadastral pot copiar les dades del cadastre a l\'adreça principal mitjançant aquest botó"/>\n <button type="object" name="copy_to_alternative" string="Copiar a la principal"/>\n </page>\n <page string="Notes">\n <field name="notes" colspan="4" nolabel="1"/>\n </page>\n </notebook>\n </group>\n </page>\n <page string="Autoconsum">\n <field name="autoconsum_id" readonly="1" colspan="4"/>\n <field name="coef_repartiment" readonly="1" colspan="4"/>\n </page>\n <page string="Butlletins">\n <field name="butlletins" colspan="4" nolabel="1" context="{\'cups_id\': active_id}"/>\n </page>\n <page string="Històric d\'autoconsums">\n <field name="hist_autoconsum" nolabel="1" context="{\'default_cups_id\': active_id}" readonly="1"/>\n </page>\n <page string="Històric de pòlisses">\n <field name="polisses" nolabel="1" colspan="4">\n </field>\n </page>\n </notebook>\n </form>',
54
55
  field_parent: false,
55
56
  fields: {
57
+ state: {
58
+ readonly: true,
59
+ required: true,
60
+ selection: [
61
+ ["esborrany", "Esborrany"],
62
+ ["actiu", "Actiu"],
63
+ ["pendent", "Pendent d'activació"],
64
+ ["baixa", "Baixa"],
65
+ ["baixa2", "Baixa per modificació"],
66
+ ["baixa3", "Baixa per renovació"],
67
+ ["baixa4", "Baixa per nova pòlissa"],
68
+ ],
69
+ string: "Estat",
70
+ type: "selection",
71
+ views: {},
72
+ },
56
73
  aclarador: {
57
74
  size: 256,
58
75
  string: "Aclarador",
@@ -2,68 +2,77 @@ export default {
2
2
  model: "giscedata.polissa.modcontractual",
3
3
  exampleValues: {
4
4
  active: true,
5
- agree_dh: "E1",
6
- agree_tarifa: "2A",
5
+ agree_dh: "E3",
6
+ agree_tarifa: "2T",
7
7
  agree_tensio: "E0",
8
8
  agree_tipus: "05",
9
9
  altre_p: false,
10
- autoconsum_id: false,
11
10
  autoconsumo: "00",
12
- bank: [83, "ES67 2038 6665 6520 4501 5764"],
13
- bono_social_disponible: true,
11
+ bank: false,
12
+ bono_social_disponible: false,
14
13
  cnae: [
15
- 986,
16
- "9820 - Actividades de los hogares como productores de servicios para uso propio",
14
+ 3,
15
+ "0111 - Cultivo de cereales (excepto arroz), leguminosas y semillas oleaginosas",
17
16
  ],
18
- coef_repartiment: 0.0,
19
- comptador: false,
20
- comptadors_periode: false,
21
- condicions_generals_id: false,
17
+ codi_sollicitud_electrointensiu: false,
18
+ comissio: false,
19
+ comptador: "B63011077",
20
+ condicions_generals_id: [1, "Condicions Generals"],
22
21
  contract_type: "01",
23
- cups: [74, "ES0112000000110675FY0F"],
24
- data_final: "2022-02-14",
25
- data_final_pre_baixa: false,
26
- data_firma_contracte: "2021-01-12 07:38:24",
27
- data_inici: "2021-02-15",
28
- direccio_notificacio: [140, "OLIVARES PASTOR, CARLOS, BO. Test, 43 17833"],
29
- direccio_pagament: [140, "OLIVARES PASTOR, CARLOS, BO. Test, 43 17833"],
30
- distribuidora: [62, "AGRI ENERGIA ELECTRICA, S.A."],
31
- enviament: "email",
32
- expected_consumption: 0.0,
22
+ create_date: "2021-06-22 19:33:37",
23
+ cups: [1, "ES1234000000000001JN0F"],
24
+ data_final: "2021-06-22",
25
+ data_firma_contracte: "2016-01-01 00:00:00",
26
+ data_inici: "2021-06-22",
27
+ direccio_notificacio: [10, "Sylvie Lelitre, 69 rue de Chimay 5478 Wavre"],
28
+ direccio_pagament: [10, "Sylvie Lelitre, 69 rue de Chimay 5478 Wavre"],
29
+ distribuidora: [3, "Agrolait"],
30
+ enviament: "postal",
31
+ es_electrointensiu: false,
32
+ expected_consumption: 0,
33
33
  facturacio: 1,
34
34
  facturacio_distri: false,
35
- facturacio_potencia: "icp",
36
- id: 24,
35
+ facturacio_potencia: "max",
36
+ id: 33,
37
37
  lectura_en_baja: false,
38
- llista_preu: [21, "Hola (EUR)"],
39
- modcontractual_ant: false,
38
+ llista_preu: [19, "TARIFAS ELECTRICIDAD (EUR)"],
39
+ modcontractual_ant: [32, "2"],
40
40
  modcontractual_seg: false,
41
41
  mode_facturacio: "atr",
42
- name: "1",
42
+ mode_facturacio_generacio: "atr",
43
+ name: "3",
43
44
  nocutoff: false,
44
45
  notificacio: "titular",
45
- notificacio_email: "carlos@lapunxa.com",
46
- observacions: false,
47
- pagador: [173, "OLIVARES PASTOR, CARLOS"],
48
- pagador_email: "carlos@lapunxa.com",
49
- payment_mode_id: [8, "Domiciliat"],
46
+ notificacio_email: false,
47
+ observacions:
48
+ "\n----- 22/06/2021 19:33 - Administrator1 (admin) ------------------------------\nCanvis realitzats detectats automàticament:\n\n----- 22/06/2021 19:35 - Administrator1 (admin) ------------------------------\nCanvis realitzats detectats automàticament:\n• Codi DH: E3 → E1\n• Codi Tarifa: 2T → 2A\n",
49
+ pagador: [3, "Agrolait"],
50
+ pagador_email: false,
51
+ payment_mode_id: [1, "No Domiciliat"],
50
52
  payment_term: false,
51
- polissa_id: [84, "00038"],
52
- potencia: 6.9,
53
- potencies_periode: "P1: 6.9",
53
+ peatge_directe: true,
54
+ polissa_id: [1, "0001C"],
55
+ potencia: 6,
56
+ potencies_periode: "P1: 6.0",
54
57
  property_unitat_potencia: [85, "kW/dia"],
55
- ref_dist: false,
58
+ ref_dist: "000D",
56
59
  representante_id: false,
57
60
  state: "actiu",
58
61
  tarifa: [1, "2.0A"],
59
- tensio: 230,
60
- tensio_normalitzada: [4, "230"],
61
- tg: "2",
62
- tipo_pago: [6, "Recibo domiciliado"],
63
- tipus: "alta",
62
+ tensio: 127,
63
+ tensio_normalitzada: [1, "127"],
64
+ tg: "1",
65
+ tipo_medida: false,
66
+ tipo_pago: [1, "Demo payment type"],
67
+ tipus: "mod",
64
68
  tipus_vivenda: "habitual",
65
- titular: [173, "OLIVARES PASTOR, CARLOS"],
66
- trafo: 0.0,
69
+ titular: [4, "Camptocamp"],
70
+ trafo: 0,
71
+ versio_sollicitud: false,
72
+ active_id: 33,
73
+ active_ids: [33],
74
+ parent_id: 1,
75
+ uid: 1,
67
76
  },
68
77
  tree: {
69
78
  arch: '<tree string="Modificacions contractuals" colors="red:active==0">\n <field name="distribuidora"/>\n <field name="ref_dist" select="1"/>\n <field name="name"/>\n <field name="tipus"/>\n <field name="data_inici"/>\n <field name="data_final"/>\n <field name="active"/>\n <field name="state"/>\n </tree>',
@@ -181,10 +190,11 @@ export default {
181
190
  view_id: 482,
182
191
  },
183
192
  form: {
184
- arch: '<form string="Modificacions contractuals">\n <group colspan="4">\n <group colspan="2" col="2" rowspan="1">\n <field name="name"/>\n <field name="polissa_id" select="1" readonly="1"/>\n <field name="contract_type"/>\n </group>\n <group colspan="2" col="2" rowspan="1">\n <field name="data_inici" select="1"/>\n <field name="data_final" select="1"/>\n <field name="data_firma_contracte"/>\n </group>\n <group colspan="2" col="4" rowspan="1">\n <field name="state" select="1"/>\n <field name="active" select="1"/>\n <field name="tipus" select="1"/>\n </group>\n <group colspan="2" col="2" rowspan="1">\n <field name="modcontractual_ant"/>\n <field name="modcontractual_seg"/>\n </group>\n </group>\n <notebook>\n <page string="Dades del client">\n <field name="titular" colspan="4"/>\n <group col="4" colspan="4">\n <field name="bono_social_disponible" colspan="2"/>\n </group>\n\n <field name="cnae"/>\n <field name="pagador" colspan="4"/>\n <field name="direccio_pagament" colspan="4"/>\n <field name="enviament"/>\n <group colspan="2" col="2" attrs="{\'invisible\': [(\'enviament\', \'=\', \'postal\')]}">\n <field name="pagador_email"/>\n </group>\n <field name="notificacio" colspan="4"/>\n <group attrs="{\'invisible\': [(\'notificacio\', \'!=\', \'altre_p\')]}" colspan="4">\n <field name="altre_p" colspan="4"/>\n </group>\n <field name="direccio_notificacio" colspan="4"/>\n <group colspan="2" col="2" attrs="{\'invisible\': [(\'enviament\', \'=\', \'postal\')]}">\n <field name="notificacio_email"/>\n </group>\n <field name="tipus_vivenda" colspan="4"/>\n <newline/>\n </page>\n <page string="Facturació"><field name="facturacio" select="1"/>\n <group colspan="2" col="3" attrs="{\'invisible\':[(\'contract_type\', \'!=\', \'09\')]}">\n <field name="expected_consumption"/>\n </group>\n <field name="facturacio_potencia"/>\n <field name="property_unitat_potencia"/>\n <field name="lectura_en_baja"/>\n <field name="llista_preu" select="1"/>\n <field name="payment_term" select="2"/>\n <field name="tipo_pago" colspan="4"/>\n <field name="bank" colspan="4"/>\n <field name="payment_mode_id" colspan="4"/>\n <group col="4" colspan="4">\n <group colspan="2">\n <field name="facturacio_distri"/>\n </group>\n </group>\n </page>\n <page string="CUPS">\n <field name="cups" colspan="4"/>\n </page>\n <page string="Dades tècniques">\n <field name="distribuidora" colspan="4" select="2"/>\n <field name="ref_dist" select="1"/>\n <field name="tarifa"/>\n <field name="potencia"/>\n <field name="tensio"/>\n <field name="lectura_en_baja" select="2"/>\n <field name="trafo"/>\n <field name="tensio_normalitzada"/>\n <field name="potencies_periode" colspan="4"/>\n <field name="comptador" colspan="4"/>\n <field name="tg" select="2"/>\n <field name="condicions_generals_id" select="2"/>\n <field name="autoconsumo" select="2"/>\n <field name="nocutoff"/>\n <button type="action" name="420" colspan="4" string="Actualitzar Potències" icon="gtk-convert" readonly="0"/>\n </page>\n <page string="Contactes">\n <field name="representante_id" colspan="4"/>\n </page>\n <page string="Observacions">\n <field name="observacions" colspan="4" nolabel="1"/>\n </page>\n <page string="Perfils">\n <group colspan="2" col="4" string="Nivells d\'agregació">\n <separator string="Tensió" colspan="1"/>\n <separator string="Tarifa" colspan="1"/>\n <separator string="DH" colspan="1"/>\n <separator string="Tipus" colspan="1"/>\n <field name="agree_tensio" nolabel="1" select="2"/>\n <field name="agree_tarifa" nolabel="1" select="2"/>\n <field name="agree_dh" nolabel="1" select="2"/>\n <field name="agree_tipus" nolabel="1" select="2"/>\n </group>\n </page>\n </notebook>\n <group string="Accions" colspan="4" col="8">\n <button type="object" name="unlink" string="Cancel·lar" states="pendent" icon="gtk-delete"/>\n <button type="action" name="417" string="Imprimir" icon="gtk-print" readonly="0"/>\n <button type="action" name="414" string="Canviar dates" icon="gtk-edit" readonly="0"/>\n <button type="object" name="undo_last_modcontractual" string="Desfer mod. contractual" context="{\'from_model\': \'giscedata.polissa.modcontractual\'}" attrs="{\'invisible\':[(\'state\',\'!=\',\'actiu\')]}" confirm="Aquesta opció no es pot desfer. Vol continuar?"/>\n </group>\n </form>',
193
+ arch: `<form string="Modificacions contractuals">\n <group colspan="4">\n <group colspan="2" col="2" rowspan="1">\n <field name="name"/>\n <field name="polissa_id" select="1" readonly="1"/>\n <field name="contract_type"/>\n </group>\n <group colspan="2" col="2" rowspan="1">\n <field name="create_date" select="1"/>\n <field name="data_inici" select="1"/>\n <field name="data_final" select="1"/>\n <field name="data_firma_contracte"/>\n </group>\n <group colspan="2" col="4" rowspan="1">\n <field name="state" select="1"/>\n <field name="active" select="1"/>\n <field name="tipus" select="1"/>\n </group>\n <group colspan="2" col="2" rowspan="1">\n <field name="modcontractual_ant"/>\n <field name="modcontractual_seg"/>\n </group>\n </group>\n <notebook>\n <page string="Dades del client">\n <field name="titular" colspan="4"/>\n <group col="4" colspan="4">\n <field name="bono_social_disponible" colspan="2"/>\n </group>\n <field name="cnae"/>\n <field name="pagador" colspan="4"/>\n <field name="direccio_pagament" colspan="4"/>\n <field name="enviament"/>\n <group colspan="2" col="2" attrs="{'invisible': [('enviament', '=', 'postal')]}">\n <field name="pagador_email"/>\n </group>\n <field name="notificacio" colspan="4"/>\n <group attrs="{'invisible': [('notificacio', '!=', 'altre_p')]}" colspan="4">\n <field name="altre_p" colspan="4"/>\n </group>\n <field name="direccio_notificacio" colspan="4"/>\n <group colspan="2" col="2" attrs="{'invisible': [('enviament', '=', 'postal')]}">\n <field name="notificacio_email"/>\n </group>\n <field name="tipus_vivenda" colspan="4"/>\n <newline/>\n </page>\n <page string="Facturació"><field name="comissio" select="2"/>\n <group col="4" colspan="4">\n <group colspan="2">\n <field name="facturacio_distri"/>\n </group>\n </group>\n <field name="facturacio" select="1"/>\n <group colspan="2" col="3" attrs="{'invisible':[('contract_type', '!=', '09')]}">\n <field name="expected_consumption"/>\n </group>\n <field name="facturacio_potencia"/>\n <field name="mode_facturacio_generacio" invisible="1"/>\n <field name="mode_facturacio" select="2" invisible="1"/>\n <field name="property_unitat_potencia"/>\n <field name="llista_preu" select="1"/>\n <field name="peatge_directe" select="2"/>\n <field name="payment_term" select="2"/>\n <field name="tipo_pago" colspan="4"/>\n <field name="bank" colspan="4" select="2"/>\n <field name="payment_mode_id" colspan="4"/>\n <field name="es_electrointensiu" select="2"/>\n <field name="codi_sollicitud_electrointensiu"/>\n <field name="versio_sollicitud"/>\n </page>\n <page string="CUPS">\n <field name="cups" select="1" colspan="4"/>\n </page>\n <page string="Dades tècniques">\n <field name="distribuidora" colspan="4" select="2"/>\n <field name="ref_dist" select="1"/>\n <field name="tarifa"/>\n <field name="potencia"/>\n <field name="tensio"/>\n <field name="lectura_en_baja" select="2"/>\n <field name="trafo"/>\n <field name="tensio_normalitzada"/>\n <field name="tipo_medida"/>\n <field name="potencies_periode" colspan="4"/>\n <field name="comptador" colspan="4"/>\n <field name="tg" select="2"/>\n <field name="condicions_generals_id" select="2"/>\n <field name="autoconsumo" select="2"/>\n <field name="nocutoff"/>\n <button type="action" name="420" colspan="4" string="Actualitzar Potències" icon="gtk-convert" readonly="0"/>\n </page>\n <page string="Contactes">\n <field name="representante_id" colspan="4"/>\n </page>\n <page string="Observacions">\n <field name="observacions" colspan="4" nolabel="1"/>\n </page>\n <page string="Agregació">\n <group colspan="2" col="4" string="Nivells d'agregació">\n <separator string="Tensió" colspan="1"/>\n <separator string="Tarifa" colspan="1"/>\n <separator string="DH" colspan="1"/>\n <separator string="Tipus" colspan="1"/>\n <field name="agree_tensio" nolabel="1" select="2"/>\n <field name="agree_tarifa" nolabel="1" select="2"/>\n <field name="agree_dh" nolabel="1" select="2"/>\n <field name="agree_tipus" nolabel="1" select="2"/>\n </group>\n </page>\n </notebook>\n <group string="Tests">\n <button type="action" name="417" string="readonly1" icon="gtk-print" readonly="0"/>\n <button type="action" name="417" string="readonly0" icon="gtk-print" readonly="0"/>\n <button type="action" name="417" string="readonlyVariable1" icon="gtk-print" attrs="{'readonly':[('state','!=','actiu')]}" readonly="0"/>\n <button type="action" name="417" string="readonlyVariable2" icon="gtk-print" attrs="{'readonly':[('state','==','actiu')]}" readonly="0"/>\n\n \n <button type="object" name="417" string="readonly1" icon="gtk-print" readonly="1"/>\n <button type="object" name="417" string="readonly0" icon="gtk-print" readonly="0"/>\n <button type="object" name="417" string="readonlyVariable3" icon="gtk-print" attrs="{'readonly':[('state','!=','actiu')]}"/>\n <button type="object" name="417" string="readonlyVariable4" icon="gtk-print" attrs="{'readonly':[('state','==','actiu')]}"/>\n </group>\n <group string="Accions" colspan="4" col="8">\n <button type="object" name="unlink" string="Cancel·lar" states="pendent" icon="gtk-delete"/>\n <button type="action" name="417" string="Imprimir" icon="gtk-print" readonly="0"/>\n <button type="action" name="414" string="Canviar dates" icon="gtk-edit" readonly="0"/>\n <button type="object" name="undo_last_modcontractual" string="Desfer mod. contractual" context="{'from_model': 'giscedata.polissa.modcontractual'}" attrs="{'invisible':[('state','!=','actiu')]}" confirm="Aquesta opció no es pot desfer. Vol continuar?"/>\n </group>\n </form>`,
185
194
  field_parent: false,
186
195
  fields: {
187
196
  active: {
197
+ is_function: false,
188
198
  readonly: true,
189
199
  required: true,
190
200
  string: "Activa",
@@ -193,6 +203,7 @@ export default {
193
203
  },
194
204
  agree_dh: {
195
205
  digits: [16, 2],
206
+ is_function: true,
196
207
  readonly: 1,
197
208
  size: 2,
198
209
  string: "Codi DH",
@@ -201,6 +212,7 @@ export default {
201
212
  },
202
213
  agree_tarifa: {
203
214
  digits: [16, 2],
215
+ is_function: true,
204
216
  readonly: 1,
205
217
  size: 2,
206
218
  string: "Codi Tarifa",
@@ -209,6 +221,7 @@ export default {
209
221
  },
210
222
  agree_tensio: {
211
223
  digits: [16, 2],
224
+ is_function: true,
212
225
  readonly: 1,
213
226
  size: 2,
214
227
  string: "Codi Tensió",
@@ -217,6 +230,7 @@ export default {
217
230
  },
218
231
  agree_tipus: {
219
232
  digits: [16, 2],
233
+ is_function: true,
220
234
  readonly: 1,
221
235
  size: 2,
222
236
  string: "Tipus Punt",
@@ -226,6 +240,7 @@ export default {
226
240
  altre_p: {
227
241
  context: "",
228
242
  domain: [],
243
+ is_function: false,
229
244
  relation: "res.partner",
230
245
  size: 64,
231
246
  string: "Contacte alternatiu",
@@ -234,79 +249,98 @@ export default {
234
249
  },
235
250
  autoconsumo: {
236
251
  help: "Tipus de autoconsum del contracte segons RD. 900/2015",
252
+ is_function: false,
237
253
  readonly: true,
238
254
  selection: [
239
- ["00", "Sin Autoconsumo"],
240
- ["01", "Autoconsumo Tipo 1"],
241
- ["2A", "Autoconsumo tipo 2 (según el Art. 13. 2. a) RD 900/2015)"],
242
- ["2B", "Autoconsumo tipo 2 (según el Art. 13. 2. b) RD 900/2015)"],
255
+ ["00", "[00] - Sin Autoconsumo"],
256
+ ["01", "[01] - Autoconsumo Tipo 1"],
257
+ [
258
+ "2A",
259
+ "[2A] - Autoconsumo tipo 2 (según el Art. 13. 2. a) RD 900/2015)",
260
+ ],
261
+ [
262
+ "2B",
263
+ "[2B] - Autoconsumo tipo 2 (según el Art. 13. 2. b) RD 900/2015)",
264
+ ],
243
265
  [
244
266
  "2G",
245
- "Servicios auxiliares de generación ligada a un autoconsumo tipo 2",
267
+ "[2G] - Servicios auxiliares de generación ligada a un autoconsumo tipo 2",
246
268
  ],
247
- ["31", "Sin Excedentes Individual – Consumo"],
248
- ["32", "Sin Excedentes Colectivo – Consumo"],
269
+ ["31", "[31] - Sin Excedentes Individual – Consumo"],
270
+ ["32", "[32] - Sin Excedentes Colectivo – Consumo"],
249
271
  [
250
272
  "33",
251
- "Sin Excedentes Colectivo con acuerdo de compensación – Consumo",
273
+ "[33] - Sin Excedentes Colectivo con acuerdo de compensación – Consumo",
274
+ ],
275
+ ["41", "[41] - Con excedentes y compensación Individual - Consumo"],
276
+ ["42", "[42] - Con excedentes y compensación Colectivo– Consumo"],
277
+ [
278
+ "43",
279
+ "[43] - Con excedentes y compensación Colectivo a través de red– Consumo",
252
280
  ],
253
- ["41", "Con excedentes y compensación Individual - Consumo "],
254
- ["42", "Con excedentes y compensación Colectivo– Consumo"],
255
281
  [
256
282
  "51",
257
- "Con excedentes sin compensación Individual sin cto de SSAA en Red Interior– Consumo",
283
+ "[51] - Con excedentes sin compensación Individual sin cto de SSAA en Red Interior– Consumo",
258
284
  ],
259
285
  [
260
286
  "52",
261
- "Con excedentes sin compensación Colectivo sin cto de SSAA en Red Interior– Consumo",
287
+ "[52] - Con excedentes sin compensación Colectivo sin cto de SSAA en Red Interior– Consumo",
262
288
  ],
263
289
  [
264
290
  "53",
265
- "Con excedentes sin compensación Individual con cto SSAA en Red Interior– Consumo",
291
+ "[53] - Con excedentes sin compensación Individual con cto SSAA en Red Interior– Consumo",
266
292
  ],
267
293
  [
268
294
  "54",
269
- "Con excedentes sin compensación individual con cto SSAA en Red Interior– SSAA",
295
+ "[54] - Con excedentes sin compensación individual con cto SSAA en Red Interior– SSAA",
270
296
  ],
271
297
  [
272
298
  "55",
273
- "Con excedentes sin compensación Colectivo/en Red Interior– Consumo",
299
+ "[55] - Con excedentes sin compensación Colectivo/en Red Interior– Consumo",
274
300
  ],
275
301
  [
276
302
  "56",
277
- "Con excedentes sin compensación Colectivo/en Red Interior - SSAA",
303
+ "[56] - Con excedentes sin compensación Colectivo/en Red Interior - SSAA",
304
+ ],
305
+ [
306
+ "57",
307
+ "[57] - Con excedentes sin compensación Colectivo sin cto de SSAA (despreciable) en red interior – Consumo",
308
+ ],
309
+ [
310
+ "58",
311
+ "[58] - Con excedentes sin compensación Colectivo sin cto de SSAA a través de red - Consumo",
278
312
  ],
279
313
  [
280
314
  "61",
281
- "Con excedentes sin compensación Individual con cto SSAA a través de red – Consumo",
315
+ "[61] - Con excedentes sin compensación Individual con cto SSAA a través de red – Consumo",
282
316
  ],
283
317
  [
284
318
  "62",
285
- "Con excedentes sin compensación individual con cto SSAA a través de red – SSAA",
319
+ "[62] - Con excedentes sin compensación individual con cto SSAA a través de red – SSAA",
286
320
  ],
287
321
  [
288
322
  "63",
289
- "Con excedentes sin compensación Colectivo a través de red – Consumo",
323
+ "[63] - Con excedentes sin compensación Colectivo a través de red – Consumo",
290
324
  ],
291
325
  [
292
326
  "64",
293
- "Con excedentes sin compensación Colectivo a través de red - SSAA",
327
+ "[64] - Con excedentes sin compensación Colectivo a través de red - SSAA",
294
328
  ],
295
329
  [
296
330
  "71",
297
- "Con excedentes sin compensación Individual con cto SSAA a través de red y red interior – Consumo",
331
+ "[71] - Con excedentes sin compensación Individual con cto SSAA a través de red y red interior – Consumo",
298
332
  ],
299
333
  [
300
334
  "72",
301
- "Con excedentes sin compensación individual con cto SSAA a través de red y red interior – SSAA",
335
+ "[72] - Con excedentes sin compensación individual con cto SSAA a través de red y red interior – SSAA",
302
336
  ],
303
337
  [
304
338
  "73",
305
- "Con excedentes sin compensación Colectivo con cto de SSAA a través de red y red interior – Consumo",
339
+ "[73] - Con excedentes sin compensación Colectivo con cto de SSAA a través de red y red interior – Consumo",
306
340
  ],
307
341
  [
308
342
  "74",
309
- "Con excedentes sin compensación Colectivo con cto de SSAA a través de red y red interior - SSAA",
343
+ "[74] - Con excedentes sin compensación Colectivo con cto de SSAA a través de red y red interior - SSAA",
310
344
  ],
311
345
  ],
312
346
  states: {
@@ -321,6 +355,7 @@ export default {
321
355
  bank: {
322
356
  context: "",
323
357
  domain: [],
358
+ is_function: false,
324
359
  relation: "res.partner.bank",
325
360
  size: 64,
326
361
  string: "Compte bancari",
@@ -328,6 +363,7 @@ export default {
328
363
  views: {},
329
364
  },
330
365
  bono_social_disponible: {
366
+ is_function: false,
331
367
  string: "Bo social disponible",
332
368
  type: "boolean",
333
369
  views: {},
@@ -335,14 +371,35 @@ export default {
335
371
  cnae: {
336
372
  context: "",
337
373
  domain: [],
374
+ is_function: false,
338
375
  relation: "giscemisc.cnae",
339
376
  size: 64,
340
377
  string: "CNAE",
341
378
  type: "many2one",
342
379
  views: {},
343
380
  },
381
+ codi_sollicitud_electrointensiu: {
382
+ is_function: false,
383
+ size: 25,
384
+ string: "Codi sol·licitud",
385
+ type: "char",
386
+ views: {},
387
+ },
388
+ comissio: {
389
+ is_function: false,
390
+ select: 2,
391
+ selection: [
392
+ ["giscedata.polissa.comissio.kw", "Comissió per Kw Facturats"],
393
+ ["giscedata.polissa.comissio.unica", "Comissió Única"],
394
+ ],
395
+ size: 256,
396
+ string: "Comissió Assignada",
397
+ type: "reference",
398
+ views: {},
399
+ },
344
400
  comptador: {
345
401
  digits: [16, 2],
402
+ is_function: true,
346
403
  readonly: 1,
347
404
  size: 64,
348
405
  string: "Comptador",
@@ -352,6 +409,7 @@ export default {
352
409
  condicions_generals_id: {
353
410
  context: "",
354
411
  domain: [],
412
+ is_function: false,
355
413
  relation: "giscedata.polissa.condicions.generals",
356
414
  size: 64,
357
415
  string: "Condicions generals",
@@ -360,12 +418,13 @@ export default {
360
418
  },
361
419
  contract_type: {
362
420
  help: "Distintos tipos de contratos. Ver REAL DECRETO 1164/2001",
421
+ is_function: false,
363
422
  required: true,
364
423
  selection: [
365
424
  ["01", "Anual"],
366
425
  ["02", "Eventual medido"],
367
426
  ["03", "Temporada"],
368
- ["05", "Suministro Régimen especial"],
427
+ ["05", "RECORE"],
369
428
  ["07", "Suministro de Obras"],
370
429
  ["08", "Suministro de Socorro"],
371
430
  ["09", "Eventual a tanto alzado"],
@@ -377,9 +436,17 @@ export default {
377
436
  type: "selection",
378
437
  views: {},
379
438
  },
439
+ create_date: {
440
+ is_function: false,
441
+ readonly: true,
442
+ string: "Date Created",
443
+ type: "datetime",
444
+ views: {},
445
+ },
380
446
  cups: {
381
447
  context: "",
382
448
  domain: [],
449
+ is_function: false,
383
450
  relation: "giscedata.cups.ps",
384
451
  required: true,
385
452
  size: 64,
@@ -388,17 +455,20 @@ export default {
388
455
  views: {},
389
456
  },
390
457
  data_final: {
458
+ is_function: false,
391
459
  select: true,
392
460
  string: "Data final",
393
461
  type: "date",
394
462
  views: {},
395
463
  },
396
464
  data_firma_contracte: {
465
+ is_function: false,
397
466
  string: "Data firma contracte",
398
467
  type: "datetime",
399
468
  views: {},
400
469
  },
401
470
  data_inici: {
471
+ is_function: false,
402
472
  required: true,
403
473
  select: true,
404
474
  string: "Data inici",
@@ -408,6 +478,7 @@ export default {
408
478
  direccio_notificacio: {
409
479
  context: "",
410
480
  domain: [],
481
+ is_function: false,
411
482
  relation: "res.partner.address",
412
483
  size: 64,
413
484
  string: "Adreça notificació",
@@ -417,6 +488,7 @@ export default {
417
488
  direccio_pagament: {
418
489
  context: "",
419
490
  domain: [],
491
+ is_function: false,
420
492
  relation: "res.partner.address",
421
493
  size: 64,
422
494
  string: "Adreça fiscal",
@@ -426,6 +498,7 @@ export default {
426
498
  distribuidora: {
427
499
  context: "",
428
500
  domain: [["supplier", "=", 1]],
501
+ is_function: false,
429
502
  relation: "res.partner",
430
503
  required: true,
431
504
  size: 64,
@@ -434,6 +507,7 @@ export default {
434
507
  views: {},
435
508
  },
436
509
  enviament: {
510
+ is_function: false,
437
511
  selection: [
438
512
  ["postal", "Correu postal"],
439
513
  ["email", "E-mail"],
@@ -443,14 +517,22 @@ export default {
443
517
  type: "selection",
444
518
  views: {},
445
519
  },
520
+ es_electrointensiu: {
521
+ is_function: false,
522
+ string: "Consumidor electrointensiu",
523
+ type: "boolean",
524
+ views: {},
525
+ },
446
526
  expected_consumption: {
447
527
  help: "Aquest camp calcula el consum total pactat per contractes eventuals sense comptador",
528
+ is_function: false,
448
529
  readonly: true,
449
530
  string: "Consum pactat",
450
531
  type: "float",
451
532
  views: {},
452
533
  },
453
534
  facturacio: {
535
+ is_function: false,
454
536
  required: true,
455
537
  selection: [
456
538
  [1, "Mensual"],
@@ -462,6 +544,7 @@ export default {
462
544
  },
463
545
  facturacio_distri: {
464
546
  help: "Periodicitat de facturació de distribuidora",
547
+ is_function: false,
465
548
  selection: [
466
549
  [1, "Mensual"],
467
550
  [2, "Bimestral"],
@@ -471,6 +554,7 @@ export default {
471
554
  views: {},
472
555
  },
473
556
  facturacio_potencia: {
557
+ is_function: false,
474
558
  required: true,
475
559
  selection: [
476
560
  ["max", "Maxímetro"],
@@ -482,6 +566,7 @@ export default {
482
566
  views: {},
483
567
  },
484
568
  lectura_en_baja: {
569
+ is_function: false,
485
570
  required: true,
486
571
  string: "Lectura en baixa",
487
572
  type: "boolean",
@@ -490,6 +575,7 @@ export default {
490
575
  llista_preu: {
491
576
  context: "",
492
577
  domain: [],
578
+ is_function: false,
493
579
  relation: "product.pricelist",
494
580
  size: 64,
495
581
  string: "Tarifa Comercialitzadora",
@@ -499,6 +585,7 @@ export default {
499
585
  modcontractual_ant: {
500
586
  context: "",
501
587
  domain: [],
588
+ is_function: false,
502
589
  relation: "giscedata.polissa.modcontractual",
503
590
  size: 64,
504
591
  string: "Modificació anterior",
@@ -508,13 +595,29 @@ export default {
508
595
  modcontractual_seg: {
509
596
  context: "",
510
597
  domain: [],
598
+ is_function: false,
511
599
  relation: "giscedata.polissa.modcontractual",
512
600
  size: 64,
513
601
  string: "Modificació següent",
514
602
  type: "many2one",
515
603
  views: {},
516
604
  },
605
+ mode_facturacio: {
606
+ is_function: false,
607
+ selection: [["atr", "ATR"]],
608
+ string: "Mode facturació",
609
+ type: "selection",
610
+ views: {},
611
+ },
612
+ mode_facturacio_generacio: {
613
+ is_function: false,
614
+ selection: [["atr", "ATR"]],
615
+ string: "Mode facturació generacio",
616
+ type: "selection",
617
+ views: {},
618
+ },
517
619
  name: {
620
+ is_function: false,
518
621
  readonly: true,
519
622
  required: true,
520
623
  size: 64,
@@ -525,6 +628,7 @@ export default {
525
628
  nocutoff: {
526
629
  context: "",
527
630
  domain: [],
631
+ is_function: false,
528
632
  relation: "giscedata.polissa.nocutoff",
529
633
  size: 64,
530
634
  string: "Subministrament no tallable",
@@ -532,6 +636,7 @@ export default {
532
636
  views: {},
533
637
  },
534
638
  notificacio: {
639
+ is_function: false,
535
640
  required: true,
536
641
  selection: [
537
642
  ["titular", "Titular"],
@@ -543,6 +648,7 @@ export default {
543
648
  views: {},
544
649
  },
545
650
  notificacio_email: {
651
+ is_function: false,
546
652
  readonly: true,
547
653
  size: 240,
548
654
  string: "Email dir. notif.",
@@ -550,6 +656,7 @@ export default {
550
656
  views: {},
551
657
  },
552
658
  observacions: {
659
+ is_function: false,
553
660
  string: "Observacions",
554
661
  type: "text",
555
662
  views: {},
@@ -557,6 +664,7 @@ export default {
557
664
  pagador: {
558
665
  context: "",
559
666
  domain: [],
667
+ is_function: false,
560
668
  relation: "res.partner",
561
669
  required: true,
562
670
  size: 64,
@@ -565,6 +673,7 @@ export default {
565
673
  views: {},
566
674
  },
567
675
  pagador_email: {
676
+ is_function: false,
568
677
  readonly: true,
569
678
  size: 240,
570
679
  string: "Email dir. fiscal",
@@ -574,6 +683,7 @@ export default {
574
683
  payment_mode_id: {
575
684
  context: "",
576
685
  domain: [],
686
+ is_function: false,
577
687
  relation: "payment.mode",
578
688
  size: 64,
579
689
  string: "Grup de pagament",
@@ -583,15 +693,24 @@ export default {
583
693
  payment_term: {
584
694
  context: "",
585
695
  domain: [],
696
+ is_function: false,
586
697
  relation: "account.payment.term",
587
698
  size: 64,
588
699
  string: "Plazo de pago",
589
700
  type: "many2one",
590
701
  views: {},
591
702
  },
703
+ peatge_directe: {
704
+ is_function: false,
705
+ required: true,
706
+ string: "Peatge directe",
707
+ type: "boolean",
708
+ views: {},
709
+ },
592
710
  polissa_id: {
593
711
  context: "",
594
712
  domain: [],
713
+ is_function: false,
595
714
  relation: "giscedata.polissa",
596
715
  required: true,
597
716
  select: true,
@@ -602,12 +721,14 @@ export default {
602
721
  },
603
722
  potencia: {
604
723
  digits: [16, 3],
724
+ is_function: false,
605
725
  required: true,
606
726
  string: "Potència contractada (kW)",
607
727
  type: "float",
608
728
  views: {},
609
729
  },
610
730
  potencies_periode: {
731
+ is_function: false,
611
732
  readonly: true,
612
733
  size: 256,
613
734
  string: "Potències contractades",
@@ -619,6 +740,7 @@ export default {
619
740
  digits: [16, 2],
620
741
  domain: "[('category_id.name', '=', 'POT ELEC')]",
621
742
  help: "Amb quina unitat es vol facturar la potència",
743
+ is_function: true,
622
744
  relation: "product.uom",
623
745
  required: true,
624
746
  string: "Unitat de facturació potència",
@@ -626,6 +748,7 @@ export default {
626
748
  views: {},
627
749
  },
628
750
  ref_dist: {
751
+ is_function: false,
629
752
  size: 60,
630
753
  string: "Referència distribuidora",
631
754
  type: "char",
@@ -634,6 +757,7 @@ export default {
634
757
  representante_id: {
635
758
  context: "",
636
759
  domain: [],
760
+ is_function: false,
637
761
  relation: "res.partner",
638
762
  size: 64,
639
763
  string: "Representante",
@@ -641,16 +765,17 @@ export default {
641
765
  views: {},
642
766
  },
643
767
  state: {
768
+ is_function: false,
644
769
  readonly: true,
645
770
  required: true,
646
771
  selection: [
647
- ["esborrany", "Esborrany"],
648
- ["actiu", "Actiu"],
649
- ["pendent", "Pendent d'activació"],
650
- ["baixa", "Baixa"],
651
- ["baixa2", "Baixa per modificació"],
652
- ["baixa3", "Baixa per renovació"],
653
- ["baixa4", "Baixa per nova pòlissa"],
772
+ ["esborrany", "Borrador"],
773
+ ["actiu", "Activo"],
774
+ ["pendent", "Pendiente de activación"],
775
+ ["baixa", "Baja"],
776
+ ["baixa2", "Baja por modificación"],
777
+ ["baixa3", "Baja por renovación"],
778
+ ["baixa4", "Baja por nueva póliza"],
654
779
  ],
655
780
  string: "Estat",
656
781
  type: "selection",
@@ -659,6 +784,7 @@ export default {
659
784
  tarifa: {
660
785
  context: "",
661
786
  domain: [],
787
+ is_function: false,
662
788
  relation: "giscedata.polissa.tarifa",
663
789
  required: true,
664
790
  size: 64,
@@ -667,6 +793,7 @@ export default {
667
793
  views: {},
668
794
  },
669
795
  tensio: {
796
+ is_function: false,
670
797
  required: true,
671
798
  string: "Tensió (V)",
672
799
  type: "integer",
@@ -675,6 +802,7 @@ export default {
675
802
  tensio_normalitzada: {
676
803
  context: "",
677
804
  domain: [],
805
+ is_function: false,
678
806
  relation: "giscedata.tensions.tensio",
679
807
  required: true,
680
808
  size: 64,
@@ -684,6 +812,7 @@ export default {
684
812
  },
685
813
  tg: {
686
814
  help: "Telegestió operativa amb o sense corba de càrrega (CCH)",
815
+ is_function: false,
687
816
  selection: [
688
817
  ["1", "Operativa amb CCH"],
689
818
  ["2", "No operativa"],
@@ -693,9 +822,18 @@ export default {
693
822
  type: "selection",
694
823
  views: {},
695
824
  },
825
+ tipo_medida: {
826
+ is_function: false,
827
+ readonly: true,
828
+ size: 2,
829
+ string: "Tipus de Punt de Mesura",
830
+ type: "char",
831
+ views: {},
832
+ },
696
833
  tipo_pago: {
697
834
  context: "",
698
835
  domain: [],
836
+ is_function: false,
699
837
  relation: "payment.type",
700
838
  required: true,
701
839
  size: 64,
@@ -704,18 +842,20 @@ export default {
704
842
  views: {},
705
843
  },
706
844
  tipus: {
845
+ is_function: false,
707
846
  required: true,
708
847
  selection: [
709
848
  ["alta", "Alta"],
710
- ["baixa", "Baixa"],
711
- ["mod", "Modificació"],
712
- ["reno", "Renovació"],
849
+ ["baixa", "Baja"],
850
+ ["mod", "Modificación"],
851
+ ["reno", "Renovación"],
713
852
  ],
714
853
  string: "Tipus",
715
854
  type: "selection",
716
855
  views: {},
717
856
  },
718
857
  tipus_vivenda: {
858
+ is_function: false,
719
859
  readonly: true,
720
860
  selection: [
721
861
  ["habitual", "Habitual"],
@@ -728,6 +868,7 @@ export default {
728
868
  titular: {
729
869
  context: "",
730
870
  domain: [],
871
+ is_function: false,
731
872
  relation: "res.partner",
732
873
  size: 64,
733
874
  string: "Titular",
@@ -735,11 +876,19 @@ export default {
735
876
  views: {},
736
877
  },
737
878
  trafo: {
879
+ is_function: false,
738
880
  required: true,
739
881
  string: "Trafo KVA",
740
882
  type: "float",
741
883
  views: {},
742
884
  },
885
+ versio_sollicitud: {
886
+ is_function: false,
887
+ size: 6,
888
+ string: "Versió sol.licitud",
889
+ type: "char",
890
+ views: {},
891
+ },
743
892
  },
744
893
  model: "giscedata.polissa.modcontractual",
745
894
  name: "giscedata.polissa.modcontractual.form",