Skip to content
Extraits de code Groupes Projets
Valider faa16a60 rédigé par Julien - Le Filament's avatar Julien - Le Filament
Parcourir les fichiers

Customer review

parent abca3348
Branches
Aucune étiquette associée trouvée
Aucune requête de fusion associée trouvée
...@@ -127,8 +127,8 @@ class RepartitionKeyEntryFile: ...@@ -127,8 +127,8 @@ class RepartitionKeyEntryFile:
if missing_in_file or missing_in_operation: if missing_in_file or missing_in_operation:
return { return {
"check": False, "check": False,
"message": "Les numéros de PRM ne correspondent " f"message": "Les numéros de PRM ne correspondent "
"pas à ceux de l’opération", f"pas à ceux de l’opération",
} }
return {"check": True, "message": ""} return {"check": True, "message": ""}
......
...@@ -10,9 +10,9 @@ ...@@ -10,9 +10,9 @@
<xpath expr="//notebook" position="inside"> <xpath expr="//notebook" position="inside">
<page string="Clés de répartition" name="keys"> <page string="Clés de répartition" name="keys">
<field name="keys_repartition_ids" mode="tree"> <field name="keys_repartition_ids" mode="tree">
<tree create="0"> <tree create="0" editable="bottom" delete="0">
<field name="date_send" /> <field name="date_send" readonly="1"/>
<field name="filename" /> <field name="filename" readonly="1"/>
</tree> </tree>
</field> </field>
<button <button
......
...@@ -95,7 +95,7 @@ class AccRepartitionKeysWizard(models.TransientModel): ...@@ -95,7 +95,7 @@ class AccRepartitionKeysWizard(models.TransientModel):
data_to_send = entry_file_handler.data_to_send(send_empty_key=False) data_to_send = entry_file_handler.data_to_send(send_empty_key=False)
for key in data_to_send: for key in data_to_send:
job_description = f"Send repartition key at {key.get('timestamp')}" job_description = f"{self.operation_id.name} - Send repartition key at {key.get('timestamp')}"
try: try:
self.operation_id.with_delay( self.operation_id.with_delay(
description=job_description description=job_description
......
0% Chargement en cours ou .
You are about to add 0 people to the discussion. Proceed with caution.
Veuillez vous inscrire ou vous pour commenter