-
Notifications
You must be signed in to change notification settings - Fork 4
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Adaptació a ATR 3.0 #810
base: main
Are you sure you want to change the base?
Adaptació a ATR 3.0 #810
Conversation
…utoconsum' because finally it remains 'autoconsumo'
…show new field 'tipus_subseccio'
…n '_crear_autoconsum_from_datos_cau'
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Haurem de veure com ho fem Pere perquè quan vulguem passar tests, necessitarem passar-los amb la PR de gestionatr 3.0
gisce/gestionatr#258
…tionality. Remove this before merge. Co-authored-by: Pau Boix <[email protected]>
'00': _(u"Sense autoconsum"), # Sin autoconsumo | ||
'0C': _(u"Baixa com a membre d'autoconsum col·lectiu"), # Baja como miembro de autoconsumo colectivo | ||
} | ||
autoconsum_text = TABLA_133_dict[cd.autoconsum] if cd.autoconsum in TABLA_133_dict else _("") |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Sobre la nova taula, mira't aquesta PR:
#641
Vam moure la taula a som_polissa/giscedata_cups.py per poder-la importar des d'un mako i no tenir-la definida a més d'un lloc.
Suposo que seria una cosa així:
autoconsum_text = TABLA_133_dict[cd.autoconsum] if cd.autoconsum in TABLA_133_dict else _("") | |
from som_polissa.giscedata_cups import TABLA_133_dict | |
autoconsum_text = TABLA_133_dict[cd.autoconsum] if cd.autoconsum in TABLA_133_dict else _("") |
Objectiu
PR per adaptar-nos als canvis del ATR 3.0 del repo de GISCE
(PR anterior descartada #272)
Targeta on es demana o Incidència
https://somenergia.openproject.com/wp/682
Comportament antic
Comportament nou
Comprovacions