chellow 1718904221.0.0__py3-none-any.whl → 1719570651.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/bill_parsers/mm.py +5 -0
- chellow/models.py +13 -0
- chellow/templates/supplies.html +2 -7
- {chellow-1718904221.0.0.dist-info → chellow-1719570651.0.0.dist-info}/METADATA +1 -1
- {chellow-1718904221.0.0.dist-info → chellow-1719570651.0.0.dist-info}/RECORD +6 -6
- {chellow-1718904221.0.0.dist-info → chellow-1719570651.0.0.dist-info}/WHEEL +1 -1
chellow/e/bill_parsers/mm.py
CHANGED
|
@@ -68,11 +68,16 @@ CHARGE_UNITS_LOOKUP = {
|
|
|
68
68
|
"SAG": "days",
|
|
69
69
|
"TNUOS": "days",
|
|
70
70
|
"REAP": "kvarh",
|
|
71
|
+
"DCDA": "days",
|
|
72
|
+
"MOP1": "days",
|
|
73
|
+
"COMM": "days",
|
|
71
74
|
}
|
|
72
75
|
|
|
73
76
|
ELEMENT_LOOKUP = {
|
|
74
77
|
"10ANNUAL": "standing",
|
|
75
78
|
"20RS0108": "single",
|
|
79
|
+
"30ANNUAL": "mop",
|
|
80
|
+
"50ANNUAL": "dc",
|
|
76
81
|
"9WANNUAL": "site-fee",
|
|
77
82
|
"20RS0123": "day",
|
|
78
83
|
"30RS0123": "night",
|
chellow/models.py
CHANGED
|
@@ -7486,6 +7486,18 @@ def db_upgrade_47_to_48(sess, root_path):
|
|
|
7486
7486
|
DtcMeterType.insert(sess, code, desc)
|
|
7487
7487
|
|
|
7488
7488
|
|
|
7489
|
+
def db_upgrade_48_to_49(sess, root_path):
|
|
7490
|
+
for code, factor_str in (
|
|
7491
|
+
("MCUF", "28.316846592"),
|
|
7492
|
+
("HCUF", "2.8316846592"),
|
|
7493
|
+
("TCUF", "0.28316846592"),
|
|
7494
|
+
("OCUF", "0.028316846592"),
|
|
7495
|
+
):
|
|
7496
|
+
g_unit = GUnit.get_by_code(sess, code)
|
|
7497
|
+
g_unit.factor = Decimal(factor_str)
|
|
7498
|
+
sess.flush()
|
|
7499
|
+
|
|
7500
|
+
|
|
7489
7501
|
upgrade_funcs = [None] * 18
|
|
7490
7502
|
upgrade_funcs.extend(
|
|
7491
7503
|
[
|
|
@@ -7519,6 +7531,7 @@ upgrade_funcs.extend(
|
|
|
7519
7531
|
db_upgrade_45_to_46,
|
|
7520
7532
|
db_upgrade_46_to_47,
|
|
7521
7533
|
db_upgrade_47_to_48,
|
|
7534
|
+
db_upgrade_48_to_49,
|
|
7522
7535
|
]
|
|
7523
7536
|
)
|
|
7524
7537
|
|
chellow/templates/supplies.html
CHANGED
|
@@ -126,15 +126,10 @@
|
|
|
126
126
|
<tbody>
|
|
127
127
|
{% for g_era in g_eras %}
|
|
128
128
|
<tr>
|
|
129
|
-
<td>
|
|
130
|
-
<a href="/g_supplies/{{g_era.g_supply_id}}">supply</a>
|
|
131
|
-
</td>
|
|
129
|
+
<td><a href="/g/supplies/{{g_era.g_supply_id}}">supply</a></td>
|
|
132
130
|
<td>{{g_era.g_supply.mprn}}</td>
|
|
133
131
|
<td>{{g_era.msn}}</td>
|
|
134
|
-
<td>
|
|
135
|
-
<a
|
|
136
|
-
href="/g_contracts/{{g_era.g_contract.id}}"
|
|
137
|
-
>{{g_era.g_contract.name}}</a>
|
|
132
|
+
<td><a href="/g/contracts/{{g_era.g_contract.id}}">{{g_era.g_contract.name}}</a>
|
|
138
133
|
</td>
|
|
139
134
|
<td>{{g_era.account}}</td>
|
|
140
135
|
</tr>
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
Metadata-Version: 2.3
|
|
2
2
|
Name: chellow
|
|
3
|
-
Version:
|
|
3
|
+
Version: 1719570651.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)
|
|
@@ -5,7 +5,7 @@ chellow/commands.py,sha256=ESBe9ZWj1c3vdZgqMZ9gFvYAB3hRag2R1PzOwuw9yFo,1302
|
|
|
5
5
|
chellow/dloads.py,sha256=5SmP-0QPK6xCkd_wjIWh_8FAzN5OxNHCzyEQ1Xb-Y-M,5256
|
|
6
6
|
chellow/edi_lib.py,sha256=alu20x9ZX06iPfnNI9dEJzuP6RIf4We3Y_M_bl7RrcY,51789
|
|
7
7
|
chellow/general_import.py,sha256=l3EHq9zG9Vfl5Ee6XTVrC1nusXo4YGGB4VBmZ_JaJR8,65798
|
|
8
|
-
chellow/models.py,sha256=
|
|
8
|
+
chellow/models.py,sha256=SYLBU6olcoYlrqSGeF6YYDHP_1pf4xT_M1QpHDOYCIs,243088
|
|
9
9
|
chellow/national_grid.py,sha256=uxcv0qisHPyzw9AVIYPzsRqwt2XPAcZL-SBR12qcrS0,4364
|
|
10
10
|
chellow/proxy.py,sha256=cVXIktPlX3tQ1BYcwxq0nJXKE6r3DtFTtfFHPq55HaM,1351
|
|
11
11
|
chellow/rate_server.py,sha256=fg-Pf_9Hk3bXmC9riPQNGQxBvLvBa_WtNYdwDCjnCSg,5678
|
|
@@ -51,7 +51,7 @@ chellow/e/bill_parsers/gdf_csv.py,sha256=ZfK3Oc6oP28p_P9DIevLNB_zW2WLcEJ3Lvb1gL3
|
|
|
51
51
|
chellow/e/bill_parsers/haven_csv.py,sha256=0uENq8IgVNqdxfBQMBxLTSZWCOuDHXZC0xzk52SbfyE,13652
|
|
52
52
|
chellow/e/bill_parsers/haven_edi.py,sha256=YGPHRxPOhje9s32jqPHHELni2tooOYj3cMC_qaZVPq4,16107
|
|
53
53
|
chellow/e/bill_parsers/haven_edi_tprs.py,sha256=ZVX9CCqUybsot_Z0BEOJPvl9x5kSr7fEWyuJXvZDcz4,11841
|
|
54
|
-
chellow/e/bill_parsers/mm.py,sha256=
|
|
54
|
+
chellow/e/bill_parsers/mm.py,sha256=WpjKJZ0HW6Yko3aZiq43HQU-i_rrBWgQTqggJB3FIEU,8627
|
|
55
55
|
chellow/e/bill_parsers/nonsettlement_dc_stark_xlsx.py,sha256=yogXTuQHGRL7IiqvRWr2C9V24ez1j9Yx0128UygPE_k,4723
|
|
56
56
|
chellow/e/bill_parsers/settlement_dc_stark_xlsx.py,sha256=PlEqCZuJ9DfQXeeYQ64jtf3ML7sUt_tt61QOOTnkE5c,6380
|
|
57
57
|
chellow/e/bill_parsers/sse_edi.py,sha256=L85DOfNkqexeEIEr8pCBn_2sHJI-zEaw6cogpE3YyYM,15204
|
|
@@ -147,7 +147,7 @@ chellow/templates/site_hh_data.html,sha256=xmSJ5h_DvI1-bnV7FdBodDUvDCU0-q-UHYj2M
|
|
|
147
147
|
chellow/templates/site_months.html,sha256=oXtCN7YD4_QhDkXfRsrmhLAEhIMHaGdK1EmTmECfN6o,6562
|
|
148
148
|
chellow/templates/site_used_graph.html,sha256=NXuQYcPXnk2mHb2O4mxVPZ1R-X-MWPwneUV-J6z285w,3094
|
|
149
149
|
chellow/templates/sites.html,sha256=4ouJ5xYqYHjXCv3cDucTjgbOd_whReFPPHopLBdW6Go,621
|
|
150
|
-
chellow/templates/supplies.html,sha256=
|
|
150
|
+
chellow/templates/supplies.html,sha256=Ie_4K4-KwXqrCBwaUcjWxmV27rYjeESI_DCS9gLUipk,3488
|
|
151
151
|
chellow/templates/system.html,sha256=PP8MN8mieil3AwLS1WlQBcgbl0J61bksN-Cy4toYNqo,1871
|
|
152
152
|
chellow/templates/tester.html,sha256=4DYrtcnFY0y6o3K6_tSmFpPlCRngZj1zo8nJ1NI4pk8,623
|
|
153
153
|
chellow/templates/user.html,sha256=7nl_awpvotaaEO1UBA6DL4yjSUNTxgQjFx9dhnwcoFE,3255
|
|
@@ -364,6 +364,6 @@ chellow/templates/g/supply_note_edit.html,sha256=b8mB6_ucBwoljp03iy6AgVaZUhGw3-1
|
|
|
364
364
|
chellow/templates/g/supply_notes.html,sha256=6epNmZ3NKdXZz27fvmRUGeffg_oc1kmwuBeyRzQe3Rg,854
|
|
365
365
|
chellow/templates/g/unit.html,sha256=KouNVU0-i84afANkLQ_heJ0uDfJ9H5A05PuLqb8iCN8,438
|
|
366
366
|
chellow/templates/g/units.html,sha256=p5Nd-lAIboKPEOO6N451hx1bcKxMg4BDODnZ-43MmJc,441
|
|
367
|
-
chellow-
|
|
368
|
-
chellow-
|
|
369
|
-
chellow-
|
|
367
|
+
chellow-1719570651.0.0.dist-info/METADATA,sha256=yaaDeEPCR9gyn7FAzr9s9ysogjV22XbTtqdeLVAJWHI,12205
|
|
368
|
+
chellow-1719570651.0.0.dist-info/WHEEL,sha256=1yFddiXMmvYK7QYTqtRNtX66WJ0Mz8PYEiEUoOUUxRY,87
|
|
369
|
+
chellow-1719570651.0.0.dist-info/RECORD,,
|