chellow 1738660675.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()
@@ -642,6 +642,7 @@ def _process_site(
642
642
  month_data[f"import-grid-{suf}"] = 0
643
643
  month_data[f"export-grid-{suf}"] = 0
644
644
  month_data[f"billed-supplier-import-{suf}"] = 0
645
+ month_data[f"billed-supplier-export-{suf}"] = 0
645
646
  month_data[f"billed-dc-import-{suf}"] = 0
646
647
  month_data[f"billed-mop-import-{suf}"] = 0
647
648
  _add_bills(month_data, first_era, bills, chunk_start, chunk_finish)
@@ -1,6 +1,6 @@
1
1
  Metadata-Version: 2.4
2
2
  Name: chellow
3
- Version: 1738660675.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
@@ -84,7 +84,7 @@ chellow/reports/report_219.py,sha256=3Zs16ka6dWWY_lCDoA-ZFrlPb4vHk1LQoa2yrlTMntA
84
84
  chellow/reports/report_231.py,sha256=WARLztV2HzBFSi5_xvY_DTXVyuBBbBYiU0RazfjKw-Y,5270
85
85
  chellow/reports/report_233.py,sha256=qJdPFuBgQAWD24BsljgGJ44L_RGdHOA1RqsxGjTWhFc,4975
86
86
  chellow/reports/report_241.py,sha256=lfivElRkV_CZAhck0rxAuhqzgponj3aWwmwGMNQvUxg,5343
87
- chellow/reports/report_247.py,sha256=ovsUZQn8vl_6vIw9SHJQ640QGUjSwRhn5Bt8ycRxgW0,45972
87
+ chellow/reports/report_247.py,sha256=SnbGqvCkakeYrPvFA13NRSiuwJWaO_CVO2hU4_pw4w0,46044
88
88
  chellow/reports/report_29.py,sha256=ZXnq6Kg5on-IPquUsH4bn46mBVESY_WhwqDWZPXOJwo,2695
89
89
  chellow/reports/report_291.py,sha256=BnWtxe0eWN2QKKWpwjs5-RI5LbReBKL119QbkrkNhV8,7478
90
90
  chellow/reports/report_33.py,sha256=lt1EN_LNx6u-AgdaS3YRkPMZA33JgMcELolHF4oJUMw,16689
@@ -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-1738660675.0.0.dist-info/METADATA,sha256=TNqvkO-IF9jsv13gtwJbHk9TJby7FxmGwtCin01t3yg,12204
380
- chellow-1738660675.0.0.dist-info/WHEEL,sha256=qtCwoSJWgHk21S1Kb4ihdzI2rlJ1ZKaIurTj_ngOhyQ,87
381
- chellow-1738660675.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,,