[FIX] delivery_gls_nl: field permissions in rating

This commit is contained in:
Jared Kipe
2022-05-31 22:02:13 +00:00
parent afb16de652
commit 5b28189b04

View File

@@ -67,6 +67,7 @@ class ProviderGLSNL(models.Model):
'r' key will be rows from the original that can use indexes above 'r' key will be rows from the original that can use indexes above
:return: :return:
""" """
self = self.sudo()
datab = decodebytes(self.gls_nl_rate_id.datas) datab = decodebytes(self.gls_nl_rate_id.datas)
csv_data = datab.decode() csv_data = datab.decode()
csv_data = csv_data.replace('\r', '') csv_data = csv_data.replace('\r', '')