Skip to content

Commit

Permalink
Merge pull request #686 from Som-Energia/fix_gurb_tests_and_mini_imp
Browse files Browse the repository at this point in the history
🐛 Intent fallit de solucionar testos de GURB I
  • Loading branch information
destanyol authored Jul 26, 2024
2 parents 13e9fc7 + ed86a4a commit 733e384
Show file tree
Hide file tree
Showing 8 changed files with 257 additions and 76 deletions.
3 changes: 3 additions & 0 deletions som_gurb/demo/som_gurb_demo.xml
Original file line number Diff line number Diff line change
Expand Up @@ -11,5 +11,8 @@
<field name="pricelist_id" ref="pricelist_gurb_demo" ></field>
<field name="generation_power">10</field>
</record>
<record model="product.pricelist" id="giscedata_facturacio.pricelist_tarifas_electricidad">
<field name="dies_renovacio">30</field>
</record>
</data>
</openerp>
152 changes: 122 additions & 30 deletions som_gurb/i18n/es_ES.po
Original file line number Diff line number Diff line change
Expand Up @@ -8,8 +8,8 @@ msgid ""
msgstr ""
"Project-Id-Version: Som Energia\n"
"Report-Msgid-Bugs-To: [email protected]\n"
"POT-Creation-Date: 2024-06-18 11:30+0000\n"
"PO-Revision-Date: 2024-06-18 09:36+0000\n"
"POT-Creation-Date: 2024-07-24 15:51+0000\n"
"PO-Revision-Date: 2024-07-24 13:59+0000\n"
"Last-Translator: Som Energia <[email protected]>\n"
"Language-Team: Spanish (Spain) (http://trad.gisce.net/projects/p/somenergia/language/es_ES/)\n"
"MIME-Version: 1.0\n"
Expand Down Expand Up @@ -45,6 +45,25 @@ msgstr "Generación urbana"
msgid "Data fi"
msgstr "Fecha fin"

#. module: som_gurb
#: model:poweremail.templates,def_body_text:som_gurb.email_gurb_activation
#: model:poweremail.templates,def_body_text:som_gurb.email_gurb_in_progress
#: model:poweremail.templates,def_body_text:som_gurb.email_gurb_welcome
#: model:poweremail.templates,def_body_text:som_gurb.email_signature_process_gurb
#: model:poweremail.templates,def_body_text:som_gurb.email_signature_process_gurb_lead
msgid ""
"\n"
" <!doctype html>\n"
" <html>\n"
" <head></head>\n"
" <body>\n"
" Email text\n"
" </body>\n"
" </html>\n"
" \n"
" "
msgstr "\n <!doctype html>\n <html>\n <head></head>\n <body>\n Email text\n </body>\n </html>\n \n "

#. module: som_gurb
#: constraint:ir.actions.act_window:0
msgid "Invalid model name in the action definition."
Expand All @@ -70,6 +89,11 @@ msgstr "Documento"
msgid "Nom"
msgstr "Nombre"

#. module: som_gurb
#: field:som.gurb.cups,owner_cups:0
msgid "Persona propietària"
msgstr "Persona propietaria"

#. module: som_gurb
#: view:som.gurb:0
msgid "Activar"
Expand Down Expand Up @@ -116,6 +140,11 @@ msgstr "Ya existe un servicio con esa lista de precios."
msgid "Betes assignades + extres"
msgstr "Betas asignadas + extras"

#. module: som_gurb
#: model:ir.model,name:som_gurb.model_wizard_create_gurb_cups_signature
msgid "Wizard per crear la Signatura d'un Gurb Cups"
msgstr "Wizard para crear la Signatura de un Gurb Cups"

#. module: som_gurb
#: model:ir.model,name:som_gurb.model_report_backend_som_gurb_documents
msgid "report.backend.som.gurb.documents"
Expand Down Expand Up @@ -146,6 +175,13 @@ msgstr "Reobertura"
msgid "Es crearan {} factures d'inscripció."
msgstr "Se crearán {} facturas de inscripción."

#. module: som_gurb
#: model:poweremail.templates,def_subject:som_gurb.email_gurb_activation
#: model:poweremail.templates,def_subject:som_gurb.email_gurb_in_progress
#: model:poweremail.templates,def_subject:som_gurb.email_gurb_welcome
msgid "TODO"
msgstr "TODO"

#. module: som_gurb
#: selection:som.gurb,state:0
msgid "Grup registrat"
Expand Down Expand Up @@ -182,6 +218,12 @@ msgstr "Error ! You can not create recursive categories."
msgid "Cas cancel·lat per GURB"
msgstr "Caso cancelado por GURB"

#. module: som_gurb
#: model:poweremail.templates,def_subject:som_gurb.email_signature_process_gurb
#: model:poweremail.templates,def_subject:som_gurb.email_signature_process_gurb_lead
msgid "CORREU DEMANANT LA SIGNATURA I PAGAMENT COST ADHESIÓ GURB"
msgstr "CORREO PIDIENDO LA FIRMA Y PAGO COSTE ADHESIÓN GURB"

