Skip to content

Commit

Permalink
Merge pull request #229 from gisce/adds_h4_reject
Browse files Browse the repository at this point in the history
Añadir rechazo H4
  • Loading branch information
eberloso committed Aug 2, 2023
2 parents 5634e82 + 2a5f8af commit f07a405
Show file tree
Hide file tree
Showing 2 changed files with 14 additions and 2 deletions.
15 changes: 13 additions & 2 deletions .github/workflows/python-app.yml
Original file line number Diff line number Diff line change
Expand Up @@ -23,11 +23,22 @@ jobs:
python-version: ["2.7", "3.11"]

steps:
- uses: actions/checkout@v2
- uses: actions/checkout@v3
- name: Set up Python ${{ matrix.python-version }}
uses: actions/setup-python@v2
if: matrix.python-version == '3.11'
uses: actions/setup-python@v4
with:
python-version: ${{ matrix.python-version }}
- name: Install Python 2
if: matrix.python-version == '2.7'
run: |
sudo apt update
sudo apt install python2 python-pip
sudo update-alternatives --install /usr/bin/python python /usr/bin/python2 1
sudo update-alternatives --install /usr/bin/python python /usr/bin/python3 2
printf '1\n' | sudo update-alternatives --config python
cd /usr/bin
sudo ln -s /usr/bin/pip2 ./pip
- name: Upgrade pip
run: |
pip install --upgrade pip setuptools wheel
Expand Down
1 change: 1 addition & 0 deletions gestionatr/defs.py
Original file line number Diff line number Diff line change
Expand Up @@ -1123,6 +1123,7 @@
('G4', 'Suministro Mínimo Vital'),
('G5', 'Este tipo de modificación (“M”/”B”) solo aplica a solicitudes de modificación (formato M1) de suministros en bono social (suministrados por COR)'),
('G6', 'No es posible modificar fichero de coeficientes si no ha transcurrido un mínimo de 4 meses desde la última modificación'),
('H4', 'La instalación del cliente no puede tener vertidos a la red'),
('99', 'Otros'),
]

Expand Down

0 comments on commit f07a405

Please sign in to comment.