chellow 1738661883.0.0__py3-none-any.whl → 1738691248.0.0__py3-none-any.whl

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.

Potentially problematic release.


This version of chellow might be problematic. Click here for more details.

chellow/e/views.py CHANGED
@@ -4251,7 +4251,10 @@ def site_add_e_supply_form_get(site_id):
4251
4251
  try:
4252
4252
  ct_now = ct_datetime_now()
4253
4253
  cops = g.sess.query(Cop).order_by(Cop.code)
4254
- comms = g.sess.execute(select(Comm).order_by(Comm.code)).scalars()
4254
+ comms = g.sess.scalars(select(Comm).order_by(Comm.code))
4255
+ dtc_meter_types = g.sess.scalars(
4256
+ select(DtcMeterType).order_by(DtcMeterType.code)
4257
+ )
4255
4258
  energisation_statuses = g.sess.query(EnergisationStatus).order_by(
4256
4259
  EnergisationStatus.code
4257
4260
  )
@@ -4515,6 +4518,7 @@ def site_add_e_supply_form_get(site_id):
4515
4518
  start_date=start_date,
4516
4519
  imp_llfcs=imp_llfcs,
4517
4520
  exp_llfcs=exp_llfcs,
4521
+ dtc_meter_types=dtc_meter_types,
4518
4522
  )
4519
4523
  except BadRequest as e:
4520
4524
  g.sess.rollback()
@@ -1,6 +1,6 @@
1
1
  Metadata-Version: 2.4
2
2
  Name: chellow
3
- Version: 1738661883.0.0
3
+ Version: 1738691248.0.0
4
4
  Summary: Web Application for checking UK energy bills.
5
5
  Project-URL: Homepage, https://github.com/WessexWater/chellow
6
6
  Classifier: License :: OSI Approved :: GNU General Public License v3 (GPLv3)
@@ -43,7 +43,7 @@ chellow/e/system_price.py,sha256=6w5J7bzwFAZubE2zdOFRiS8IIrVP8hkoIOaG2yCt-Ic,623
43
43
  chellow/e/tlms.py,sha256=M33D6YpMixu2KkwSCzDRM3kThLgShg8exp63Obo75l8,8905
44
44
  chellow/e/tnuos.py,sha256=NBmc-f3oezrl4gviAKobljHfICTpBKxxxEGBGJi_lRk,4927
45
45
  chellow/e/triad.py,sha256=lIQj7EdUrcFwEqleuHZXYU_bfzIwNOqUVVxB3NPQt4A,13710
46
- chellow/e/views.py,sha256=VkoB3-jgydp-2RMdlYVvSL4UVUmt7wMnCJpHSBdf1jM,220753
46
+ chellow/e/views.py,sha256=ZDVUirf0fMLO8aS5gF3xpPnRDmNqYxxGHkGjxm0_AY4,220901
47
47
  chellow/e/bill_parsers/__init__.py,sha256=47DEQpj8HBSa-_TImW-5JCeuQeRkm5NMpJWZG3hSuFU,0
48
48
  chellow/e/bill_parsers/activity_mop_stark_xlsx.py,sha256=UgWXDPzQkQghyj_lfgBqoSJpHB-t-qOdSaB8qY6GLog,4071
49
49
  chellow/e/bill_parsers/annual_mop_stark_xlsx.py,sha256=-HMoIfa_utXYKA44RuC0Xqv3vd2HLeQU_4P0iBUd3WA,4219
@@ -376,6 +376,6 @@ chellow/templates/g/supply_note_edit.html,sha256=b8mB6_ucBwoljp03iy6AgVaZUhGw3-1
376
376
  chellow/templates/g/supply_notes.html,sha256=6epNmZ3NKdXZz27fvmRUGeffg_oc1kmwuBeyRzQe3Rg,854
377
377
  chellow/templates/g/unit.html,sha256=KouNVU0-i84afANkLQ_heJ0uDfJ9H5A05PuLqb8iCN8,438
378
378
  chellow/templates/g/units.html,sha256=p5Nd-lAIboKPEOO6N451hx1bcKxMg4BDODnZ-43MmJc,441
379
- chellow-1738661883.0.0.dist-info/METADATA,sha256=5g40keAGNfvyLS-2x60_y2NxBT429rX9_52Hzj44FiY,12204
380
- chellow-1738661883.0.0.dist-info/WHEEL,sha256=qtCwoSJWgHk21S1Kb4ihdzI2rlJ1ZKaIurTj_ngOhyQ,87
381
- chellow-1738661883.0.0.dist-info/RECORD,,
379
+ chellow-1738691248.0.0.dist-info/METADATA,sha256=4CALlxViKDlHgdl8qlcsc3GFhP8T1xV2WVZfUGV0shI,12204
380
+ chellow-1738691248.0.0.dist-info/WHEEL,sha256=qtCwoSJWgHk21S1Kb4ihdzI2rlJ1ZKaIurTj_ngOhyQ,87
381
+ chellow-1738691248.0.0.dist-info/RECORD,,