#. module: som_gurb
#: field:som.gurb.cups,initial_invoice_id:0
msgid "Factura"
Expand All @@ -207,11 +249,6 @@ msgstr "Error! No puedes crear categorías recursivas."
msgid "Per poder obrir el GURB s'ha d'omplir el camp: {}"
msgstr "Para poder abrir el GURB se debe rellenar el campo: {}"

#. module: som_gurb
#: view:som.gurb:0
msgid "Vols tornar a la primera obertura?"
msgstr "¿Quieres volver a la primera apertura?"

#. module: som_gurb
#: selection:wizard.gurb.create.initial.invoice,state:0
msgid "End"
Expand All @@ -227,6 +264,11 @@ msgstr "Días reapertura"
msgid "Betes extres (kW)"
msgstr "Betas extras (kW)"

#. module: som_gurb
#: model:ir.actions.act_window,name:som_gurb.action_wizard_sign_gurb_cups_documents_form
msgid "Signar GURB documents"
msgstr "Firmar GURB documentos"

#. module: som_gurb
#: model:product.template,name:som_gurb.initial_quota_gurb_product_template
msgid "Quota inicial del GURB"
Expand All @@ -253,26 +295,41 @@ msgstr "CUPS"
msgid "CUPS GURB"
msgstr "CUPS GURB"

#. module: som_gurb
#: field:wizard.create.gurb.cups.signature,email:0
msgid "Email"
msgstr "Email"

#. module: som_gurb
#: selection:som.gurb,state:0
msgid "Complet"
msgstr "Completo"

#. module: som_gurb
#: code:addons/som_gurb/models/som_gurb_cups.py:152
msgid "El CUPS id {} no té pòlisses actives. No es pot afegir cap servei"
msgstr "El CUPS id {} no tiene pólizas activas. No se puede añadir ningún servicio"
#: field:som.gurb,quota_product_id:0
msgid "Produce quota mensual"
msgstr "Producto cuota mensual"

#. module: som_gurb
#: code:addons/som_gurb/wizard/wizard_gurb_create_new_beta.py:53
msgid "El total de la beta i la beta extra ha de ser més gran a zero."
msgstr "El total de la beta y beta extra debe ser mayor a cero."

#. module: som_gurb
#: model:ir.actions.report.xml,name:som_gurb.action_report_som_gurb_conditions
msgid "Generar condicions GURB"
msgstr "Generar condiciones GURB"

#. module: som_gurb
#: code:addons/som_gurb/models/giscedata_switching.py:85
msgid "Cas importat correctament."
msgstr "Caso importado correctamente."

#. module: som_gurb
#: code:addons/som_gurb/models/som_gurb_cups.py:180
msgid "No hi ha pòlisses actives o en esborrany per aquest CUPS"
msgstr "No hay pólizas activas o en borrador para este CUPS"

#. module: som_gurb
#: view:wizard.gurb.create.initial.invoice:0
msgid "Creació factures inscripció"
Expand Down Expand Up @@ -318,11 +375,21 @@ msgstr "Betas asignadas"
msgid "Invalid XML for View Architecture!"
msgstr "Invalid XML for View Architecture!"

#. module: som_gurb
#: view:wizard.create.gurb.cups.signature:0
msgid "Firmar els documents d'aquest GURB CUPS"
msgstr "Firmar los documentos de este GURB CUPS"

#. module: som_gurb
#: constraint:product.template:0
msgid "Error: UOS must be in a different category than the UOM"
msgstr "Error: UOS must be in a different category than the UOM"

#. module: som_gurb
#: field:som.gurb.cups,polissa_id:0
msgid "Pòlissa"
msgstr "Póliza"

#. module: som_gurb
#: field:som.gurb.cups.beta,start_date:0
#: field:wizard.gurb.create.new.beta,start_date:0
Expand Down Expand Up @@ -350,6 +417,11 @@ msgstr "No se puede realizar un cambio de beta a futuro."
msgid "Beta incorrecte!"
msgstr "Beta incorrecta!"

#. module: som_gurb
#: field:som.gurb.cups,signed:0
msgid "Signed"
msgstr "Signed"

#. module: som_gurb
#: model:ir.model,name:som_gurb.model_wizard_gurb_create_initial_invoice
msgid "wizard.gurb.create.initial.invoice"
Expand Down Expand Up @@ -387,7 +459,7 @@ msgstr "Activo no completo crítico"

#. module: som_gurb
#: model:ir.model,name:som_gurb.model_som_gurb_cups_beta
#: code:addons/som_gurb/models/som_gurb_cups.py:371
#: code:addons/som_gurb/models/som_gurb_cups.py:481
msgid "Log of betas and changes for som.gurb.cups"
msgstr "Log of betas and changes for som.gurb.cups"

Expand Down Expand Up @@ -423,9 +495,9 @@ msgid "No s'han seleccionat IDs"
msgstr "No se han seleccionado IDs"

#. module: som_gurb
#: field:som.gurb.cups,owner_cups:0
msgid "Cups de la persona propietària"
msgstr "Cups de la persona propietaria"
#: view:som.gurb.cups:0
msgid "Relacions"
msgstr "Relaciones"

#. module: som_gurb
#: constraint:product.template:0
Expand Down Expand Up @@ -455,9 +527,9 @@ msgid "Betes assignades (kW)"
msgstr "Betas asignadas (kW)"

#. module: som_gurb
#: code:addons/som_gurb/models/som_gurb_cups.py:150
msgid "No hi ha pòlisses actives per aquest CUPS"
msgstr "No hay pólizas activas para este CUPS"
#: view:som.gurb:0
msgid "Vols tornar a la primera obertura?"
msgstr "¿Quieres volver a la primera apertura?"

#. module: som_gurb
#: field:som.gurb.cups,beta_percentage:0
Expand Down Expand Up @@ -490,6 +562,11 @@ msgstr "Potencia generación"
msgid "Reobrir"
msgstr "Reabrir"

#. module: som_gurb
#: field:som.gurb.cups,polissa_state:0
msgid "Estat pòlissa"
msgstr "Estado póliza"

#. module: som_gurb
#: model:giscedata.polissa.category,name:som_gurb.categ_gurb_pilot
msgid "GURB Pilot"
Expand All @@ -510,6 +587,12 @@ msgstr "Cerrar primera apertura"
msgid "Crear factures"
msgstr "Crear facturas"

#. module: som_gurb
#: code:addons/som_gurb/models/som_gurb_cups.py:523
msgid ""
"The combination of name and gurb_cups_id must be unique for this register!"
msgstr "The combination of name and gurb_cups_id must be unique for this register!"

#. module: som_gurb
#: model:ir.actions.act_window,name:som_gurb.action_som_gurb_cups_tree
msgid "Tots els CUPS del GURB"
Expand Down Expand Up @@ -541,9 +624,9 @@ msgid "Actiu no complet"
msgstr "Activo no completo"

#. module: som_gurb
#: model:product.template,name:som_gurb.product_gurb_product_template
msgid "Producte GURB"
msgstr "Producto GURB"
#: field:som.gurb.cups,partner_id:0
msgid "Client"
msgstr "Cliente"

#. module: som_gurb
#: view:som.gurb:0
Expand Down Expand Up @@ -573,11 +656,6 @@ msgstr "Con compensación"
msgid "Veure factures"
msgstr "Ver facturas"

#. module: som_gurb
#: field:giscedata.switching,_attachments_field:0
msgid "Attachments"
msgstr "Attachments"

#. module: som_gurb
#: code:addons/som_gurb/models/som_gurb.py:195
msgid "Error al canviar d'estat"
Expand Down Expand Up @@ -657,10 +735,9 @@ msgid "Mòdul per gestionar els grups de generació urbana"
msgstr "Módulo para gestionar los grupos de generación urbana"

#. module: som_gurb
#: code:addons/som_gurb/models/som_gurb_cups.py:413
msgid ""
"The combination of name and gurb_cups_id must be unique for this register!"
msgstr "The combination of name and gurb_cups_id must be unique for this register!"
#: field:som.gurb,initial_product_id:0
msgid "Producte quota inicial"
msgstr "Producto cuota inicial"

#. module: som_gurb
#: model:ir.model,name:som_gurb.model_som_gurb_general_conditions
Expand Down Expand Up @@ -720,6 +797,11 @@ msgstr "Se está creando una beta con los mismos valores que la anterior."
msgid "Vols tancar la primera obertura del GURB?"
msgstr "¿Quieres cerrar la primera apertura del GURB?"

#. module: som_gurb
#: model:product.template,name:som_gurb.product_gurb_product_template
msgid "Producte GURB"
msgstr "Producto GURB"

#. module: som_gurb
#: view:som.gurb:0
msgid "Canvis realitzats al GURB"
Expand Down Expand Up @@ -770,6 +852,11 @@ msgstr "Cerrar reapertura"
msgid "Vols reobrir el GURB?"
msgstr "¿Quieres reabrir el GURB?"

#. module: som_gurb
#: view:wizard.create.gurb.cups.signature:0
msgid "Enviar documents a signar!"
msgstr "Enviar documentos a firmar!"

#. module: som_gurb
#: view:som.gurb:0
msgid "Tornar a primera obertura"
Expand Down Expand Up @@ -817,10 +904,15 @@ msgstr "Provincia"

#. module: som_gurb
#: model:ir.model,name:som_gurb.model_som_gurb_cups
#: code:addons/som_gurb/models/som_gurb_cups.py:26
#: code:addons/som_gurb/models/som_gurb_cups.py:27
msgid "CUPS en grup de generació urbana"
msgstr "CUPS en grupo de generación urbana"

#. module: som_gurb
#: code:addons/som_gurb/models/som_gurb_cups.py:182
msgid "El CUPS id {} no té pòlisses actives o en esborrany. No es pot afegir."
msgstr "El CUPS id {} no tiene pólizas activas o en borrador. No se puede añadir."

#. module: som_gurb
#: model:ir.model,name:som_gurb.model_wizard_create_distribution_agreement
msgid "wizard.create.distribution.agreement"
Expand Down
Loading

0 comments on commit 733e384

Please sign in to comment.